shrub/pkg/arvo/app
Philip Monk 89b9977ac8 azimuth: fetch snapshot on boot
Previously, the initial Azimuth snapshot was stored in Clay and shipped
in the pill.  This causes several problems:

- It bloats the pill
- Updating the snapshot added large blobs to Clay's state.  Even now
  that tombstoning is possible, you don't want to have to do that
  regularly.
- As a result, the snapshot was never updated.
- Even if you did tombstone those files, it could only be updated as
  often as the pill
- And those updates would be sent over the network to people who didn't
  need them

This moves the snapshot out of the pill and refactors Azimuth's
initialization process.  On boot, when app/azimuth starts up, it first
downloads a snapshot from bootstrap.urbit.org and uses that to
initialize its state.  As before, updates after this initial snapshot
come from an Ethereum node directly and are verified locally.

Relevant commands are:

- `-azimuth-snap-state %filename` creates a snapshot file
- `-azimuth-load "url"` downloads and inits from a snapshot, with url
  defaulting to https://bootstrap.urbit.org/mainnet.azimuth-snapshot
- `:azimuth &azimuth-poke-data %load snap-state` takes a snap-state any
  way you have it

Note the snapshot is downloaded from the same place as the pill, so this
doesn't introduce additional trust beyond what was already required.
When remote scry is released, we should consider allowing downloading
the snapshot in that way.
2022-06-30 23:22:50 -07:00
..
debug dbug: fix dashboard for the softdist age 2021-09-26 14:21:54 +04:00
acme.hoon Merge remote-tracking branch 'origin/next/arvo' into philip/roller 2021-11-16 13:58:57 -08:00
aqua.hoon Merge remote-tracking branch 'origin/jm/homebase' into philip/tomb 2022-05-14 20:46:09 -07:00
azimuth-rpc.hoon roller: add azimuth refresh-rate to getConfig RPC 2021-11-04 09:54:25 +01:00
azimuth-tracker.hoon eth-watcher: implement optional to-block parameter 2022-04-07 14:24:28 +03:00
azimuth.hoon azimuth: fetch snapshot on boot 2022-06-30 23:22:50 -07:00
claz.hoon claz: interleave transfer proxy & deposit txs 2021-11-18 17:48:23 +01:00
dbug.hoon Merge remote-tracking branch 'origin/jm/homebase' into philip/tomb 2022-05-14 20:46:09 -07:00
dns-collector.hoon gall: (list path) in %fact and %kick 2019-12-23 13:37:32 +01:00
dojo.hoon hoon: hook up $+ for shorthand type rendering 2022-03-10 01:45:18 +01:00
eth-sender.hoon various: %home -> %base 2021-09-29 22:13:08 +04:00
eth-watcher.hoon azimuth: fetch snapshot on boot 2022-06-30 23:22:50 -07:00
gaze.hoon Merge remote-tracking branch 'origin/jm/homebase' into philip/tomb 2022-05-14 20:46:09 -07:00
herm.hoon herm: permission checks 2021-12-13 14:25:14 +01:00
hood.hoon helm, docket: bind /who endpoint in helm instead 2021-12-17 00:42:57 +01:00
language-server.hoon fix typo and beak 2022-03-08 10:13:04 -05:00
lens.hoon Revert "Revert "Merge naive/aggregator into poprox/naive-tests"" 2021-08-19 16:09:28 -07:00
ping.hoon zuse: lift moves out of +able 2020-12-08 01:47:06 +01:00
roller-rpc.hoon roller: add to state ship allowance and next-slice 2021-11-23 10:55:50 +01:00
roller.hoon roller: fix parsing nonces with dot separator 2022-04-15 15:27:08 +02:00
shoe.hoon shoe: add %table and %row usage to example app 2020-09-01 20:13:48 +02:00
spider.hoon Merge branch 'next/arvo' into philip/tomb 2022-05-04 00:45:57 -07:00
test.hoon test: fix :test 2021-11-10 01:04:17 -08:00
time.hoon arvo: restore :time app 2020-10-05 01:17:17 -07:00