frostfs-node/pkg/innerring
Alex Vanin 3aae60d517 [#454] innerring: Increase duration of notary deposit
Extra blocks for notary deposit must not be less than extra blocks
at notary tx rounding.

Consider you make notary deposit every 1000 block for next
1100 blocks. At block 555 you made notary deposit up to 1655.

At block 1554 you want to send notary tx. Notary client uses rounding
to calculate `until` value. By default notary client rounds with up
to 150 block ahead, thus for tx at 1554 `until` will be 1700.

1700 is bigger than deposit limit at 1655 and tx will fail. However
if extra blocks for notary deposit will be 200, then this case
won't be possible.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-02 11:26:37 +03:00
..
config [#363] Define global config and use it to fetch basic income rate 2021-02-02 21:07:00 +03:00
invoke [#447] innerring: Use alias type for slice of public keys 2021-03-26 12:38:42 +03:00
processors [#447] innerring: Use governance processor in inner ring 2021-03-26 12:38:42 +03:00
timers [#326] ir/timers: Remove println from unit test 2021-01-29 11:04:30 +03:00
alphabet.go [#392] ir/alphabet: Rename constant corresponding to I/izhei letter 2021-02-24 19:16:52 +03:00
bindings.go [#324] ir: Measure GAS emission intervals in sidechain blocks 2021-01-29 11:04:30 +03:00
blocktimer.go [#404] innerring: Make notary deposit periodically 2021-03-04 12:39:15 +03:00
indexer.go [#446] innerring: Use less mutex locks in indexer 2021-03-26 11:53:10 +03:00
innerring.go [#454] innerring: Increase duration of notary deposit 2021-04-02 11:26:37 +03:00
locode.go [#316] locode/boltdb: Replace all references to the City with Location 2021-02-10 14:05:03 +03:00
rpc.go [#428] client: Hide client cache behind interface in dependent packages 2021-03-24 10:11:52 +03:00
settlement.go [#404] innerring: Use notary invocations in inner ring 2021-03-04 12:39:15 +03:00
state.go [#447] innerring: Use governance processor in inner ring 2021-03-26 12:38:42 +03:00