Aayush Rajasekaran
7cd4c3a3ef
Fixups, make tests pass
2020-09-05 02:59:32 -04:00
Aayush Rajasekaran
9fcbaa72cc
Update payment channel logic to exclude Proof from UpdateChannelStateParams
2020-09-05 02:59:32 -04:00
Dirk McCormick
8423325a6e
refactor: paych - use channel accessor from/to instead of passing them around as params
2020-09-03 15:31:49 +02:00
Dirk McCormick
1d3a21f6c8
docs: paych - correct comments on store fields
2020-09-03 08:22:40 +02:00
Dirk McCormick
3daa0b5e63
fix: paych - clarify behaviour of current available funds for non-existent channel
2020-09-03 08:20:08 +02:00
Dirk McCormick
2c98bf0cc7
feat: PaychAvailableFunds API method
2020-09-02 14:31:32 +02:00
Dirk McCormick
340d11be38
fix: check voucher spendable should take into account submitted vouchers
2020-08-25 12:51:29 +02:00
Łukasz Magiera
fda038cd89
Merge pull request #3168 from filecoin-project/fix/paych-chk-vchr
...
Payment channel check voucher should get inbound channel from state
2020-08-24 23:04:34 +02:00
Łukasz Magiera
2f6f978cd5
Merge pull request #3111 from filecoin-project/fix/paych-addvchr-chk
...
paych: check To address is owned by wallet for inbound channels
2020-08-24 23:02:10 +02:00
Łukasz Magiera
ae19b8ebfd
Merge pull request #3146 from filecoin-project/feat/paych-cli-voucher-tests
...
paych: modify `lotus paych voucher best-spendable` to output _all_ best vouchers
2020-08-24 22:59:20 +02:00
anorth
4ce71bce2d
Change Message.Version to be a uint64
2020-08-20 14:37:21 +10:00
Dirk McCormick
4a3c273072
fix: paych - check wallet for key for channel To address
2020-08-19 18:56:51 -04:00
Dirk McCormick
d317835535
fix: paych check voucher should get inbound channel from state
2020-08-19 09:17:08 -04:00
Dirk McCormick
d1592b01c3
feat: paych cli voucher tests
2020-08-18 11:33:04 -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