Commit Graph

12 Commits

Author SHA1 Message Date
Philip Monk
1b5bc0f476
naive: snapshot improvements 2021-04-20 21:57:04 -07:00
Philip Monk
05b281e247
Merge remote-tracking branch 'origin/yu/zoom-step' into philip/naive 2021-04-20 18:21:50 -07:00
yosoyubik
5271061809 eth-watcher: reduce zoom-step between public and launch blocks 2021-04-17 13:59:54 +02:00
Philip Monk
c915839e9d
naive: fetch l2 batches from chain 2021-04-15 01:02:58 -07:00
Philip Monk
0fbbd3aa28
naive: add app/naive to download from ethereum 2021-04-08 00:36:34 -07:00
fang
d98c59e73a
zuse: lift moves out of +able 2020-12-08 01:47:06 +01:00
Philip Monk
b9fe6af976
jael: don't signal breach if first hearing of ship
When you first boot, if you try talk to someone before your azimuth is
up-to-date (for example by import), then if they've ever breached
(twice) then you'll get breach notification, cancelling your message.

This changes is it so that if we haven't heard anything about this ship,
we don't signal a breach.

The implementation complexity is primarily because we need
eth-watcher/azimuth-tracker to produce an update of a list instead of a
list of updates.  This way, Jael can keep a "state as of the beginning
of this move" variable to check when deciding whether to signal a
breach.
2020-12-04 23:08:47 -08:00
Philip Monk
9375616335
eth-watcher: reduce required number of confirmations
To 30 blocks + 30 blocks + 0-5 minutes == about 15 minutes total.
Further reduction should be possible, but requires changing the
algorithm a bit.  We don't want to reduce the number of confirmations
below about 30, though, since we don't handle reorganizations well.

See #2414.
2020-03-10 16:12:56 -07:00
Philip Monk
18c3e7253b
jael: add "eager" mode to avoid hitting nodes as much 2019-12-18 10:58:00 -03:30
Fang
69df84b252
eth-watcher: zoom per 100k blocks
This avoids extremely large responses for long zooms, which could cause
trouble during parsing.
2019-11-28 23:11:49 +01:00
Philip Monk
1c398594c7
gall: fix tests 2019-11-18 21:08:10 -08:00
Philip Monk
7837d51aba
spider: rename thread -> strand, imp -> thread 2019-11-16 04:07:09 -08:00