Timeline for How to bulk update accounts?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 28, 2022 at 7:26 | comment | added | itsfarseen | Oh that way. Unfortunately, my scaling parameter is different for each user. The scaling parameter for someone who staked two weeks ago would be different for someone who staked four weeks ago. | |
Jul 27, 2022 at 21:51 | comment | added | HelmetFace |
The size of the global account doesn't need to change, you just store your scalar there. Presumably, there is math in your program that looks like: let some_value = do_some_math(user_account.foo); Instead of relying on applying a scalar to each user_account.foo , store one global u64 and do_some_math(user_account.foo * global_account.scalar) .
|
|
Jul 20, 2022 at 9:39 | comment | added | itsfarseen | But the size of this global account will be fixed right? How do we workaround that? | |
Jul 19, 2022 at 15:54 | history | edited | HelmetFace | CC BY-SA 4.0 |
deleted 62 characters in body
|
Jul 19, 2022 at 15:53 | history | edited | HelmetFace | CC BY-SA 4.0 |
deleted 12 characters in body
|
S Jul 19, 2022 at 15:53 | review | First answers | |||
Jul 19, 2022 at 19:32 | |||||
S Jul 19, 2022 at 15:53 | history | answered | HelmetFace | CC BY-SA 4.0 |