Skip to main content
25 events
when toggle format what by license comment
Jun 27, 2021 at 3:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 25, 2021 at 13:05 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 24, 2020 at 3:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 17, 2020 at 20:08 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 17, 2020 at 6:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Sep 21, 2019 at 2:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 19, 2019 at 9:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 15, 2019 at 13:49 answer added Mikhail Vladimirov timeline score: 1
Apr 15, 2019 at 13:41 answer added Uahmed timeline score: 0
Apr 15, 2019 at 12:49 answer added Daniel Portugal timeline score: 0
Apr 14, 2019 at 15:32 comment added goodvibration I didn't say "general things", I was actually pointing at very specific things. Please read my comment again.
Apr 14, 2019 at 15:30 comment added dannymo No I didn't ask for general things, but for more concrete things regarding the implementation of a faster function than I might currently use.
Apr 14, 2019 at 15:28 comment added goodvibration You're asking for an optimization advice on your current implementation, so please share this implementation in full.
Apr 14, 2019 at 15:25 comment added dannymo I've never had problems with that. Anyways, would be good to get back to my intial question if you can help there.
Apr 14, 2019 at 14:54 comment added goodvibration True, but if this functions reads from this structure, then you will encounter naming collision. And in any case, it is not recommended readability-wise.
Apr 14, 2019 at 14:39 comment added dannymo It's a state variable of a struct in the contract and causes no problems at all as the function getUser is a view function and therefore does not save any changes.
Apr 14, 2019 at 14:12 comment added goodvibration You are using directReferrals both as the name of a state-variable of the contract, and as the name of the output argument of function getUser.
Apr 14, 2019 at 14:10 comment added dannymo Why is directReferrals not recommended? It's in my code required as it has to be editable (for example deleteable) which is not the case in arrays. The "[...]" stands for "code that is not needed in this quesion / to answer this quesion".
Apr 14, 2019 at 13:58 comment added goodvibration That [...] in the middle of the function declaration doesn't make any sense.
Apr 14, 2019 at 13:57 comment added goodvibration Using directReferrals both as a state variable and an input argument is probably not advisable.
Apr 14, 2019 at 13:49 comment added dannymo Sorry. A minimum understanding of referral systems is required to answer the question. I've now clarified my issue more. Thank you!
Apr 14, 2019 at 13:49 history edited dannymo CC BY-SA 4.0
added 620 characters in body
Apr 14, 2019 at 13:29 comment added goodvibration What is referr, lines "down", againt, downline??? I suggest that you minimize your question to the technical part only (i.e., your project description is "obfuscated", but there's no point in fixing it to begin with, just stick to the actual technical issue).
Apr 14, 2019 at 12:50 review First posts
Apr 15, 2019 at 4:26
Apr 14, 2019 at 12:48 history asked dannymo CC BY-SA 4.0