shrub/pkg/base-dev/lib
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
..
bip various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
bip39 various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
language-server various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
ph ph: include missing library function 2022-04-06 16:44:08 +02:00
agentio.hoon base-dev: update lib/agentio 2021-09-06 14:30:47 +10:00
azimuth.hoon Merge branch 'master' into next/arvo 2021-12-10 08:24:32 +00:00
azimuthio.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
bip32.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
bip39.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
bitcoin-utils.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
cram.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
dbug.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
default-agent.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
der.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
ethereum.hoon tests: fix various 2022-05-14 22:05:39 -07:00
ethio.hoon Merge branch 'master' into naive/roller 2021-10-26 20:46:32 +02:00
jose.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
keygen.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
pill.hoon arvo: remove $crag, promote $page 2022-03-02 17:59:56 -06:00
pkcs.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
primitive-rsa.hoon various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
ring.hoon Update /lib/ring/hoon for %jael scries. 2022-03-11 11:10:47 -08:00
server.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
shoe.hoon Merge branch 'next/arvo' into m/shoe-scry 2021-12-08 13:13:54 +01:00
skeleton.hoon base-dev: update missing libs 2021-08-11 14:15:40 +10:00
sole.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00
story.hoon story: enforce 80 cols, fix formatting, update comments 2022-03-11 12:08:40 -05:00
strand.hoon spider, docket: fix versioning and validate-mark 2021-10-05 22:46:07 -04:00
strandio.hoon azimuth: fetch snapshot on boot 2022-06-30 23:22:50 -07:00
test.hoon test: align output 2022-05-14 21:27:01 -07:00
verb.hoon various: fixes, pill might actually work now 2021-08-10 16:13:27 +03:00