yosoyubik
d62ba7d6b5
roller: fix wrong ship quota
2022-01-20 16:15:38 +01:00
yosoyubik
5d4a410653
roller: don't set :frequency timer on commit
2021-12-14 16:39:22 +01:00
yosoyubik
fc540bf209
roller: handle sending malformed batches
2021-12-14 15:24:25 +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
yosoyubik
ae05bbf571
roller: don't crash if nonce not in queue
2021-12-09 07:44:53 +01:00
yosoyubik
463ca6e8db
roller: set default quota to 25
2021-12-08 11:02:05 +01:00
yosoyubik
33852ea90e
roller: support private keys with leading 0x
2021-12-07 17:47:56 +01:00
yosoyubik
d5c44598ba
roller: refactor and clean up
2021-11-28 16:37:06 +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
yosoyubik
da739d6e87
azimuth: add sponsorship scry
2021-11-10 18:39:43 +01:00
yosoyubik
e32b0a1956
roller: add sponsorship index
2021-11-10 17:46:22 +01:00
yosoyubik
1ade4d29f0
roller: add default network
2021-11-10 07:09:22 +01:00
yosoyubik
360f5fdd35
roller: only add tx to pending if verifies
2021-11-09 16:06:29 +01:00
yosoyubik
9e2e6a7aee
roller-rpc: add %hash-raw-transaction rpc
...
the returned hash can be used to cancel pending txs
by signing the message 'cancel: 0xke.ccak'
2021-11-08 17:47:55 +01:00
yosoyubik
df9827a2cb
roller: on submit, crash if no naive state exists
2021-11-08 16:28:12 +01:00
yosoyubik
9015dbb1c5
roller: restrict config actions to our.bowl
2021-11-08 16:22:25 +01:00
yosoyubik
a22b16a465
roller: give rpc error if roller has no l2 state
2021-11-08 16:08:59 +01:00
yosoyubik
89c4d30b30
roller: remove sigwut
2021-11-08 07:33:03 +01:00
yosoyubik
5ea87c1f47
roller: add generators for config options
2021-11-07 10:36:46 +01:00
yosoyubik
e54805893f
roller: bugfix for incorrect predicted l2 nonce
2021-11-06 15:18:39 +01:00
yosoyubik
095ce0dff4
roller: wip add quota per ship for tx submission
2021-11-06 10:27:00 +01:00
yosoyubik
1c641629e2
roller: add azimuth refresh-rate to getConfig RPC
2021-11-04 09:54:25 +01:00
yosoyubik
2bb218cfc8
roller: bugfix for adding failed txs to history
2021-11-01 10:09:11 +01:00
yosoyubik
27576e272b
Merge remote-tracking branch 'origin/philip/naive' into naive/roller
2021-10-31 15:14:15 +01:00
yosoyubik
c5c6379260
roller: keep only one status entry in tx history
2021-10-31 14:02:33 +01:00
yosoyubik
8b45302982
roller: restore finding index as sig+raw-tx hash
2021-10-30 13:12:09 +02:00
yosoyubik
824de38532
roller: wip order roller tx history by timestamp
2021-10-16 12:47:39 +02:00
yosoyubik
a392ccde58
roller: wip finding map simplification
2021-10-16 07:26:57 +02:00
yosoyubik
21139ea8de
roller: increase next-nonce if not out of sync
2021-10-14 15:42:06 +02:00
yosoyubik
ca0681a4b5
roller: fix for duplicate transactions in a batch
2021-10-13 12:56:47 +02:00
yosoyubik
91be390397
roller: use an ordered map for tracking L2 batches
2021-10-11 17:16:17 +02:00
yosoyubik
2d1a5215bc
roller: increase nonce on successful send roll
2021-10-03 16:15:42 +02:00
yosoyubik
56b2d6b451
roller: simplify handling of /predict timer
2021-10-03 15:09:11 +02:00
yosoyubik
86276b894b
roller: use chain details in endpoint generator
2021-10-02 09:12:58 +02:00
yosoyubik
5938f3569e
roller: add logic for fixing out-sync nonce
2021-10-02 08:44:37 +02:00
yosoyubik
37aee72f55
roller: retrieve latest (current+pending) nonce
2021-09-29 14:38:20 +02:00
yosoyubik
f243500068
Merge remote-tracking branch 'origin/philip/naive' into naive/roller
2021-09-27 16:29:12 +02:00
yosoyubik
0042426179
roller: fix crash in +pending-by address
2021-09-20 08:31:15 +02:00
yosoyubik
9c3cd5240d
roller: add generators to connect to eth nodes
2021-09-20 07:24:10 +02:00
yosoyubik
32cbb97b40
roller: add get-pending-tx rpc from l2 tx hash
2021-09-07 12:59:36 +02:00
yosoyubik
7e0c99c980
azimuth+roller: add get-naive/predicted-state
2021-09-05 12:36:19 +02:00
yosoyubik
7c70ac954b
roller: add get-unspawned rpc
2021-09-01 11:01:39 +02:00
yosoyubik
2a1c37f8fb
roller: fix bug in peek path
2021-08-27 17:08:24 +02:00
yosoyubik
7cd67c2446
roller: wip fix range in spawned children
2021-08-27 16:55:10 +02:00
yosoyubik
2190eea370
roller: add timestamp to roller-tx
2021-08-27 16:05:59 +02:00
yosoyubik
b07774c0d9
roller-rpc: add get points per ownership address
2021-08-27 16:00:43 +02:00
yosoyubik
82f959ebd2
roller: wip point ownership tracking
2021-08-27 15:59:10 +02:00
yosoyubik
580007bba8
roller: track ship ownership for address+proxy
2021-08-23 16:32:26 +02:00