2022-08-25 16:35:47 +03:00
|
|
|
:: test gall subscription nonce incrementation and ames flow killing
|
2022-08-12 00:04:01 +03:00
|
|
|
::
|
2022-08-19 14:36:23 +03:00
|
|
|
/+ *test, v=test-ames-gall
|
2022-08-12 00:04:01 +03:00
|
|
|
|%
|
2022-08-19 16:27:12 +03:00
|
|
|
++ test-watch
|
2022-08-19 14:36:23 +03:00
|
|
|
%- run-chain
|
|
|
|
|. :- %|
|
2022-08-19 15:08:57 +03:00
|
|
|
=+ nec-bud:v
|
2022-08-24 17:07:02 +03:00
|
|
|
:: uncomment to turn on verbose debug output
|
|
|
|
::=^ * ames.nec
|
|
|
|
:: (ames-call:v ames.nec ~[/none] [%spew ~[%msg %snd %rcv %odd]] *roof)
|
|
|
|
::=^ * ames.bud
|
|
|
|
:: (ames-call:v ames.bud ~[/none] [%spew ~[%msg %snd %rcv %odd]] *roof)
|
2022-08-19 17:29:19 +03:00
|
|
|
:: poke %sub to tell it to subscribe
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'poke %sub to tell it to subscribe'
|
2022-08-19 15:08:57 +03:00
|
|
|
=/ =task:gall [%deal [~nec ~nec] %sub %poke watch+!>(~bud)]
|
|
|
|
=^ t1 gall.nec
|
|
|
|
%: gall-check-call:v gall.nec
|
|
|
|
[~1111.1.1 0xdead.beef *roof]
|
|
|
|
[~[/foo] task]
|
2022-08-19 17:11:21 +03:00
|
|
|
:~ :- ~[/foo] [%give %unto %poke-ack ~]
|
|
|
|
:- ~[/init]
|
2022-08-22 22:05:04 +03:00
|
|
|
:* %pass /use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud
|
2022-08-19 15:08:57 +03:00
|
|
|
[%g %deal [~nec ~bud] %pub %watch /foo]
|
|
|
|
== ==
|
|
|
|
==
|
|
|
|
:- t1 |. :- %|
|
2022-08-19 17:29:19 +03:00
|
|
|
:: handle gall passing the %watch to itself, which passes to ames
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'handle gall passing the %watch to itself, which passes to ames'
|
2022-08-19 15:08:57 +03:00
|
|
|
=^ t2 gall.nec
|
|
|
|
%: gall-check-call:v gall.nec
|
|
|
|
[~1111.1.1 0xdead.beef *roof]
|
2022-08-22 22:05:04 +03:00
|
|
|
:- ~[/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud /init]
|
2022-08-19 17:11:21 +03:00
|
|
|
[%deal [~nec ~bud] %pub %watch /foo]
|
2022-08-19 15:08:57 +03:00
|
|
|
:~ :- ~[/init] [%pass /sys/lag %a %heed ~bud]
|
|
|
|
:- ~[/init] [%pass /sys/era %j %public-keys (sy ~bud ~)]
|
2022-08-22 22:05:04 +03:00
|
|
|
:- ~[/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud /init]
|
2022-08-19 15:08:57 +03:00
|
|
|
[%pass /sys/way/~bud/pub %a %plea ~bud %g /ge/pub [%0 %s /foo]]
|
2022-08-19 14:36:23 +03:00
|
|
|
==
|
2022-08-19 15:08:57 +03:00
|
|
|
==
|
|
|
|
:- t2 |. :- %|
|
2022-08-24 17:07:02 +03:00
|
|
|
:: subscriber ames handles %plea from gall, gives a packet to vere
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber ames handles %plea from gall, gives a packet to vere'
|
2022-08-19 15:33:39 +03:00
|
|
|
=^ t3 ames.nec
|
|
|
|
%: ames-check-call:v ames.nec
|
|
|
|
[~1111.1.1 0xdead.beef *roof]
|
2022-08-22 22:05:04 +03:00
|
|
|
:- :~ /sys/way/~bud/pub
|
|
|
|
/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud
|
|
|
|
/init
|
|
|
|
==
|
2022-08-19 17:11:21 +03:00
|
|
|
[%plea ~bud %g /ge/pub [%0 %s /foo]]
|
2022-08-19 15:33:39 +03:00
|
|
|
:~ :- ~[//unix]
|
2022-08-22 22:05:04 +03:00
|
|
|
:* %give %send [%& ~bud]
|
2022-08-19 15:56:41 +03:00
|
|
|
0xae59.5b29.277b.22c1.20b7.a8db.9086.46df.31bd.f9bc.
|
2022-08-24 17:07:02 +03:00
|
|
|
2633.7300.17d4.f5fc.8be5.8bfe.5c9d.36d9.2ea1.7cb3.
|
|
|
|
8a00.0200.0132.8fd4.f000
|
2022-08-19 15:33:39 +03:00
|
|
|
==
|
|
|
|
:- ~[/ames] [%pass /pump/~bud/0 %b %wait ~1111.1.1..00.00.01]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:- t3 |. :- %|
|
2022-08-24 17:07:02 +03:00
|
|
|
:: publisher ames hears %watch, passes to gall
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hears %watch, passes to gall'
|
2022-08-19 16:27:12 +03:00
|
|
|
=^ t4 ames.bud
|
2022-08-19 15:33:39 +03:00
|
|
|
%: ames-check-call:v ames.bud
|
|
|
|
[~1111.1.2 0xbeef.dead *roof]
|
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~nec]
|
2022-08-19 15:56:41 +03:00
|
|
|
0xae59.5b29.277b.22c1.20b7.a8db.9086.46df.31bd.f9bc.
|
2022-08-24 17:07:02 +03:00
|
|
|
2633.7300.17d4.f5fc.8be5.8bfe.5c9d.36d9.2ea1.7cb3.
|
2023-04-07 20:13:45 +03:00
|
|
|
8a00.0200.0132.8fd4.f004
|
2022-08-19 15:33:39 +03:00
|
|
|
==
|
|
|
|
:~ :- ~[//unix] [%pass /qos %d %flog %text "; ~nec is your neighbor"]
|
|
|
|
:- ~[//unix]
|
2022-08-19 15:56:41 +03:00
|
|
|
[%pass /bone/~nec/0/1 %g %plea ~nec %g /ge/pub [%0 %s /foo]]
|
2022-08-19 15:33:39 +03:00
|
|
|
==
|
|
|
|
==
|
2022-08-19 15:56:41 +03:00
|
|
|
:- t4 |. :- %|
|
2022-08-24 17:07:02 +03:00
|
|
|
:: publisher gall hears %watch from ames, passes to itself
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher gall hears %watch from ames, passes to itself'
|
2022-08-19 15:56:41 +03:00
|
|
|
=^ t5 gall.bud
|
|
|
|
%: gall-check-call:v gall.bud
|
|
|
|
[~1111.1.2 0xbeef.dead *roof]
|
|
|
|
:- ~[/bone/~nec/0/1 //unix]
|
|
|
|
[%plea ~nec %g /ge/pub [%0 %s /foo]]
|
|
|
|
:~ :- ~[/init] [%pass /sys/lag %a %heed ~nec]
|
|
|
|
:- ~[/init] [%pass /sys/era %j %public-keys (sy ~nec ~)]
|
|
|
|
:- ~[/bone/~nec/0/1 //unix]
|
|
|
|
[%pass /sys/req/~nec/pub %g %deal [~nec ~bud] %pub %watch /foo]
|
|
|
|
==
|
|
|
|
==
|
2022-08-19 16:06:30 +03:00
|
|
|
:- t5 |. :- %|
|
2022-08-24 17:07:02 +03:00
|
|
|
:: publisher gall runs %pub with %watch, gives ack to itself
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher gall runs %pub with %watch, gives ack to itself'
|
2022-08-19 16:06:30 +03:00
|
|
|
=^ t6 gall.bud
|
|
|
|
%: gall-check-call:v gall.bud
|
|
|
|
[~1111.1.2 0xbeef.dead *roof]
|
|
|
|
:- ~[/sys/req/~nec/pub /bone/~nec/0/1 //unix]
|
|
|
|
[%deal [~nec ~bud] %pub %watch /foo]
|
|
|
|
:~ :- ~[/sys/req/~nec/pub /bone/~nec/0/1 //unix]
|
|
|
|
[%give %unto %watch-ack ~]
|
|
|
|
==
|
|
|
|
==
|
2022-08-19 16:13:30 +03:00
|
|
|
:- t6 |. :- %|
|
2022-08-19 17:29:19 +03:00
|
|
|
:: gall gives ack to ames
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'gall gives ack to ames'
|
2022-08-19 16:13:30 +03:00
|
|
|
=^ t7 gall.bud
|
|
|
|
%: gall-check-take:v gall.bud
|
|
|
|
[~1111.1.2 0xbeef.dead *roof]
|
|
|
|
:+ /sys/req/~nec/pub ~[/bone/~nec/0/1 //unix]
|
|
|
|
[%gall %unto %watch-ack ~]
|
|
|
|
:~ :- ~[/bone/~nec/0/1 //unix] [%give %done ~]
|
|
|
|
==
|
|
|
|
==
|
2022-08-19 16:27:12 +03:00
|
|
|
:- t7 |. :- %|
|
2022-08-19 23:15:03 +03:00
|
|
|
:: publisher ames hears ack from gall, sends over the network
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hears ack from gall, sends over the network'
|
2022-08-19 16:27:12 +03:00
|
|
|
=^ t8 ames.bud
|
|
|
|
%: ames-check-take:v ames.bud
|
|
|
|
[~1111.1.2 0xbeef.dead *roof]
|
|
|
|
:+ /bone/~nec/0/1 ~[//unix]
|
|
|
|
[%gall %done ~]
|
|
|
|
:~ :- ~[//unix]
|
2022-08-22 22:05:04 +03:00
|
|
|
:* %give %send [%& ~nec]
|
2022-08-19 16:27:12 +03:00
|
|
|
0x2.0219.8100.0485.5530.3c88.9068.3cc6.484e.
|
2023-04-07 20:13:45 +03:00
|
|
|
2d9d.076e.6d00.0100.0223.9ae9.5004
|
2022-08-19 16:27:12 +03:00
|
|
|
== ==
|
|
|
|
==
|
2022-08-19 16:43:23 +03:00
|
|
|
:- t8 |. :- %|
|
2022-08-19 23:15:03 +03:00
|
|
|
:: subscriber ames hears watch-ack packet, gives to gall
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber ames hears watch-ack packet, gives to gall'
|
2022-08-19 16:30:44 +03:00
|
|
|
=^ t9 ames.nec
|
|
|
|
%: ames-check-call:v ames.nec
|
|
|
|
[~1111.1.3 0xdead.beef *roof]
|
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~bud]
|
|
|
|
0x2.0219.8100.0485.5530.3c88.9068.3cc6.484e.
|
2023-04-07 20:13:45 +03:00
|
|
|
2d9d.076e.6d00.0100.0223.9ae9.5004
|
2022-08-19 16:30:44 +03:00
|
|
|
==
|
|
|
|
:~ :- ~[//unix] [%pass /qos %d %flog %text "; ~bud is your neighbor"]
|
2022-08-22 22:05:04 +03:00
|
|
|
:- :~ /sys/way/~bud/pub
|
|
|
|
/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud
|
|
|
|
/init
|
|
|
|
==
|
2022-08-19 17:11:21 +03:00
|
|
|
[%give %done ~]
|
2022-08-19 16:30:44 +03:00
|
|
|
:- ~[/ames] [%pass /pump/~bud/0 %b %rest ~1111.1.1..00.00.01]
|
|
|
|
==
|
|
|
|
==
|
2022-08-19 17:11:21 +03:00
|
|
|
:- t9 |. :- %|
|
2022-08-22 22:05:04 +03:00
|
|
|
:: gall gives %done to itself
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'gall gives %done to itself'
|
2022-08-19 17:11:21 +03:00
|
|
|
=^ t10 gall.nec
|
|
|
|
%: gall-check-take:v gall.nec
|
|
|
|
[~1111.1.3 0xdead.beef *roof]
|
|
|
|
:+ /sys/way/~bud/pub
|
2022-08-22 22:05:04 +03:00
|
|
|
~[/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud /init]
|
2022-08-19 17:11:21 +03:00
|
|
|
[%ames %done ~]
|
2022-08-22 22:05:04 +03:00
|
|
|
:~ :- ~[/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud /init]
|
2022-08-19 17:11:21 +03:00
|
|
|
[%give %unto %watch-ack ~]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:- t10 |. :- %|
|
2022-08-22 22:05:04 +03:00
|
|
|
:: gall gives watch-ack to itself
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'gall gives watch-ack to itself'
|
2022-08-19 17:11:21 +03:00
|
|
|
=^ t11 gall.nec
|
|
|
|
%: gall-check-take:v gall.nec
|
|
|
|
[~1111.1.3 0xdead.beef *roof]
|
2022-08-22 22:05:04 +03:00
|
|
|
:+ /use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud
|
2022-08-19 22:37:18 +03:00
|
|
|
~[/init]
|
|
|
|
[%gall %unto %watch-ack ~]
|
2022-08-19 17:11:21 +03:00
|
|
|
~
|
|
|
|
==
|
2022-08-19 17:29:19 +03:00
|
|
|
:- t11 |. :- %|
|
2022-08-22 22:05:04 +03:00
|
|
|
:: start the clog and kick process; give clog to publisher gall
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'start the clog and kick process; give clog to publisher gall'
|
2022-08-19 17:29:19 +03:00
|
|
|
=^ t12 gall.bud
|
|
|
|
%: gall-check-take:v gall.bud
|
|
|
|
[~1111.1.4 0xbeef.dead *roof]
|
|
|
|
:+ /sys/lag ~[/init]
|
|
|
|
[%ames %clog ~nec]
|
|
|
|
:~ :- ~[/sys/req/~nec/pub /bone/~nec/0/1 //unix]
|
|
|
|
[%give %unto %kick ~]
|
|
|
|
==
|
|
|
|
==
|
2022-08-19 18:53:38 +03:00
|
|
|
:- t12 |. :- %|
|
2022-08-19 22:37:18 +03:00
|
|
|
:: gall gives %kick %boon to ames
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'gall gives %kick %boon to ames'
|
2022-08-19 18:53:38 +03:00
|
|
|
=^ t13 gall.bud
|
|
|
|
%: gall-check-take:v gall.bud
|
|
|
|
[~1111.1.4 0xbeef.dead *roof]
|
2022-08-19 22:37:18 +03:00
|
|
|
:+ /sys/req/~nec/pub ~[/bone/~nec/0/1 //unix]
|
2022-08-19 18:53:38 +03:00
|
|
|
[%gall %unto %kick ~]
|
2022-08-19 22:37:18 +03:00
|
|
|
:~ :- ~[/bone/~nec/0/1 //unix] [%give %boon %x ~]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:- t13 |. :- %|
|
|
|
|
:: ames gives kick over the network
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'ames gives kick over the network'
|
2022-08-19 22:37:18 +03:00
|
|
|
=^ t14 ames.bud
|
|
|
|
%: ames-check-take:v ames.bud
|
|
|
|
[~1111.1.4 0xbeef.dead *roof]
|
|
|
|
:+ /bone/~nec/0/1 ~[//unix]
|
|
|
|
[%gall %boon %x ~]
|
|
|
|
:~ :- ~[//unix]
|
2022-08-22 22:05:04 +03:00
|
|
|
:* %give %send [%& ~nec]
|
2022-08-19 22:37:18 +03:00
|
|
|
0xa1fc.cd35.c730.9a00.07e0.90a2.f87c.3657.935e.
|
2022-08-24 17:07:02 +03:00
|
|
|
4ca0.801d.3ddc.d400.0100.0223.bc18.1000
|
2022-08-19 22:37:18 +03:00
|
|
|
==
|
|
|
|
:- ~[/ames] [%pass /pump/~nec/1 %b %wait ~1111.1.4..00.00.01]
|
2022-08-19 18:53:38 +03:00
|
|
|
==
|
|
|
|
==
|
2022-08-19 23:15:03 +03:00
|
|
|
:- t14 |. :- %|
|
2022-08-22 22:05:04 +03:00
|
|
|
:: subscriber ames receives kick, gives to gall and gives ack to unix
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber ames receives kick, gives to gall and gives ack to unix'
|
2022-08-19 23:15:03 +03:00
|
|
|
=^ t15 ames.nec
|
|
|
|
%: ames-check-call:v ames.nec
|
2022-08-22 22:05:04 +03:00
|
|
|
[~1111.1.5 0xdead.beef *roof]
|
2022-08-19 23:15:03 +03:00
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~bud]
|
|
|
|
0xa1fc.cd35.c730.9a00.07e0.90a2.f87c.3657.935e.
|
2022-08-24 17:07:02 +03:00
|
|
|
4ca0.801d.3ddc.d400.0100.0223.bc18.1000
|
2022-08-19 23:15:03 +03:00
|
|
|
==
|
2022-08-22 22:05:04 +03:00
|
|
|
:~ :- :~ /sys/way/~bud/pub
|
|
|
|
/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud
|
|
|
|
/init
|
|
|
|
==
|
2022-08-19 23:15:03 +03:00
|
|
|
[%give %boon %x ~]
|
|
|
|
:- ~[//unix]
|
2022-08-22 22:05:04 +03:00
|
|
|
:* %give %send [%& ~bud]
|
2022-08-19 23:15:03 +03:00
|
|
|
0xfe.e208.da00.0491.bf7f.9594.2ddc.0948.
|
2023-04-07 20:13:45 +03:00
|
|
|
9de0.3906.b678.6e00.0200.0132.e55d.5004
|
2022-08-19 23:15:03 +03:00
|
|
|
== ==
|
|
|
|
==
|
2022-08-22 22:05:04 +03:00
|
|
|
:- t15 |. :- %|
|
|
|
|
:: subscriber gall receives kick %boon from ames, gives to self
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber gall receives kick %boon from ames, gives to self'
|
2022-08-22 22:05:04 +03:00
|
|
|
=^ t16 gall.nec
|
|
|
|
%: gall-check-take:v gall.nec
|
|
|
|
[~1111.1.5 0xdead.beef *roof]
|
|
|
|
:+ /sys/way/~bud/pub
|
|
|
|
~[/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud /init]
|
|
|
|
[%ames %boon %x ~]
|
|
|
|
:~ :- ~[/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud /init]
|
|
|
|
[%give %unto %kick ~]
|
|
|
|
:- ~[/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud /init]
|
|
|
|
[%pass /sys/way/~bud/pub %a %cork ~bud]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: subscriber gall receives %kick from itself
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber gall receives %kick from itself'
|
2022-08-22 22:05:04 +03:00
|
|
|
=^ t17 gall.nec
|
|
|
|
%: gall-check-take:v gall.nec
|
|
|
|
[~1111.1.5 0xdead.beef *roof]
|
|
|
|
:+ /use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud
|
|
|
|
~[/init]
|
|
|
|
[%gall %unto %kick ~]
|
|
|
|
:~ :- ~[/init]
|
|
|
|
:* %pass /use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud
|
|
|
|
[%g %deal [~nec ~bud] %pub %watch /foo]
|
|
|
|
== ==
|
|
|
|
==
|
|
|
|
:- t17 |. :- %|
|
|
|
|
:: gall receives %deal %watch from itself, passes to ames
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'gall receives %deal %watch from itself, passes to ames'
|
2022-08-22 22:05:04 +03:00
|
|
|
=^ t18 gall.nec
|
|
|
|
%: gall-check-call:v gall.nec
|
|
|
|
[~1111.1.5 0xdead.beef *roof]
|
|
|
|
:- ~[/use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud /init]
|
|
|
|
[%deal [~nec ~bud] %pub %watch /foo]
|
|
|
|
:~ :- ~[/use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud /init]
|
|
|
|
[%pass /sys/way/~bud/pub %a %plea ~bud %g /ge/pub [%0 %s /foo]]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:- t18 |. :- %|
|
|
|
|
:: subscriber ames sends new %watch
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber ames sends new %watch'
|
2022-08-22 22:05:04 +03:00
|
|
|
=^ t19 ames.nec
|
|
|
|
%: ames-check-call:v ames.nec
|
|
|
|
[~1111.1.5 0xdead.beef *roof]
|
|
|
|
:- :~ /sys/way/~bud/pub
|
2022-08-24 17:07:02 +03:00
|
|
|
/use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud
|
2022-08-22 22:05:04 +03:00
|
|
|
/init
|
|
|
|
==
|
|
|
|
[%plea ~bud %g /ge/pub [%0 %s /foo]]
|
|
|
|
:~ :- ~[//unix]
|
|
|
|
:* %give %send [%& ~bud]
|
|
|
|
0xfe.9174.6d7c.e042.4ea7.cf3c.08da.3acf.68ec.3bd1.1f2c.abfe.f500.
|
|
|
|
1897.c42e.a3ec.2159.86d6.e2f1.b344.9d06.b600.0200.0132.ebe7.8800
|
|
|
|
==
|
|
|
|
:- ~[/ames] [%pass /pump/~bud/4 %b %wait ~1111.1.5..00.00.01]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:- t19 |. :- %|
|
|
|
|
:: subscriber ames sends %cork
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber ames sends %cork'
|
2022-08-22 22:05:04 +03:00
|
|
|
=^ t20 ames.nec
|
|
|
|
%: ames-check-call:v ames.nec
|
|
|
|
[~1111.1.5 0xdead.beef *roof]
|
|
|
|
:- :~ /sys/way/~bud/pub
|
|
|
|
/use/sub/0w1.d6Isf/out/~bud/pub/1/sub-foo/~bud
|
|
|
|
/init
|
|
|
|
==
|
|
|
|
[%cork ~bud]
|
|
|
|
:~ :- ~[//unix]
|
|
|
|
:* %give %send [%& ~bud]
|
|
|
|
0xb.130c.ab37.ca24.49cd.aecb.23ba.70f1.6f1c.4d00.124e.c9a5.
|
|
|
|
3413.3843.d81c.47c4.7040.6e62.3700.0200.0132.e1ab.9000
|
|
|
|
==
|
|
|
|
:- ~[/ames] [%pass /pump/~bud/0 %b %wait ~1111.1.5..00.02.00]
|
|
|
|
==
|
|
|
|
==
|
2022-08-24 17:07:02 +03:00
|
|
|
:: publisher ames hears %kick ack
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hears %kick ack'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t20 |. :- %|
|
|
|
|
=^ t21 ames.bud
|
|
|
|
%: ames-check-call:v ames.bud
|
|
|
|
[~1111.1.6 0xbeef.dead *roof]
|
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~nec]
|
|
|
|
0xfe.e208.da00.0491.bf7f.9594.2ddc.0948.
|
2023-04-07 20:13:45 +03:00
|
|
|
9de0.3906.b678.6e00.0200.0132.e55d.5004
|
2022-08-24 17:07:02 +03:00
|
|
|
==
|
|
|
|
:~ :- ~[/ames] [%pass /pump/~nec/1 %b %rest ~1111.1.4..00.00.01]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: publisher ames hears new %watch
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hears new %watch'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t21 |. :- %|
|
|
|
|
=^ t22 ames.bud
|
|
|
|
%: ames-check-call:v ames.bud
|
|
|
|
[~1111.1.7 0xbeef.dead *roof]
|
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~nec]
|
|
|
|
0xfe.9174.6d7c.e042.4ea7.cf3c.08da.3acf.68ec.3bd1.1f2c.abfe.f500.
|
2023-04-07 20:13:45 +03:00
|
|
|
1897.c42e.a3ec.2159.86d6.e2f1.b344.9d06.b600.0200.0132.ebe7.8804
|
2022-08-24 17:07:02 +03:00
|
|
|
==
|
|
|
|
:~ :- ~[//unix]
|
|
|
|
[%pass /bone/~nec/0/5 %g %plea ~nec %g /ge/pub [%0 %s /foo]]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: publisher gall hears new %watch, passes to self
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher gall hears new %watch, passes to self'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t22 |. :- %|
|
|
|
|
=^ t23 gall.bud
|
|
|
|
%: gall-check-call:v gall.bud
|
|
|
|
[~1111.1.7 0xbeef.dead *roof]
|
|
|
|
:- ~[/bone/~nec/0/5 //unix]
|
|
|
|
[%plea ~nec %g /ge/pub [%0 %s /foo]]
|
|
|
|
:~ :- ~[/bone/~nec/0/5 //unix]
|
|
|
|
[%pass /sys/req/~nec/pub %g %deal [~nec ~bud] %pub %watch /foo]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: publisher gall runs :pub's +on-watch, gives ack to self
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher gall runs :pub\'s +on-watch, gives ack to self'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t23 |. :- %|
|
|
|
|
=^ t24 gall.bud
|
|
|
|
%: gall-check-call:v gall.bud
|
|
|
|
[~1111.1.7 0xbeef.dead *roof]
|
|
|
|
:- ~[/sys/req/~nec/pub /bone/~nec/0/5 //unix]
|
|
|
|
[%deal [~nec ~bud] %pub %watch /foo]
|
|
|
|
:~ :- ~[/sys/req/~nec/pub /bone/~nec/0/5 //unix]
|
|
|
|
[%give %unto %watch-ack ~]
|
|
|
|
==
|
|
|
|
==
|
2022-11-17 15:49:22 +03:00
|
|
|
:: publisher gall hears %watch-ack, gives to ames
|
|
|
|
~& > 'publisher gall hears %watch-ack, gives to ames'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t24 |. :- %|
|
|
|
|
=^ t25 gall.bud
|
|
|
|
%: gall-check-take:v gall.bud
|
|
|
|
[~1111.1.7 0xbeef.dead *roof]
|
|
|
|
:+ /sys/req/~nec/pub ~[/bone/~nec/0/5 //unix]
|
|
|
|
[%gall %unto %watch-ack ~]
|
|
|
|
:~ :- ~[/bone/~nec/0/5 //unix] [%give %done ~]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: publisher ames hears done from gall, sends over the network
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hears done from gall, sends over the network'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t25 |. :- %|
|
|
|
|
=^ t26 ames.bud
|
|
|
|
%: ames-check-take:v ames.bud
|
|
|
|
[~1111.1.7 0xbeef.dead *roof]
|
|
|
|
:+ /bone/~nec/0/5 ~[//unix]
|
|
|
|
[%gall %done ~]
|
|
|
|
:~ :- ~[//unix]
|
|
|
|
:* %give %send [%& ~nec]
|
|
|
|
0x5f5.c27c.c400.0587.8b0d.0a5d.eb8e.39fa.
|
2023-04-07 20:13:45 +03:00
|
|
|
49f4.4848.bfa6.f600.0100.0223.c98c.8804
|
2022-08-24 17:07:02 +03:00
|
|
|
== ==
|
|
|
|
==
|
|
|
|
:: publisher ames hears %cork, passes to itself
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hears %cork, passes to itself'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t26 |. :- %|
|
|
|
|
=^ t27 ames.bud
|
|
|
|
%: ames-check-call:v ames.bud
|
|
|
|
[~1111.1.8 0xbeef.dead *roof]
|
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~nec]
|
|
|
|
0xb.130c.ab37.ca24.49cd.aecb.23ba.70f1.6f1c.4d00.124e.c9a5.
|
2023-04-07 20:13:45 +03:00
|
|
|
3413.3843.d81c.47c4.7040.6e62.3700.0200.0132.e1ab.9004
|
2022-08-24 17:07:02 +03:00
|
|
|
==
|
|
|
|
:~ :- ~[//unix] [%pass /bone/~nec/0/1 %a %plea ~nec [%a /close ~]]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:- t27 |. :- %|
|
|
|
|
:: publisher ames hear cork plea from self, give %done to self
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hear cork plea from self, give %done to self'
|
2022-08-24 17:07:02 +03:00
|
|
|
=^ t28 ames.bud
|
|
|
|
%: ames-check-call:v ames.bud
|
|
|
|
[~1111.1.8 0xbeef.dead *roof]
|
|
|
|
:- ~[/bone/~nec/0/1 //unix]
|
|
|
|
[%plea ~nec [%a /close ~]]
|
|
|
|
:~ :- ~[/bone/~nec/0/1 //unix] [%give %done ~]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: publisher ames hears cork done from self, sends ack packet
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'publisher ames hears cork done from self, sends ack packet'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t28 |. :- %|
|
|
|
|
=^ t29 ames.bud
|
|
|
|
%: ames-check-take:v ames.bud
|
|
|
|
[~1111.1.8 0xbeef.dead *roof]
|
|
|
|
:+ /bone/~nec/0/1
|
|
|
|
~[//unix]
|
|
|
|
[%ames %done ~]
|
|
|
|
:~ :- ~[//unix]
|
|
|
|
:* %give %send [%& ~nec]
|
|
|
|
0x5f.f966.8e00.0449.bdec.9006.c7e5.1237.
|
2023-04-07 20:13:45 +03:00
|
|
|
1d87.53fe.d7bb.ad00.0100.0223.c6a8.5804
|
2022-08-24 17:07:02 +03:00
|
|
|
== ==
|
|
|
|
==
|
|
|
|
:: subscriber ames hears %watch-ack, gives to gall
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber ames hears %watch-ack, gives to gall'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t29 |. :- %|
|
|
|
|
=^ t30 ames.nec
|
|
|
|
%: ames-check-call:v ames.nec
|
|
|
|
[~1111.1.9 0xdead.beef *roof]
|
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~bud]
|
|
|
|
0x5f5.c27c.c400.0587.8b0d.0a5d.eb8e.39fa.
|
2023-04-07 20:13:45 +03:00
|
|
|
49f4.4848.bfa6.f600.0100.0223.c98c.8804
|
2022-08-24 17:07:02 +03:00
|
|
|
==
|
|
|
|
:~ :- :~ /sys/way/~bud/pub
|
|
|
|
/use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud
|
|
|
|
/init
|
|
|
|
==
|
|
|
|
[%give %done ~]
|
|
|
|
:- ~[/ames] [%pass /pump/~bud/4 %b %rest ~1111.1.5..00.00.01]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: subscriber gall hears new %watch-ack from ames, gives to self
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber gall hears new %watch-ack from ames, gives to self'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t30 |. :- %|
|
|
|
|
=^ t31 gall.nec
|
|
|
|
%: gall-check-take:v gall.nec
|
|
|
|
[~1111.1.9 0xdead.beef *roof]
|
|
|
|
:+ /sys/way/~bud/pub
|
|
|
|
:~ /use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud
|
|
|
|
/init
|
|
|
|
==
|
|
|
|
[%ames %done ~]
|
|
|
|
:~ :- :~ /use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud
|
|
|
|
/init
|
|
|
|
==
|
|
|
|
[%give %unto %watch-ack ~]
|
|
|
|
==
|
|
|
|
==
|
|
|
|
:: subscriber gall hears new %watch-ack from self, tells :sub
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber gall hears new %watch-ack from self, tells :sub'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t31 |. :- %|
|
|
|
|
=^ t32 gall.nec
|
|
|
|
%: gall-check-take:v gall.nec
|
|
|
|
[~1111.1.9 0xdead.beef *roof]
|
|
|
|
:+ /use/sub/0w1.d6Isf/out/~bud/pub/2/sub-foo/~bud
|
|
|
|
~[/init]
|
|
|
|
[%gall %unto %watch-ack ~]
|
|
|
|
~
|
|
|
|
==
|
|
|
|
:: subscriber ames hears %cork ack
|
2022-11-17 15:49:22 +03:00
|
|
|
~& > 'subscriber ames hears %cork ack'
|
2022-08-24 17:07:02 +03:00
|
|
|
:- t32 |. :- %|
|
|
|
|
=^ t33 ames.nec
|
|
|
|
%: ames-check-call:v ames.nec
|
|
|
|
[~1111.1.10 0xdead.beef *roof]
|
|
|
|
:- ~[//unix]
|
|
|
|
:* %hear [%& ~bud]
|
|
|
|
0x5f.f966.8e00.0449.bdec.9006.c7e5.1237.
|
2023-04-07 20:13:45 +03:00
|
|
|
1d87.53fe.d7bb.ad00.0100.0223.c6a8.5804
|
2022-08-24 17:07:02 +03:00
|
|
|
==
|
2022-11-17 15:49:22 +03:00
|
|
|
[~[/ames] [%pass /pump/~bud/0 %b %rest ~1111.1.5..00.02.00]]~
|
2022-08-25 16:35:47 +03:00
|
|
|
==
|
2022-11-17 15:49:22 +03:00
|
|
|
:- t33 |. :- %&
|
2022-08-24 17:07:02 +03:00
|
|
|
;: weld
|
|
|
|
%+ expect-eq
|
|
|
|
!> (sy 0 ~)
|
|
|
|
!> =< corked
|
|
|
|
%: ames-scry-peer:v
|
|
|
|
ames.nec
|
|
|
|
[~1111.1.10 0xdead.beef *roof]
|
|
|
|
[~nec ~bud]
|
|
|
|
==
|
|
|
|
::
|
|
|
|
%+ expect-eq
|
|
|
|
!> (sy 1 ~)
|
|
|
|
!> =< corked
|
|
|
|
%: ames-scry-peer:v
|
|
|
|
ames.bud
|
|
|
|
[~1111.1.8 0xbeef.dead *roof]
|
|
|
|
[~bud ~nec]
|
|
|
|
==
|
2022-08-24 17:18:05 +03:00
|
|
|
::
|
|
|
|
%+ expect-eq
|
|
|
|
!> 2
|
|
|
|
!> %: gall-scry-nonce:v
|
|
|
|
gall.nec
|
|
|
|
[~1111.1.10 0xdead.beef *roof]
|
|
|
|
~nec %sub
|
|
|
|
[~bud %pub /sub-foo/~bud]
|
|
|
|
==
|
2022-08-24 17:07:02 +03:00
|
|
|
==
|
2022-08-12 00:04:01 +03:00
|
|
|
--
|