Liam Fitzgerald
a36dc3aaff
ames: per-lane congestion control
2022-02-15 08:47:38 -06:00
Ted Blackman
b2051fcc2b
fine: WIP second list for performance
2022-02-14 10:34:26 -06:00
Liam Fitzgerald
e97d99275b
ames: congestion control for remote scry
2022-02-11 19:30:40 -06:00
Liam Fitzgerald
67105a854b
lull: move ordered-map from zuse
2022-02-10 11:52:37 -06:00
Ted Blackman
a86664076d
lull: fine congestion control data structures
2022-02-10 11:39:31 -06:00
fang
a5b16b1673
fine: consolidate duplicate logic
...
Further merge cleanup.
2022-02-04 13:36:32 +01:00
fang
47feec3ecc
Merge branch 'lf/ames-notifs' into m/scry-vane
2022-02-03 22:00:24 +01:00
fang
a8574df401
ames: retrieve pk from old crypto core on load
...
Since we cannot scry the key out of jael during load, and the
alternative is defering this logic through the larval core in some way,
we simply include the type for the old acru interface, letting us reuse
the old core to initialize the new one.
2022-02-03 13:49:38 +01:00
fang
39959942d2
ames: use +safe:as:crub instead of +veri:ed
...
+safe now exists to wrap that, so we should use it instead of deriving
the relevant key and calling +veri:ed directly.
2022-02-02 22:16:16 +01:00
fang
5776226a6c
lull: add acru arms for simply signing & authing
...
Instead of exporting keys so that caller can do this themselves, we
expose arms for signing and authenticating that produce and operate on
just the signature, without mangling it into the message.
2022-02-02 21:52:48 +01:00
fang
83e315cccd
lull: add arms to ex:acru for separate keys
...
We may want _just_ the encryption key, or _just_ the signing key.
2022-02-02 20:10:30 +01:00
fang
1302c5fa0b
fine: fix broken +full:keys callsite
...
Straggler from last commit about data type consistency.
2022-02-02 19:55:20 +01:00
Liam Fitzgerald
9dad96332b
ames: remove logging
2022-02-01 20:50:02 -06:00
Liam Fitzgerald
6ee2e1626f
ames: unify path format
2022-02-01 20:48:04 -06:00
Liam Fitzgerald
1eaad36d4d
ames: working notifications
2022-02-01 20:30:11 -06:00
Liam Fitzgerald
7205625abf
wip
2022-02-01 13:25:28 -06:00
fang
c72c187edd
fine: use $@(~ (cask)) consistently
...
It's what ends up in the packet, probably better than passing units and
converting them all over.
2022-02-01 12:02:47 +01:00
fang
4bea69bc7d
fine: verify life & signatures of packets & msgs
...
In addition to doing signing & verification consistently with each
other, we now handle the "no data" case sanely.
Still uses the wrong keys though.
2022-02-01 11:55:04 +01:00
fang
b42dc477c5
fine: move into per-event core
...
This is an obviously more ergonomic factoring.
2022-01-28 23:54:01 +01:00
fang
fb72b7df7d
fine: set receiver life in request packet
2022-01-28 23:11:27 +01:00
fang
709dd75d74
fine: track pending requests for unknown peers
2022-01-28 23:09:50 +01:00
fang
769d10fdd4
fine: use keys from ames state instead of jael
2022-01-28 14:30:59 +01:00
fang
4c045a9c4f
ames, fine: minimal compilable unification
2022-01-27 14:32:49 +01:00
fang
d4a0f1d901
fine: correctly calculate request body size
...
This had missed getting updated for byte-logic.
2022-01-26 20:03:03 +01:00
fang
af8fd67472
fine: scry using the roof, not .^
2022-01-25 21:27:52 +01:00
fang
793c31d7f9
fine: properly sign individual packets
2022-01-24 23:51:22 +01:00
fang
ff53ae5e66
fine: supply lane where needed
...
Still somewhat wip, this might not be the lane behavior we want for
real.
2022-01-24 23:26:02 +01:00
fang
03b73b85bf
fine: set and handle the response bit correctly
2022-01-24 23:06:06 +01:00
fang
176aa3a45e
lull: stop hardcoding ames bit in +encode-packet
2022-01-24 21:38:55 +01:00
fang
2279764eff
fine: include header & prelude with %hoot
2022-01-24 21:01:46 +01:00
fang
b606dea970
fine: work on bytes instead of bits
2022-01-24 21:01:09 +01:00
fang
92aa604be0
fine: factor out the fetching of scry results
...
And use it to implement task-ways request handling, which we'll probably
remove in favor of peek-ways handling.
2022-01-21 14:59:54 +01:00
fang
2d0a6f160b
fine: reuse packet en/decoding logic from ames
...
Also adds some more of the core logic, but still wip.
2022-01-20 20:36:38 +01:00
fang
dd4eb87f42
ames: move packet en/decoding into lull
...
By moving this behavior for packets with ames-style headers into lull,
other vanes that want to do protocols in similar style (like the upcoming
%fine vane) can reuse the logic here.
Note that we parameterize the main en- and decoding functions, so that
we may pass in the "is ames" flag and protocol versions as appropriate
to the context.
2022-01-20 01:59:43 +01:00
fang
3cb3421657
Merge branch 'next/arvo' into m/scry-vane
2022-01-19 19:28:09 +01:00
fang
207dc91c8c
fine: wip, add packet deserializing logic
...
Also stub our some flows, add todos, etc. Bit of a mess, follow-up soon.
2022-01-19 12:35:54 +01:00
fang
fa9c4016aa
fine: work around compiler bug
2022-01-14 13:51:02 +01:00
fang
355f05753f
fine: remote scry
...
Implements a WIP version of %fine, the remote scry vane. Plenty of work
remains to be done here, marked by TODOs and REVIEWs.
2022-01-14 00:22:56 +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
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
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
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
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
fang
d379a38486
zuse: explicitly +cut in +cite:title, add tests
2021-11-12 13:11:40 +01:00