Yaseen
86ef82dbe1
story: misc changes
2022-01-25 14:54:30 -05:00
Jōshin
30df250c7d
khan: closer to starting threads
2022-01-22 01:46:59 +00:00
Jōshin
a247113c57
khan: %done task
2022-01-22 01:46:12 +00:00
Jōshin
3cf803129d
khan: basic +call, types
2022-01-21 22:09:01 +00:00
Jōshin
575ff61fa6
khan: vane skeleton
2022-01-21 18:48:05 +00:00
Yaseen
c818d293ba
story: add generator +story-log
2022-01-21 11:50:42 -05:00
Yaseen
a927d31629
story: make |story-list
use new types
2022-01-20 16:01:01 -05:00
Yaseen
f491aa0384
story: update |story-set
to use new types
2022-01-20 15:58:05 -05:00
Yaseen
b06df068c0
story: make |story-init
use new types and make overwriting optional
2022-01-20 15:56:47 -05:00
yosoyubik
0c9fc76b93
eth-watcher: fix zoom-margin to account for reorgs
...
The previous value—used for testing—didn't consider
block reorgs, which meant that if we zoom to the latest
block that has no transactions, but that gets later replaced
by a 1-block reorg that does have a transaction, we'll miss it,
making our Azimuth state incomplete.
To fix it, we rewind the Azimuth state to the contents of the snapshot,
and then start retrieving logs from the latest one we have.
2022-01-19 17:41:05 +01:00
yosoyubik
3d943ec201
ames: ignore missing peer-state on-publ-sponsor
2022-01-18 20:34:32 +01:00
Yaseen
b37fd09fab
clay: implement %base-tako
scry under the %s
care
2022-01-13 15:56:20 -05:00
fang
7be6950fe5
Merge branch 'm/helm-perms' into next/arvo
2022-01-13 00:36:22 +01:00
fang
0bc1f49f0f
drum: only process pokes from the local ship
...
No mark files exist for any of the drum marks, so trying to poke remote drums
would fail anyway, but relying on the mark system in that way seems a bit
fragile, so we add an explicit permission check.
2022-01-13 00:24:31 +01:00
fang
bde8c0b04a
helm: only process pokes from the local ship
...
No mark files exist for any of the helm marks (except `%helm-hi`), so trying to
poke remote helms would fail anyway, but relying on the mark system in that way
seems a bit fragile, so we add an explicit permission check.
2022-01-12 13:28:44 +01:00
jose
f158ebe312
Merge pull request #5532 from urbit/azimuth/jael-fix
...
jael: give new private key to subscribers on %keys new-event
2022-01-12 12:47:21 +01:00
yosoyubik
432d9674f5
jael: don't put conflicting this-su in the subject
2022-01-12 11:01:06 +01:00
Jōshin
ce05e562ed
test: schnorr bounds checking
2022-01-09 05:49:47 +00:00
Jōshin
71c59737d8
zuse: boundary assertions for schnorr
...
Just assert on mis-sized values.
2022-01-09 05:31:36 +00:00
Jōshin
4591fa272e
zuse: schnorr test cases
...
These are from:
<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv >
2022-01-09 05:28:22 +00:00
yosoyubik
fccf99e0a6
jael: refactor new-event for %keys diff
...
this also adds a %rerun %poke to /app/azimuth
2022-01-08 19:28:11 +01:00
yosoyubik
8535563de6
jael: give private key to subscribers on keys diff
...
Triggering this event has been added to /app/azimuth's +on-load
2022-01-08 09:48:28 +01:00
yosoyubik
583d5f5063
azimuth: process snapshot on-load
2022-01-07 18:13:51 +01:00
yosoyubik
1950736518
azimuth: update snapshot at block 13.958.653
2022-01-07 17:31:49 +01:00
yosoyubik
8df443bc46
azimuth: remove eth-logs
2022-01-06 16:43:28 +01:00
Yaseen
dcb8aedc09
story: amend |story-set to use the tako from appropriate desk
2021-12-30 21:01:03 -05:00
Jōshin
40fbd16036
zuse: schnorr address
2021-12-30 05:46:44 +00:00
Jōshin
cb5983c6ae
zuse: schnorr jet hints
2021-12-30 04:25:31 +00:00
Jōshin
f93457ce9c
zuse: style
2021-12-30 04:14:25 +00:00
Jōshin
0fb3dd5ed0
zuse: cleanup
2021-12-30 00:47:11 +00:00
Jōshin
022ec2867d
zuse: banish byte twiddling from schnorr
...
Actually it's just hidden in +sha-256l:sha now.
2021-12-30 00:42:47 +00:00
Jōshin
57ef17fc91
zuse: signatures were backwards
2021-12-29 23:58:31 +00:00
Jōshin
09294d79bc
zuse: unused ffra
2021-12-29 23:50:16 +00:00
Jōshin
4c6187787f
zuse: remove redundant flips on sig
2021-12-29 23:50:16 +00:00
Jōshin
4f1269b205
zuse: cleanup in schnorr
2021-12-29 23:50:15 +00:00
Jōshin
b296f3912e
zuse: verify:schnorr works
2021-12-29 23:50:15 +00:00
Jōshin
ab4b735471
zuse: sign:schnorr basically done
...
Schnorr's choice of big-endian encoding commits us to some degree of
byte twiddling; try to make this fairly seamless.
2021-12-29 23:49:54 +00:00
Jōshin
f39421c97b
zuse: flip bytes in sig
...
gross!
2021-12-29 19:02:51 +00:00
Jōshin
a1c548ced4
zuse: schnorrsig-sign from spec
...
test vectors match, but are byte-flipped. has to do a lot of endianness
twiddling.
2021-12-29 18:57:45 +00:00
Jōshin
aa3bbe165e
zuse: schnorrsig stubs
2021-12-25 08:47:43 +00:00
Joe Bryan
1657c548cc
Merge branch 'master' into next/arvo
...
* master:
[nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix
webterm: v1.0.0
herm: permission checks
herm: avoid trailing empty path segments
pmnsh: update secp256k1 configure flags
secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
webterm: remove border, let term live in page
theme: cleaning up a few mismatches
webterm: handle old-style blits and belts
build: correct lmdb static builds
build: explicitly override h2o build platforms to support darwin
ci: upgrade cachix/install-nix-action from v13 -> v16
build: remove haskell related nix code and haskell.nix dependency
webterm: update imports
@urbit/api: move term types
webterm: fix broken imports
webterm: update package name for lerna
webterm: commit missing api files
webterm: backport
2021-12-17 23:39:04 -05:00
fang
970075bbcd
helm, docket: bind /who endpoint in helm instead
...
This seems like a better place.
2021-12-17 00:42:57 +01:00
Joe Bryan
e8cdafddfc
arvo: refactor |mass output, make vane /whey peek optional
2021-12-16 12:21:21 -05:00
Joe Bryan
32e1ed0a15
arvo: fix type typo (s/mein/mien/g)
2021-12-16 12:15:48 -05:00
yosoyubik
1bda134280
azimuth: update /app/azimuth snapshot
2021-12-15 08:31:26 +01:00
Yaseen
077c23b9e7
story: add generator |story-init
2021-12-14 14:31:38 -05:00
Yaseen
2626c32085
story: let |story-set take a case and make it optional
2021-12-14 14:31:09 -05:00
fang
dd6b090bfa
Merge pull request #5454 from urbit/m/backport-nu-webterm
...
webterm: backport
2021-12-14 19:23:23 +01:00
yosoyubik
5d4a410653
roller: don't set :frequency timer on commit
2021-12-14 16:39:22 +01:00
yosoyubik
d0309abfd8
roller: get suggested gas price only for mainnet
2021-12-14 15:44:43 +01:00
yosoyubik
1b278ce104
dice: dont print %failed logs in tx-effects
2021-12-14 15:27:44 +01:00
yosoyubik
fc540bf209
roller: handle sending malformed batches
2021-12-14 15:24:25 +01:00
yosoyubik
d1a04c7c54
Merge branch 'naive/snapshot' into roller/gas-price
2021-12-14 09:41:22 +01:00
yosoyubik
4724c32d3d
pill: load azimuth snapshot file with mime mark
2021-12-14 09:40:34 +01:00
yosoyubik
0c7ada2076
roller: fix response parsing from gasoracle
2021-12-13 19:16:47 +01:00
fang
fd375c1d90
herm: permission checks
...
Make sure herm can only be interacted with by the local ship.
2021-12-13 14:25:14 +01:00
fang
c7c601c041
herm: avoid trailing empty path segments
...
append /view to the existing subscription paths to "wrap" the possibly
empty path segment of the session name.
2021-12-13 14:24:20 +01:00
yosoyubik
92c498cd04
Merge branch 'naive/snapshot' into roller/gas-price
2021-12-10 18:42:55 +01:00
yosoyubik
8601b13e3f
azimuth: remove unused import in snapshot mark
2021-12-10 16:59:30 +01:00
yosoyubik
f6dca03786
pill: restore solid pill
2021-12-10 16:19:59 +01:00
yosoyubik
fd2ff95989
roller: fix refuel generator
2021-12-10 13:13:14 +01:00
yosoyubik
f6ff4f108b
roller: add utilities for handling low-gas batches
...
This adds support for handling cases where the send-batch thread failed,
mainly among them, a thread crash. One of the events that causes this
behavior is a ver low gas price for this L1 transaction.
Here we add support for manually bumping the price for such transaction,
and for increasing the default fallback gas-price, together with discarding
any malformed batch from the sending queue.
2021-12-10 11:36:45 +01:00
Jōshin
d94aa5704b
Merge branch 'master' into next/arvo
...
Conflicts:
pkg/arvo/lib/azimuth.hoon
This file was turned into a symlink to pkg/base-dev/lib/azimuth.hoon on
one side of the fork, and meanwhile edited on the other side of the fork
(to update ecliptic to the new address for the WSTR fix.)
The two sides of the fork both had different outdated addresses in
base-dev's azimuth.hoon file, and Git's UI helpfully refilled the
contents of arvo's azimuth.hoon so that it showed a merge conflict with
an empty diff.
Resolved by reading out HEAD:pkg/arvo/lib/azimuth.hoon into
pkg/base-dev/lib/azimuth.hoon and manually recreating the symlink.
2021-12-10 08:24:32 +00:00
yosoyubik
c467d5aa67
Merge branch 'roller/quota-left' into naive/snapshot
2021-12-09 07:45:18 +01:00
yosoyubik
ae05bbf571
roller: don't crash if nonce not in queue
2021-12-09 07:44:53 +01:00
yosoyubik
4384f19643
azimuth: use ship as prefix for loading snapshot log
2021-12-09 07:30:08 +01:00
yosoyubik
cce14699c8
azimuth: update log message
2021-12-08 12:52:23 +01:00
yosoyubik
37adba1ba0
various: update to new udiff:point type
2021-12-08 11:23:35 +01:00
yosoyubik
1e912d1ec4
Merge branch 'roller/quota-left' into naive/snapshot
2021-12-08 11:02:23 +01:00
yosoyubik
463ca6e8db
roller: set default quota to 25
2021-12-08 11:02:05 +01:00
Philip Monk
5c20b63a5a
Merge pull request #5412 from urbit/jb/safer-dojo
...
dojo: improve safety of mark conversion
2021-12-07 20:20:53 -08:00
Philip Monk
1ffdad8719
Merge pull request #5439 from ynx0/dev-fixes
...
meta: fix various issues in file tree for development
2021-12-07 19:07:34 -08:00
Philip Monk
7583d33cf1
Merge pull request #5436 from urbit/m/claz-lockup-txs
...
claz: better linear lockup ops support
2021-12-07 18:41:55 -08:00
yosoyubik
28dacad857
Merge branch 'roller/quota-left' into naive/snapshot
2021-12-07 17:48:30 +01:00
yosoyubik
33852ea90e
roller: support private keys with leading 0x
2021-12-07 17:47:56 +01:00
yosoyubik
0833ee9ea6
azimuth: only print number of points during init
2021-12-07 16:32:39 +01:00
yosoyubik
81eb6ae247
pill: add azimuth snapshot
2021-12-07 16:13:39 +01:00
fang
3df0efd7c6
Merge pull request #5473 from urbit/m/base-atom
...
pkg: include atom mark in base-dev
2021-12-06 15:11:12 +01:00
yosoyubik
d08ab43f3a
lull: skip rift/life printf when booting
2021-12-06 13:47:59 +01:00
fang
4bff1df7e8
pkg: include atom mark in base-dev
2021-12-05 14:50:50 +01:00
yosoyubik
ad16155c77
azimuth: load azimuth state from state snapshot
2021-12-03 16:11:15 +01:00
fang
2c71a5d79d
azimuth: update ecliptic address
...
To account for the recent upgrade.
2021-12-02 21:45:39 +01:00
Yaseen
1d111db103
story: rename generator |story-add
to |story-set
2021-12-01 11:45:11 -05:00
yosoyubik
d5c44598ba
roller: refactor and clean up
2021-11-28 16:37:06 +01:00
h5gq3
c742b58426
improve de-xml parser
...
de-xml parser fails when xml content node contains doublequotes (`doq` rule), this PR proposes to remove this restriction as high-level javascript APIs that operate on DOM don't entitize/encode doublequotes by default.
2021-11-28 12:34:10 +02:00
Yaseen
7add802ab9
story: add generator |story-remove
2021-11-26 20:53:52 -05:00
Yaseen
78468dc8ee
story: add generator |story-add
2021-11-26 20:53:20 -05:00
Yaseen
808e6ce763
story: add generator +story-list
2021-11-25 17:02:29 -05:00
yosoyubik
8c8aef96aa
dice: include nas when rolling over tx-effects
2021-11-25 21:22:15 +01:00
Yaseen
163ed030d4
clay: add new %s
scry which gives the tako
for a given beak
2021-11-25 12:48:24 -05:00
fang
14bfcc0288
claz: add upgrade poll support
2021-11-25 11:56:42 +01:00
yosoyubik
2e94a0d446
azimuth, dice: simplify index update
2021-11-24 15:31:59 +01:00
yosoyubik
528a046b51
roller: add to state ship allowance and next-slice
2021-11-23 10:55:50 +01:00
yosoyubik
144065c4fc
roller-rpc: add %get-remaining-quota
2021-11-22 14:02:31 +01:00
Yaseen
8819d61ff6
symlink arvo/lib/azimuth.hoon to base-dev/lib/azimuth.hoon
2021-11-19 12:33:12 -05:00
fang
0a5bcf7464
claz: interleave transfer proxy & deposit txs
...
Dumb hack, but very nice for multi-tx batches.
2021-11-18 17:48:23 +01:00
fang
130761039d
claz: include linear release txs
2021-11-18 17:46:53 +01:00
Philip Monk
ff63ffd1aa
azimuth: stop processing state in %watch
...
Also reprocess state in +on-load for ships which currently have
unprocessed state.
2021-11-17 10:22:27 -08:00
Philip Monk
45a8d12c35
Merge remote-tracking branch 'origin/philip/hotfix' into philip/hotfix
2021-11-17 10:00:49 -08:00
yosoyubik
9430c666d2
azimuth: update state on-watch
2021-11-17 12:40:06 +01:00
Philip Monk
a58db10b94
azimuth: don't crash if timer failed
2021-11-16 21:09:10 -08:00
Philip Monk
4b328a4fa7
azimuth: make +run-logs tail-recursive
...
Also kick the call to +mule out of the loop. By uncommenting the
diagnostics in u3m_fall, I measured that running through the 290k events
the azimuth snapshot required this much memory:
Head recursive, +mule in: 1.1GB
Head recursive, +mule out: 780MB
Tail recursive, +mule in: 700MB
Tail recursive, +mule out: 70MB
So this commit chooses the last one. The most delicate part is making
sure the effects are the right order; this uses the usual idiom.
Kicking +mule out of the loop is okay because lib/naive should never
fail, and if it does then azimuth shouldn't advance until an out-of-band
solution is decided.
Addresses #5431
2021-11-16 20:03:20 -08:00
Philip Monk
78fe24f7e1
tmp: remove jamfiles
2021-11-16 15:53:55 -08:00
Philip Monk
fae27385ff
eth-watcher: remove printfs
2021-11-16 14:47:17 -08:00
Philip Monk
a2a89d3532
Merge remote-tracking branch 'origin/next/arvo' into philip/roller
2021-11-16 13:58:57 -08:00
Philip Monk
4656372b09
Merge pull request #5426 from ynx0/claybel
...
clay: support labels
2021-11-15 08:49:31 -08:00
Yaseen
c080eb8336
fix comment styling
2021-11-15 09:07:24 -05:00
Yaseen
ae7cf81c29
clay: keep info in stacktrace when labeling fails
...
Co-authored-by: Philip Monk <phil@pcmonk.me>
2021-11-15 05:32:59 -05:00
yosoyubik
0d592f67d1
Merge remote-tracking branch 'origin/philip/roller' into naive/roller
2021-11-15 05:48:57 +01:00
yosoyubik
a8ccf5c32e
roller-rpc: fix typo
2021-11-15 05:44:52 +01:00
Yaseen
70a85ccdb0
remove unnecessary comments
2021-11-14 20:41:30 -05:00
Yaseen
17751e7890
clay: enforce referential transparency on labels
2021-11-14 16:49:17 -05:00
Philip Monk
95a8504763
Merge pull request #5423 from urbit/release/next-sys
...
various: release/next-sys -> next/arvo
2021-11-12 20:11:17 -08:00
Philip Monk
f20cb399f8
Merge remote-tracking branch 'origin/master' into next/arvo
2021-11-12 20:08:06 -08:00
fang
b9b1fbfb1a
Merge pull request #5310 from urbit/m/acme-base
...
acme: load custom cert from base desk, not home
2021-11-13 00:44:14 +01:00
Philip Monk
23980d1f64
kiln: throw away pending commits on good commits
...
When we receive a commit that we can apply from the source, we throw
away any skipped pending commits. This lets us receive updates at the
current kelvin even if we heard pending commits for later kelvins.
2021-11-12 14:38:17 -08:00
Philip Monk
901bcdf7b8
kiln: don't allow bump-many for non-current kelvin
2021-11-12 14:37:54 -08:00
Yaseen
25ce97cade
clay: add support for labeling commits
...
- add helper arm `label:de`
- update relevant code to take in arbitrary aeons
2021-11-12 15:35:06 -05:00
Philip Monk
84453c13d5
Merge remote-tracking branch 'origin/lf/fix-hardcoding' into philip/hotfix
2021-11-12 12:13:35 -08:00
Philip Monk
6665bc0986
kiln: fix |bump to not require except
2021-11-12 12:06:45 -08:00
Liam Fitzgerald
5dc60da825
kiln: fix %kiln-bump mark
2021-11-12 14:38:34 -05:00
fang
9d2936a6e7
Merge branch 'next/arvo' into m/cite-redux
2021-11-12 13:21:42 +01:00
fang
d379a38486
zuse: explicitly +cut in +cite:title, add tests
2021-11-12 13:11:40 +01:00
yosoyubik
bfcf7631d4
roller: remove network generator
2021-11-11 06:59:13 +01:00
yosoyubik
cb1567a4ac
dice: remove extra p
2021-11-11 06:36:27 +01:00
Philip Monk
5f51bb0d4d
Merge remote-tracking branch 'origin/next/arvo' into philip/roller
2021-11-10 20:53:30 -08:00
yosoyubik
155e02c3cb
Merge remote-tracking branch 'origin/next/arvo' into naive/roller
2021-11-11 05:50:44 +01:00
Philip Monk
74ad24acb9
kiln: don't bump on-load
2021-11-10 18:08:27 -08:00
yosoyubik
ed2d9bb482
Merge remote-tracking branch 'origin/philip/roller' into naive/roller
2021-11-10 18:44:25 +01:00
yosoyubik
da739d6e87
azimuth: add sponsorship scry
2021-11-10 18:39:43 +01:00
yosoyubik
4727b49b89
acme: point acme to /~debug
2021-11-10 18:38:13 +01:00
yosoyubik
e32b0a1956
roller: add sponsorship index
2021-11-10 17:46:22 +01:00
Joe Bryan
e5ebbe89ac
Merge pull request #5413 from urbit/jb/start
...
arvo: fix |start
2021-11-10 07:40:01 -08:00
yosoyubik
856d8ed8fc
azimuth: use last-snap only in %default network
2021-11-10 11:47:22 +01:00
Philip Monk
2131dd8cac
gen: fix broken generator
2021-11-10 01:36:39 -08:00
Philip Monk
d9d7f69f26
test: make lib/vere/dawn not crash
2021-11-10 01:25:08 -08:00
Philip Monk
6a152218b2
test: fix :test
2021-11-10 01:04:17 -08:00
Philip Monk
8c1a4cafa2
gen: fix broken generators
2021-11-10 00:58:24 -08:00
Philip Monk
3290b68d40
Merge remote-tracking branch 'origin/naive/roller' into philip/roller-ci
2021-11-10 00:41:25 -08:00
Philip Monk
04fbb045d2
ci: try
2021-11-10 00:40:56 -08:00
Philip Monk
a742ead132
Merge remote-tracking branch 'origin/jb/start' into philip/roller
2021-11-10 00:36:03 -08:00
Philip Monk
c2933c017f
kiln: don't bump suspended desks
2021-11-09 23:49:37 -08:00
yosoyubik
dd20bbd1d3
naive-transactions: remove unused arm
2021-11-10 08:29:37 +01:00
Joe Bryan
0a2cb6da7d
arvo: revive |start
2021-11-10 02:28:38 -05:00
Philip Monk
08ab77893e
azimuth: don't start on fake ships
2021-11-09 22:36:05 -08:00
yosoyubik
da8f185f2a
Merge remote-tracking branch 'origin/philip/roller' into naive/roller
2021-11-10 07:09:46 +01:00
yosoyubik
1ade4d29f0
roller: add default network
2021-11-10 07:09:22 +01:00
Philip Monk
9fc74f60d9
Merge remote-tracking branch 'origin/master' into philip/roller
2021-11-09 22:03:25 -08:00
Philip Monk
b6049228f7
Merge remote-tracking branch 'origin/naive/roller' into philip/roller
2021-11-09 22:03:20 -08:00
Philip Monk
1698542035
zuse: decrement kelvin to 419
2021-11-09 21:40:12 -08:00