Commit Graph

30209 Commits

Author SHA1 Message Date
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
Hunter Miller
370c6dcbc8 Merge branch 'next/groups' 2022-06-29 10:18:17 -05:00
Hunter Miller
cdac86970f
Merge pull request #5870 from urbit/hm/groups-fixes-omnibus
groups: pre-ota fixes omnibus
2022-06-29 10:17:23 -05:00
Hunter Miller
24c8519c69 rich-text: removing broken plugin, reverting react-md to 5.0.3 for compat 2022-06-27 11:40:31 -05:00
Hunter Miller
6e9c17a9c2 graphcontent: blockquotes now correctly break paragraphs off 2022-06-27 10:29:05 -05:00
Hunter Miller
90b8776fad md-editor: fixing background in darkmode 2022-06-27 09:57:18 -05:00
janeway-bot
e09c48cb40 landscape: [skip actions] update glob (0v5.kgrq2.gp725.bo5bk.dmr7d.h41qk) 2022-06-23 11:15:50 -07:00
Hunter Miller
3caa04c8b9 ops: fixing build 2022-06-23 12:24:39 -05:00
Hunter Miller
5f1371f4a2 meta: version bump for new changes from next/landscape 2022-06-21 14:52:20 -05:00
Hunter Miller
ca28bffd62 Merge branch 'master' into next/npm 2022-06-21 14:51:19 -05:00
Hunter Miller
4378b87ac0 Merge branch 'next/landscape' 2022-06-21 14:50:40 -05:00
Hunter Miller
09e1dd7089 meta: package bump: 2022-06-21 14:43:40 -05:00
Hunter Miller
8304073cc8
Merge pull request #5864 from urbit/hm/http-api-sub-reuse
http-api: prevent reuse of old subscription ids
2022-06-21 14:41:35 -05:00
Hunter Miller
e5b66e3484 eventsource: prevent resetting event id counter 2022-06-21 14:04:30 -05:00
Hunter Miller
23b9bbe948 Merge branch 'master' into next/groups 2022-06-17 15:32:55 -05:00
Hunter Miller
421eef1d19
Merge pull request #5860 from urbit/hm/fix-groups-build
interface: fixing react-codemirror2 dep
2022-06-17 15:12:01 -05:00
Hunter Miller
6bff31f369 interface: fixing react-codemirror2 dep 2022-06-17 14:59:28 -05:00
Patrick O'Sullivan
679d708ad0
Merge pull request #5850 from urbit/po/groups-dont-show-url-with-images
groups: don't show url with images
2022-06-15 11:58:36 -05:00
Patrick O'Sullivan
d11ce99b48 groups: add webp to list of image types to check links for in chat 2022-06-15 11:21:24 -05:00
Patrick O'Sullivan
b77baf4270 groups: fix issue where URL would be shown along with image in chat 2022-06-15 10:24:31 -05:00
Hunter Miller
fa255d494d
Merge pull request #5848 from urbit/po/groups-fix-channel-writers-perms-issue
groups: fix issue with chanel perms caused by use of Set()
2022-06-14 11:25:22 -05:00
Patrick O'Sullivan
1cdef1e06d groups: fix issue with chanel perms caused by use of Set() 2022-06-14 10:57:18 -05:00
Hunter Miller
23655772e0 Merge branch 'next/groups' 2022-06-13 19:29:09 -05:00
janeway-bot
f777e009ad groups: update glob (0v4.2se6m.fvv67.nn5e8.vfrv9.mmi88)[skip actions] 2022-06-13 16:59:14 -07:00
Hunter Miller
48c25cb9bc groups: updating package lock 2022-06-13 17:20:39 -05:00
Hunter Miller
18001c631d
Merge pull request #5846 from urbit/po/fix-groups-build-issues
groups: fix prod install/build issues
2022-06-13 15:29:01 -05:00
Hunter Miller
8250a30ad5 groups: updating nvmrc 2022-06-13 15:28:35 -05:00
Patrick O'Sullivan
b6b6655149 Fix webpack, build dependency issues 2022-06-13 12:53:45 -05:00
Hunter Miller
5b6a2d5625 compat: fixing react-codemirror2 deps 2022-06-03 17:57:53 -05:00
Hunter Miller
d31b2bd853 compat: updating to latest sigil-js for react 2022-06-03 16:56:33 -05:00
Hunter Miller
39488a3167 compat: updating indigo, and removing unused deps 2022-06-03 16:34:43 -05:00
Hunter Miller
db709df178 meta: fixing react version issue 2022-06-03 11:26:41 -05:00
Hunter Miller
8c0d0a6f5b Merge branch 'master' into next/groups 2022-06-03 10:49:33 -05:00
Hunter Miller
c7ee2f7230 Merge branch 'master' into next/landscape 2022-06-03 10:48:39 -05:00
Joe Bryan
cdd2b79026 build: secrets optional 2022-06-03 02:13:40 -04:00
Joe Bryan
182e8ab214 vere: bumps version to v1.9 2022-06-01 03:24:50 -04:00
Joe Bryan
c26726a4cf build: support "live" pace, fix tarballs name 2022-06-01 03:23:53 -04:00
Joe Bryan
0d98cf1754 build: adds binary release workflow, renames tarballs workflow 2022-06-01 02:53:32 -04:00
Joe Bryan
e4812b116d build: removes obsolete tag config from default workflow 2022-05-31 17:34:25 -04:00
Joe Bryan
39b4488101 vere: removes extra ctype.h include 2022-05-31 17:32:03 -04:00
Joe Bryan
e3ea3c85b0 vere: bumps version to 1.9-rc6 2022-05-31 16:54:23 -04:00
Joe Bryan
c0011ea102 Merge branch 'jb/next' into jb/next-rc
* jb/next:
  vere: disable printfs on failed requests to $version/next
  vere: create $pier/.bin/pace automatically
  build: factor out reusable workflow, call on push and tag creation
  vere: trim trailing whitespace from pace file
  build: use gh action artifact to propagate version string
  build: fix version path for windows pre-release
  build: fix bash conditional in pre-release upload check
  build: run on appropriate tags
  build: cut pre-releases on appropriate tags
2022-05-31 16:53:03 -04:00
Joe Bryan
8b8612604c Merge branch 'next/vere' into jb/next-rc
* next/vere:
  vere: fixes -X scry/export (broken in previous refactoring)
2022-05-31 16:46:31 -04:00
Joe Bryan
9d2498741a
Merge pull request #5813 from urbit/jb/fix-scry-x
vere: fixes -X scry/export (broken in previous refactoring)
2022-05-31 16:42:54 -04:00
Joe Bryan
534999844a vere: disable printfs on failed requests to $version/next 2022-05-31 14:42:57 -04:00
Joe Bryan
082f07474d vere: create $pier/.bin/pace automatically 2022-05-31 12:04:16 -04:00
Joe Bryan
0a3815ec5e build: factor out reusable workflow, call on push and tag creation 2022-05-31 12:04:11 -04:00
Joe Bryan
45e3609da7 vere: trim trailing whitespace from pace file 2022-05-31 12:03:19 -04:00
Joe Bryan
83fdfa99c3 build: use gh action artifact to propagate version string 2022-05-31 12:03:11 -04:00
Joe Bryan
807e00ad1e build: fix version path for windows pre-release 2022-05-31 12:02:23 -04:00