You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NewState and Accounting should contain 2 balances maps (for earners and spenders) and we need to be able to distinguish between them:
balances - earners map
balancesSpenders - spenders map
IMPORTANT: Although there is division in 2 maps of the balances, the state_root should contain both (i.e. the should be merged into a single tree)
balancesSpenders - in order to avoid duplication when merging the two maps, spenderLeafs should be hashed by hash("spender", spender, totalSpent) (notice the string slice included when hashing to create a different hash than the earners map)
Sentry
NewState
andAccounting
should contain 2 balances maps (for earners and spenders) and we need to be able to distinguish between them:IMPORTANT: Although there is division in 2 maps of the balances, the
state_root
should contain both (i.e. the should be merged into a single tree)balancesSpenders - in order to avoid duplication when merging the two maps,
spenderLeaf
s should be hashed byhash("spender", spender, totalSpent)
(notice the string slice included when hashing to create a different hash than the earners map)Accounting
:NewState
&ApproveState
V5 validator workflow - Follower & Leader ticks #428sentry::db::Accounting
for a givenChannel
Issue 431 get accounting for channel #439The text was updated successfully, but these errors were encountered: