arc.js_legacy
arc.js_legacy copied to clipboard
Genesis Protocol - Calculate boosted threshold off chain.
Genesis Protocol threshold function is a gas consuming function. The threshold can be calculated off chain by tracking the number of booster proposal and the parameters .
See https://github.com/daostack/arc/issues/500#issuecomment-408435870
Arc.js should support offchain threshold calculation . If it can so why not
On Fri, 27 Jul 2018 at 17:34 Doug Kent [email protected] wrote:
See daostack/arc#500 (comment) https://github.com/daostack/arc/issues/500#issuecomment-408435870
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/daostack/arc.js/issues/295#issuecomment-408437138, or mute the thread https://github.com/notifications/unsubscribe-auth/AFt3nrbZlKLx6ATyTTRr0zQu64zJ9J2Oks5uKyTpgaJpZM4VjIeq .
Let’s remember that we would like to enable cheap and fast usage of the stack .following this concept the user:client should access the Blockchain only if it must to and we should enable that . The gp threshold func is relative gas consuming in related to simple read/calc func as it suppose to calc the expired boosted proposals .
On Fri, 27 Jul 2018 at 17:58 Oren Sokolowsky [email protected] wrote:
Arc.js should support offchain threshold calculation . If it can so why not
On Fri, 27 Jul 2018 at 17:34 Doug Kent [email protected] wrote:
See daostack/arc#500 (comment) https://github.com/daostack/arc/issues/500#issuecomment-408435870
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/daostack/arc.js/issues/295#issuecomment-408437138, or mute the thread https://github.com/notifications/unsubscribe-auth/AFt3nrbZlKLx6ATyTTRr0zQu64zJ9J2Oks5uKyTpgaJpZM4VjIeq .
@orenyodfat Yes, I see no reason not to implement this in Arc.js. I only refer to the ticket in Arc to make note that the discussion exists there.
Turns out this is a difficult calculation. Keeping the logic in two places can cause problems down the road.