Dirk McCormick
4a3c273072
fix: paych - check wallet for key for channel To address
2020-08-19 18:56:51 -04:00
Dirk McCormick
b25215e31b
fix: paych add voucher - for inbound voucher check channel To address is owned by wallet
2020-08-17 11:13:13 -04:00
Dirk McCormick
536b2ad9d7
fix: paych - bug with allocating lane
2020-08-13 10:14:11 -04:00
Steven Allen
cac3d07abb
Fix payment channel for actor changes
...
Also, allocate the next available lane, instead of max+1. That way, we fill
holes.
Finally, check some error cases.
2020-08-12 17:29:00 -07:00
Dirk McCormick
335d165db6
refactor: use spec-actors paych with AMT for lane states
2020-08-12 17:06:18 -07:00
Łukasz Magiera
12f7e2d9bf
Use a struct for send metadata in MpoolPushMessage
2020-08-12 22:17:29 +02:00
Łukasz Magiera
e1a1b325bc
Merge remote-tracking branch 'origin/next' into feat/max-msg-fee-config
2020-08-12 21:55:03 +02:00
Łukasz Magiera
6fe743f3a9
Fix tests
2020-08-12 20:03:07 +02:00
Steven Allen
9248e5a572
Update specs-actors, cbor-gen, and go-address
2020-08-12 10:32:39 -07:00
Łukasz Magiera
d0147aa50f
Add maxFee param to MpoolPushMessage
2020-08-12 19:06:16 +02:00
Dirk McCormick
f857ee159e
refactor: unify manager interfaces for easier mocks
2020-08-11 13:15:39 -04:00
Łukasz Magiera
51cf4a5749
Merge pull request #2962 from filecoin-project/refactor/rip-paych-pubsub
...
Paych refactor: replace custom pubsub impl with lib
2020-08-11 18:32:05 +02:00
Łukasz Magiera
957d83f069
Merge pull request #2955 from filecoin-project/refactor/paych-collect
...
Refactor: move paych collect inside manager
2020-08-11 01:42:10 +02:00
Dirk McCormick
51444c7f18
refactor: replace custom paych pubsub with existing impl
2020-08-10 17:53:10 -04:00
Dirk McCormick
a6100b7e46
refactor: move collect inside paych manager
2020-08-10 13:21:25 -04:00
Dirk McCormick
0edf65855a
feat: paychmgr - merge queued add funds
2020-08-10 11:26:13 -04:00
Dirk McCormick
d3aa5e638d
refactor: remove unused method
2020-08-07 12:53:40 -04:00
Dirk McCormick
e488996fd0
fix: remove unused onComplete callback
2020-08-07 12:53:40 -04:00
Łukasz Magiera
07bf155295
Merge remote-tracking branch 'origin/next' into feat/dyn-base-fee
2020-08-06 23:41:54 +02:00
Jakub Sztandera
ab08858b45
Delete GasPrice from this world
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-06 23:08:42 +02:00
Dirk McCormick
42e1906d9c
fix: paychmgr - bail out if there's an error writing to store
2020-08-06 14:01:38 -04:00
Dirk McCormick
0a3e51a74c
refactor: remove sleeps from paych tests
2020-08-06 13:39:13 -04:00
Dirk McCormick
1ef9113ff0
fix: track payment channel by ID instead of from/to
2020-08-06 12:07:13 -04:00
Dirk McCormick
63bb09553a
fix: race in paych manager test
2020-08-06 12:07:13 -04:00
Dirk McCormick
28985c8bcf
fix: tighten up testing and add a couple of missing locks
2020-08-06 12:07:13 -04:00
Dirk McCormick
45d9ddc79f
fix: paych manager dependency injection
2020-08-06 12:04:10 -04:00
Dirk McCormick
c897cc0cc9
docs: fix comments
2020-08-06 12:04:10 -04:00
Dirk McCormick
fdfccf0466
WIP: fix payment channel locking
2020-08-06 12:04:10 -04:00
Lucas Molas
f1f9ce5351
make gen
2020-07-30 17:25:18 -03:00
Dirk McCormick
46b7546d51
fix: zero out gas limit
2020-07-22 13:55:31 -04:00
hannahhoward
f27bd1dacb
feat(settler): address pr comments
...
clean up imports, improve api import, fix text, support waiting on messages
2020-07-22 13:34:35 -04:00
hannahhoward
98535d5e06
feat(settler): monitor settled channels
...
Add a routine to monitor the chain for payment channels settling, and if it's a channel that we are
the recipient of payments on, submit any outstanding vouchers to the
chain
2020-07-22 13:34:35 -04:00
Jakub Sztandera
7da629d03b
Update gas prices
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 21:31:05 +02:00
Łukasz Magiera
cb6767a02b
Merge remote-tracking branch 'origin/next' into feat/actors-miner-refactor
2020-07-17 15:18:11 +02:00
Łukasz Magiera
9f4fb428c9
gofmt
2020-07-16 17:24:55 +02:00
Jakub Sztandera
7b14d445b4
Update message gas limits
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 20:01:57 +02:00
Łukasz Magiera
d41a07161d
paychmgr: handle voucher.ChannelAddr
2020-07-15 11:12:03 +02:00
Łukasz Magiera
faebc4c948
WIP Integrating specs-actors with refactored miner state
2020-07-14 13:45:45 +02:00
Dirk McCormick
a12e5884ab
fix: add TODO about lane merging
2020-07-10 15:24:13 -04:00
Dirk McCormick
f07c7377b6
feat: account for other vouchers when calculating voucher validity
2020-07-10 14:06:52 -04:00
Dirk McCormick
b888385ba1
refactor: lint fixes
2020-07-09 18:49:43 -04:00
Dirk McCormick
6c70ef7c7d
refactor: simplify state management
2020-07-09 18:27:39 -04:00
Dirk McCormick
1cdb008bd5
fix: lane allocation
2020-07-09 17:20:17 -04:00
Dirk McCormick
770ee8b54d
test: payment channel manager voucher and channel info tests
2020-07-09 16:35:43 -04:00
Dirk McCormick
9a45ffd459
test: add basic paychmgr store test
2020-07-08 17:34:44 -04:00
Alexey
eafb04004e
Fix to addresses in paychmgr channel creation
2020-06-26 09:06:01 +03:00
Łukasz Magiera
163c2b2544
Merge remote-tracking branch 'origin/master' into next
2020-06-06 00:58:24 +02:00
shannonwells
e4bed4d963
return on all err conditions
2020-06-05 11:20:07 -07:00
shannonwells
76b5c8b145
fix unhandled nil return
2020-06-05 11:20:07 -07:00
Łukasz Magiera
f9f0d86ddf
Merge pull request #1913 from acruikshank/feat/1853-confirmations-in-StateWaitMsg2
...
Add confidence and timeout to message wait
2020-06-04 23:23:15 +02:00