urbit/pkg/arvo/sur
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
..
json various: update symbolic merges 2021-09-17 14:54:01 +10:00
aquarium.hoon ./symbolic-merge.sh base-dev arvo 2021-09-27 21:02:18 -04:00
asn1.hoon various: update symbolic merges 2021-09-17 14:54:01 +10:00
bitcoin.hoon various: update symbolic merges 2021-09-17 14:54:01 +10:00
claz.hoon claz: add upgrade poll support 2021-11-25 11:56:42 +01:00
dice.hoon azimuth: fetch snapshot on boot 2022-06-30 23:22:50 -07:00
dns-bind.hoon Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8' 2019-06-28 12:48:05 +08:00
dns.hoon Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8' 2019-06-28 12:48:05 +08:00
eth-watcher.hoon eth-watcher: implement optional to-block parameter 2022-04-07 14:24:28 +03:00
hood.hoon %garden-dev desk; also cleaned up %base-dev 2021-09-02 00:37:56 +03:00
keygen.hoon various: update symbolic merges 2021-09-17 14:54:01 +10:00
kyev.hoon various: move away from {type} syntax 2020-11-26 17:43:26 +01:00
language-server.hoon various: update symbolic merges 2021-09-17 14:54:01 +10:00
lens.hoon herb: add cancel command 2021-05-29 12:53:23 -07:00
ph.hoon Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8' 2019-06-28 12:48:05 +08:00
plum.hoon Merge branch 'na-release/candidate' into jb/no-wrap-tank 2020-11-23 23:15:12 -08:00
ring.hoon various: update symbolic merges 2021-09-17 14:54:01 +10:00
sole.hoon %base: symlinks; some -test tests fail 2021-08-30 20:39:37 +03:00
spider.hoon %base: symlinks; some -test tests fail 2021-08-30 20:39:37 +03:00
story.hoon review: symlink base-dev files into arvo 2022-03-11 10:56:23 -05:00
verb.hoon %base: symlinks; some -test tests fail 2021-08-30 20:39:37 +03:00
xray.hoon hoon: moves $xray into userspace 2020-11-20 15:23:56 -08:00