Commit Graph

30514 Commits

Author SHA1 Message Date
Joe Bryan
dca17825e1
Merge pull request #4727 from urbit/lf/http2-support
vere: enable HTTP2
2022-07-12 14:40:36 -04:00
fang
2ac865ffd7
Merge pull request #5888 from bacwyls/patch-2
eyre: fix for %trim bug
2022-07-09 12:22:46 +02:00
bacwyls
49b837f5e8
eyre: fix for %trim bug - addendum
Broader, more direct solution.
2022-07-08 17:10:41 -07:00
bacwyls
c8fafa53bd
eyre: fix for %trim bug
Problem:
by-channel has its own copy of server-state from line 2182. discard-channel returns an altered state, with one channel removed from the state of by-channel.
but the state of by-channel isn't changing with each iteration, so |trim is only removing one channel per invocation.

Solution:
update by-channel on each iteration.
2022-07-08 15:14:13 -07:00
Joe Bryan
52cb382ea0
Merge pull request #5883 from urbit/jb/exit-errors
vere: exit correctly on fatal error
2022-07-08 18:00:24 -04:00
Joe Bryan
0a86639a04
Merge pull request #5881 from urbit/peter/guard-page
u3: add guard page to loom
2022-07-08 16:53:01 -04:00
Joe Bryan
94821d8e86 vere: make uv_cancel return code check explicit 2022-07-08 14:49:13 -04:00
Joe Bryan
ae370dd7e0 u3: check for overflow in interpreter if guard page not present 2022-07-08 14:38:32 -04:00
Joe Bryan
517ca69823 build: default to using guard page 2022-07-08 14:37:39 -04:00
Hunter Miller
f0973947c6 Merge branch 'next/groups' 2022-07-08 13:25:02 -05:00
janeway-bot
e6996cb77c groups: [skip actions] update glob (0v3.mtkm8.77bad.7j793.jtnl4.pi1mm) 2022-07-08 10:20:31 -07:00
yosoyubik
34a7496720 ames: clean up nack flows after a cork 2022-07-08 07:29:04 +02:00
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
Peter McEvoy
f2d24201a5 u3: replace u3m_bail() with u3m_signal() in u3e_fault() 2022-07-06 15:33:16 -07: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
yosoyubik
850de0bfd3 Revert "gall: run +ap-kill-down on +molt"
This reverts commit 2107240962.
2022-07-06 09:12:30 +02:00