shrub/pkg/arvo/ted
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
..
aqua various: make all files build correctly 2022-05-14 22:49:10 -07:00
azimuth azimuth: fetch snapshot on boot 2022-06-30 23:22:50 -07:00
claz zuse: lift moves out of +able 2020-12-08 01:47:06 +01:00
dns various: start threads with unit of tuple args 2020-12-01 23:38:02 +01:00
eth naive: l2 csv style changes 2022-04-06 11:44:28 -04:00
ph aqua: support using real moons 2022-04-06 14:51:02 +02:00
roller roller: make output less loud 2022-04-15 13:19:10 +02:00
build-cast.hoon clay: add %e, %f requests 2021-03-04 18:28:16 -08:00
build-file.hoon test: report and continue on build failures 2021-02-19 20:36:05 -08:00
build-mark.hoon zuse: removes en/de-beam (now in arvo) 2020-12-06 03:33:43 -08:00
build-nave.hoon clay: add %e, %f requests 2021-03-04 18:28:16 -08:00
build-tube.hoon clay: add %e, %f requests 2021-03-04 18:28:16 -08:00
code.hoon ted: add -code thread 2021-02-09 10:28:49 +10:00
diff.hoon renaming ddiff to diff 2021-03-19 19:43:39 -04:00
eth-watcher.hoon eth-watcher: implement optional to-block parameter 2022-04-07 14:24:28 +03:00
example-fetch.hoon spider: rename thread -> strand, imp -> thread 2019-11-16 04:07:09 -08:00
first.hoon spider: rename thread -> strand, imp -> thread 2019-11-16 04:07:09 -08:00
hi.hoon various: start threads with unit of tuple args 2020-12-01 23:38:02 +01:00
jam-all-desks.hoon -jam-all-desks 2021-09-26 22:03:13 -04:00
naive-csv.hoon naive: l2 csv remove scag on logs for testing 2022-04-13 14:10:19 -04:00
read.hoon various: start threads with unit of tuple args 2020-12-01 23:38:02 +01:00
test.hoon vere: added %bout sanity checks, added bout call in test.hoon 2021-10-27 18:49:55 +00:00
time.hoon various: start threads with unit of tuple args 2020-12-01 23:38:02 +01:00
tree.hoon various: start threads with unit of tuple args 2020-12-01 23:38:02 +01:00
work.hoon %home -> %base 2022-03-06 11:55:55 -05:00