Commit Graph

30710 Commits

Author SHA1 Message Date
Nick
9972f0b4ec bitcoin-wallet: set state as default case for handle-provider-update 2022-07-07 16:47:06 -04:00
Nick
8726ca2ebc %bitcoin: Implement additional RPC calls from btc-provider.
%histogram, %block-headers, %tx-from-pos, %fee, %psbt are now all callable from the btc-provider agent. These actions are necessary in order to get the lightning network working within Urbit.
2022-07-07 16:47:06 -04:00
Nick
740d68777c %bitcoin: Added %regtest to arms using the network type definition. 2022-07-07 16:47:06 -04:00
Nick
56f01a52ed %bitcoin: add regtest type to network
Updating bitcoin provider agent to enable connection to a bitcoin provider node in regtest mode
2022-07-07 16:47:06 -04:00
Joe Bryan
f8de49cf1f
Merge pull request #5882 from urbit/jb/guard-opt
u3: road stack guard page optimization
2022-07-07 13:27:56 -04:00
Peter McEvoy
abe5788daf u3: return 0 from u3e_fault() if guard page cannot be protected 2022-07-07 09:48:33 -07:00
Peter McEvoy
b7cd97664d u3: control presence of guard page using macro 2022-07-07 09:33:41 -07:00
fang
283e5ad1db
Revert "gall: exclude from traces"
This reverts commit b1b422ce05.
2022-07-07 16:24:03 +02:00
fang
a1b3348cdf
Revert "clay: render syntax errors at end of file"
This reverts commit 7a110db60d.
2022-07-07 16:21:43 +02:00
yosoyubik
ca1b586a46 ames: init cork timer on larval +take 2022-07-07 11:35:28 +02:00
yosoyubik
d4d443db13 ames: remove cork wire from state 2022-07-07 09:20:57 +02:00
Joe Bryan
53af044d18 Revert "u3: check for road stack overflow on every nock %2 and %9"
This reverts commit 4bd4e8a4a9.
2022-07-07 01:34:05 -04:00
Joe Bryan
8fb3b1502b build: make bench is phony 2022-07-07 01:34:05 -04:00
Joe Bryan
9d5b24362e u3: failure to mprotect() the new guard page is fatal 2022-07-07 01:34:05 -04:00
Joe Bryan
f0fa528f3b u3: removes/disables obsolete road stack overflow checks 2022-07-07 01:17:16 -04:00
Joe Bryan
350406c9e1 u3: account for guard page in cellblock allocation conditional 2022-07-07 00:48:50 -04:00
Joe Bryan
b630490573 u3: bump road heap offset before allocating cellblock 2022-07-07 00:48:19 -04:00
Peter McEvoy
a2a6250d77 u3: restore missing return 0 to u3e_fault() 2022-07-06 18:42:50 -07:00
Peter McEvoy
a830db5f68 u3: initialize guard page in u3e_init() 2022-07-06 18:29:16 -07:00
Peter McEvoy
1ea6e10a36 u3: initialize guard page in u3e_live() 2022-07-06 16:09:34 -07:00
drbeefsupreme
c29512308f doccords: deco remove double comment 2022-07-06 18:59:01 -04:00
Peter McEvoy
f2d24201a5 u3: replace u3m_bail() with u3m_signal() in u3e_fault() 2022-07-06 15:33:16 -07:00
drbeefsupreme
73c0222d2e doccords: deco convention for +$ arms 2022-07-06 18:22:21 -04:00
drbeefsupreme
ef9297cfd7 doccords: these <-> other locations 2022-07-06 17:43:41 -04:00
drbeefsupreme
b7412d939c doccords: lib/deco remove informal comment 2022-07-06 17:31:55 -04:00
drbeefsupreme
4dd8b4d043 doccords: change :: in lib/deco to :> 2022-07-06 17:30:52 -04:00
drbeefsupreme
862f6cc899 doccords: update language in lib/deco 2022-07-06 17:28:14 -04:00
drbeefsupreme
948bd1e185 doccords: adds batch comment examples to lib/deco 2022-07-06 17:23:25 -04:00
drbeefsupreme
37343b6d87 doccords: add sample library lib/deco.hoon 2022-07-06 17:20:21 -04:00
drbeefsupreme
938dc8cfe4 dojo: reverse doccords query ordering 2022-07-06 17:19:44 -04:00
drbeefsupreme
27135f1bb5 dprint: links -> cuff 2022-07-06 16:31:07 -04:00
drbeefsupreme
1cd95a9ceb hoon: add +$ cuff (list link)
makes doccords stuff more readable. also changes the (list link) in
$help to cuff
2022-07-06 16:30:24 -04:00
drbeefsupreme
a4ca51009a dprint: fix syntax and test suite for new parser 2022-07-06 16:21:13 -04:00
drbeefsupreme
de19456f82 hoon: revamp doccords parsing for batch comments
this commit replaces the previous intermediate parsing structure, $whit,
with a new one better suited for batch comments and taking into account
that {#  %label} syntax is no longer being used anywhere. basically,
this makes it so that all doccords are batch comments, where if they are
preceded by a (list link) then they will try to attach to the given
link (only utilizes first link for now), and a blank link means it will
try to attach to the following hoon or spec
2022-07-06 16:17:54 -04:00
Joe Bryan
4bd4e8a4a9 u3: check for road stack overflow on every nock %2 and %9
(cherry picked from commit 9db1411bd8e8c0b8e9bf38aadb869c5fd678023b)
2022-07-06 11:40:12 -07:00
Joe Bryan
e045bfd593 u3: adds (failing) test for bail:meme
(cherry picked from commit 3a03b1de5d57201c153229db69051235a50907c0)
2022-07-06 11:40:11 -07:00
Joe Bryan
146db7b832 u3: allocate emergency buffer on every road, free on bail for trace cells
(cherry picked from commit 3a11a08b712b52805f97ceb06da8417a8b7cbde4)
2022-07-06 11:40:11 -07:00
Joe Bryan
eaf47ce0cf u3: correct u3m_soft() error result where +mook is unavailable
(cherry picked from commit bbc54b7a890845e4281d3a250fefedefb464bc8d)
2022-07-06 11:40:11 -07:00
Joe Bryan
bcdafbe206 u3: make output pointer optional in u3r_p()
(cherry picked from commit 2a0b92b4474947fcbb519d4158eae9cb3b5d6287)
2022-07-06 11:40:11 -07:00
Peter McEvoy
78cb396736 u3: use pag_siz_i and pag_wiz_i where appropriate 2022-07-06 11:40:09 -07:00
Peter McEvoy
f0cebdcab0 u3: place guard page between heap and stack 2022-07-06 11:37:35 -07:00
fang
ddf3520648
hood: re-patch |rein
Essentially reimplements #5863 in the generator, instead of the library.
2022-07-06 20:18:45 +02:00
fang
c437f1cdbd
Merge pull request #5855 from urbit/m/gall-quieter
gall: exclude from traces
2022-07-06 18:48:55 +02:00
Hunter Miller
c8a5824576 Merge branch 'next/groups' 2022-07-06 11:38:24 -05:00
Hunter Miller
5e427b6655 Merge branch 'next/groups' of github.com:urbit/urbit into next/groups 2022-07-06 11:37:45 -05:00
Hunter Miller
3f8cef1cac groups: correcting package lock yet again 2022-07-06 11:37:34 -05:00
yosoyubik
e366e55dbc ames: add global daily timer for pending corks
WIP compiles and upgrades, and the timer gets properly reset
but untested for actual re-subscriptions with old publishers
2022-07-06 17:00:35 +02:00
yosoyubik
608aba2a87 gall: handle subscriber-side %cork
this also enables increasing sub-nonces for every new subscription
TODO: create one global cork timer for all peers
2022-07-06 14:44:20 +02:00
yosoyubik
f3a60aef14 gall: don't send %cork when leaving a subscription
This is a temporary fix, and first part of the gall-request-queue-fix
release in two stages. This gives a publisher ship the ability to
understand a %cork and handle it properly, but no subscriber will
be sending %corks at this stage when leaving a subscription.

We still add a nonce to all subscription wires but it doesn't
increment it when resubscribing, allowing flows to be reused.

Tested locally with toy pub/sub agents and Group join/leaving
2022-07-06 10:59:08 +02:00
yosoyubik
76919ce07c ames: resend %cork after a naxplanation in one day 2022-07-06 10:52:19 +02:00