Commit Graph

127 Commits

Author SHA1 Message Date
whyrusleeping
6dfecf523b improve blocksync errors 2019-08-02 15:32:02 -07:00
whyrusleeping
14f6cc8a0b clean up sync, make everything go in the same direction 2019-08-02 15:21:46 -07:00
Łukasz Magiera
9f195a175c
Update chain/sync.go 2019-08-02 16:12:20 +02:00
whyrusleeping
ff3433baa1 fix chain progression after restarting process 2019-08-01 23:46:14 -07:00
whyrusleeping
06ad14b964 add note about why error isnt dropped 2019-08-01 17:57:29 -07:00
whyrusleeping
8cdc09fc08 fix syncing new blocks we have locally when not connected to any peers 2019-08-01 17:13:57 -07:00
Łukasz Magiera
c401680b84 blocksync: log response errors 2019-08-01 19:19:18 +02:00
Łukasz Magiera
6a4b9a6515 More separation for storage types in di modules 2019-08-01 16:14:16 +02:00
Łukasz Magiera
5ef145463a Fix mining with no peers 2019-08-01 16:06:41 +02:00
Whyrusleeping
236aa6107a
Merge pull request #109 from filecoin-project/feat/storage-miner-methods
implement some additional storage miner methods
2019-07-31 12:29:28 -07:00
whyrusleeping
a8b434a708 fix the most annoying bug ever 2019-07-31 10:43:57 -07:00
Łukasz Magiera
0f2334f513 chain sync: rebase 'fixes' 2019-07-31 10:43:14 -07:00
Łukasz Magiera
99aaafaed2 chain: Some sync cleanup 2019-07-31 10:43:13 -07:00
Łukasz Magiera
cdf0e0c858 chain: Test 'manual' sync 2019-07-31 10:43:13 -07:00
Łukasz Magiera
412a168151 chain: more work on chain sync, sync testing 2019-07-31 10:43:13 -07:00
Łukasz Magiera
b6439fa57d chain: Test sync with messages 2019-07-31 10:43:13 -07:00
Łukasz Magiera
9ef5e1266e chain: Test basinc sync on generated chain 2019-07-31 10:43:13 -07:00
Łukasz Magiera
a656aea7fe chain: WIP Generated node sync test 2019-07-31 10:43:13 -07:00
Łukasz Magiera
7f5cba1749 chain gen: YieldRepo 2019-07-31 10:43:13 -07:00
Łukasz Magiera
fae0422de6 chain: Don't use SyncBootstrap 2019-07-31 10:43:13 -07:00
Łukasz Magiera
2be7bc5025 blocksync: retry GetBlocks with error response too 2019-07-31 10:43:13 -07:00
Łukasz Magiera
e27d435848 blocksync: retry GetBlocks with many peers 2019-07-31 10:43:13 -07:00
Łukasz Magiera
c8478ddd3f chain: Make fetching parents in collectChainCaughtUp sort of work 2019-07-31 10:43:13 -07:00
Łukasz Magiera
a968eef322 wallet: filter repo.ErrKeyNotFound 2019-07-31 18:58:19 +02:00
whyrusleeping
1254c78c92 implement some additional storage miner methods 2019-07-30 15:05:27 -07:00
whyrusleeping
ee224e5b21 Implement 'storage miner' module, wire up a few bits it needs to start 2019-07-29 17:46:56 -07:00
whyrusleeping
0c67d66198 Make message wait work and use it for the storage-miner init 2019-07-29 11:58:30 -07:00
Whyrusleeping
54c78877bb
Merge pull request #104 from filecoin-project/feat/chain-notifs
expose head change notifications through api
2019-07-29 11:36:04 -07:00
Whyrusleeping
508e19f52f
Merge pull request #89 from filecoin-project/feat/chain-gen
Implement a chain generator
2019-07-29 09:57:40 -07:00
whyrusleeping
03f653b88e expose head change notifications through api 2019-07-28 12:19:33 -07:00
whyrusleeping
9ccd06b060 start method IDs at 1, to allow 0 for basic transfers 2019-07-26 14:42:38 -07:00
Łukasz Magiera
9ea5dbf902 chain: Benchmark chain gen 2019-07-26 13:47:29 -07:00
Łukasz Magiera
952cd288be chain: fix NewGenerator 2019-07-26 13:47:29 -07:00
whyrusleeping
71baa5cbfe implement chain generator 2019-07-26 13:47:29 -07:00
Jakub Sztandera
fd80c1e355 Fix tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-26 21:07:19 +02:00
Jakub Sztandera
0e35240fe9 Wire in context to VMContext
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-26 21:01:02 +02:00
whyrusleeping
a0c1afff57 clean up which addresses get used where 2019-07-26 10:33:54 -07:00
whyrusleeping
78da356752 pull more things apart 2019-07-26 13:49:30 +02:00
Łukasz Magiera
a565598b25 Merge remote-tracking branch 'origin/master' into feat/pond 2019-07-26 03:58:13 +02:00
whyrusleeping
501b2e4640 update to and use fixed cbor rpc code 2019-07-25 17:49:27 -07:00
whyrusleeping
e09ad3d65c Refactor out more types into types package, and pull genesis block code into gen package 2019-07-25 16:35:47 -07:00
Łukasz Magiera
5fd07fe46b blocksync: call log.info in HandleStream 2019-07-26 01:27:19 +02:00
Whyrusleeping
663cdbe167
Merge pull request #74 from filecoin-project/feat/payment-channels
implement initial payment channel actor
2019-07-25 13:49:52 -07:00
Whyrusleeping
bcdb3ed90c
Update chain/actors/actor_paych.go 2019-07-25 12:17:15 -07:00
whyrusleeping
89bf320134 flesh out the rest of the payment actor methods 2019-07-24 20:32:00 -07:00
Łukasz Magiera
8d58c0a2fd Only set genesis once 2019-07-25 01:12:22 +02:00
whyrusleeping
859471aeaf implement initial payment channel actor 2019-07-24 15:45:12 -07:00
whyrusleeping
4b76a06224 address code review 2019-07-24 14:46:54 -07:00
whyrusleeping
2ce8dbbb06 store and load latest chain head in the datastore 2019-07-24 14:43:26 -07:00
Łukasz Magiera
309ecc4052 auth: Put auth methods in API 2019-07-24 00:37:05 +02:00