Revision 85244a42ea306dafef90a73405202825076e7173 authored by Callum Waters on 28 January 2020, 16:16:16 UTC, committed by Anton Kaliaev on 28 January 2020, 16:16:16 UTC
* lite2: add Start method There are few reasons to do that: 1) separation of state and dynamics (some users will want to delay starting the light client; does not matter we should not allow them to create a light client object) 2) less important, but some users might not need autoUpdateRoutine and removeNoLongerTrustedHeadersRoutine routines * lite2: wait till routines are finished in Stop because they are started in Start, it feels more natural to wait for them to finish in Stop. * lite2: add TrustedValidatorSet func * refactor cleanup code * changed restore header and val function to handle negative height * reverted restoreTrustedHeaderAndNextVals() functionality Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
1 parent c5ecd80
File | Mode | Size |
---|---|---|
atomic_broadcast | ||
basic | ||
fast_sync | ||
kill_all | ||
pex | ||
README.md | -rw-r--r-- | 1.9 KB |
address.sh | -rwxr-xr-x | 542 bytes |
circleci.sh | -rw-r--r-- | 1.3 KB |
client.sh | -rw-r--r-- | 496 bytes |
local_testnet_start.sh | -rw-r--r-- | 638 bytes |
local_testnet_stop.sh | -rw-r--r-- | 178 bytes |
peer.sh | -rw-r--r-- | 1.5 KB |
persistent_peers.sh | -rw-r--r-- | 264 bytes |
test.sh | -rw-r--r-- | 1.4 KB |
Computing file changes ...