Commit Graph

3829 Commits

Author SHA1 Message Date
whyrusleeping
0a0a4d30aa fix account balances to cover costs and collateral 2019-09-26 12:23:03 -07:00
Łukasz Magiera
a2a2169ef8 Setup first devnet params 2019-09-26 12:13:43 -07:00
Łukasz Magiera
30da7d2ba3
Merge pull request #234 from filecoin-project/feat/bigint-no-tag
serialize big ints without a tag
2019-09-26 16:29:43 +02:00
whyrusleeping
af0eb34ec6 make chain sync faster by turning up blocksync window 2019-09-26 00:22:45 -07:00
whyrusleeping
9f654ab893 integrate new bigint encoding into refmt atlas (temporary) 2019-09-25 21:03:13 -07:00
whyrusleeping
f5ae64bf94 filter out messages that have insufficient funds from block production 2019-09-25 20:48:53 -07:00
Łukasz Magiera
23138d9bd0
Merge pull request #230 from filecoin-project/feat/incremental-deals
Incremental deal payments
2019-09-26 03:00:05 +02:00
Łukasz Magiera
9989454968 fix tests 2019-09-26 02:37:48 +02:00
whyrusleeping
5f31544faa serialize big ints without a tag 2019-09-25 14:02:10 -07:00
Łukasz Magiera
76c5eca05a chain: Reduce log noise 2019-09-25 15:38:59 +02:00
Łukasz Magiera
2fe4ffdfdc deals: more atomic voucher handling 2019-09-25 14:56:04 +02:00
Łukasz Magiera
72bb5c6919 deals: Better errors for used lanes 2019-09-25 13:55:15 +02:00
Łukasz Magiera
caa767e081 Incremental deal payments 2019-09-24 23:13:47 +02:00
Łukasz Magiera
5fa1a74e74 Bump test genesis token amount 2019-09-24 13:02:54 +02:00
whyrusleeping
2f35a23f0f fix block reward math 2019-09-23 21:15:18 -07:00
whyrusleeping
47d12417b3 working on correct block reward 2019-09-23 21:15:18 -07:00
whyrusleeping
0419945d49 implement AddFaults method 2019-09-23 20:20:55 -07:00
Łukasz Magiera
5ce15bfaf4 types: Less/GreaterThan for bigints 2019-09-23 19:11:44 +02:00
Łukasz Magiera
b79b826805 miner: fix required collateral check 2019-09-23 13:41:26 +02:00
Łukasz Magiera
9a990dbd8a use new sectorbuilder file interfaces 2019-09-23 12:50:28 +02:00
Łukasz Magiera
3589852f0e statestree: Test actorcache in SetActor 2019-09-23 11:52:53 +02:00
Łukasz Magiera
f357becc8a statetree: add actor to actcache in SetActor 2019-09-23 11:45:22 +02:00
Łukasz Magiera
4202da62cd
Merge pull request #216 from filecoin-project/feat/consensus-slashing
Feat/consensus slashing
2019-09-20 16:58:03 +02:00
Łukasz Magiera
d2fdb058ef miner actor: Skip muldiv if frac == 1 2019-09-20 16:21:00 +02:00
Łukasz Magiera
c4de98607b Merge remote-tracking branch 'origin/master' into feat/post-schedule 2019-09-20 14:24:37 +02:00
Łukasz Magiera
9d36a499b6 post merge fixes 2019-09-20 14:22:46 +02:00
Łukasz Magiera
b58246d128 Merge remote-tracking branch 'origin/master' into feat/post-schedule 2019-09-20 14:22:22 +02:00
Łukasz Magiera
113f6f4791 mpool: Fix racy nonce logic 2019-09-20 11:01:49 +02:00
whyrusleeping
b3a0ec9155 resolve review note 2019-09-19 23:47:09 -07:00
Whyrusleeping
5ba7307ab9
Merge pull request #214 from filecoin-project/feat/rand-refactor
refactor to use 'randomness' as input to new vm creation
2019-09-19 23:21:19 -07:00
whyrusleeping
49c677fb6e rename 'Fil' to 'FromFil' 2019-09-19 22:25:10 -07:00
whyrusleeping
3154374132 fix account balances to make tests pass 2019-09-19 22:25:10 -07:00
whyrusleeping
2d5b88ce84 avoid floating point math 2019-09-19 22:25:10 -07:00
whyrusleeping
197a2a3025 slash consensus fault needs to also be a method on the miner 2019-09-19 22:24:23 -07:00
whyrusleeping
fe020d9fd1 implement SlashConsensusFault 2019-09-19 22:23:24 -07:00
whyrusleeping
394edc6317 refactor to use 'randomness' as input to new vm creation 2019-09-19 20:08:44 -07:00
Łukasz Magiera
73d1182121 post: More review addressing 2019-09-19 22:34:23 +02:00
whyrusleeping
f7e3762cfc add state replay api and command 2019-09-19 13:25:18 -07:00
Łukasz Magiera
5fd98b7d27 post: Address review 2019-09-19 22:24:01 +02:00
Łukasz Magiera
fdb45aeeaa pond: +20k, +200k buttons 2019-09-19 22:17:26 +02:00
Łukasz Magiera
72e003ef9e actors: remove debug logging from SubmitPost 2019-09-19 20:42:43 +02:00
Łukasz Magiera
6c48ab3be4 Compute post more than once 2019-09-19 20:38:58 +02:00
Łukasz Magiera
42b8af302f get sector set size from AMT 2019-09-19 20:31:25 +02:00
Łukasz Magiera
18b72b1584 Fix bigint serialization 2019-09-19 20:15:44 +02:00
Łukasz Magiera
839597012d Fix post seed height math 2019-09-19 19:38:56 +02:00
Łukasz Magiera
c40f89f2a9 Almost working PoSt submission 2019-09-19 18:17:54 +02:00
Łukasz Magiera
d55e872135 Merge remote-tracking branch 'origin/master' into feat/post-schedule 2019-09-19 16:42:50 +02:00
Jakub Sztandera
9d7cdafde4 Add TODO about PoST verification errors
,
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-19 15:57:48 +02:00
Jakub Sztandera
a0f80bb4dd Another typo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-19 15:56:44 +02:00
Jakub Sztandera
6fe32f55fc Fix typo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-19 15:37:45 +02:00
Jakub Sztandera
54e076b6f9 Add randomness
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-19 15:32:00 +02:00
whyrusleeping
86fd132cf7 add deleting done sectors 2019-09-18 21:56:40 -07:00
Łukasz Magiera
689b1e5b3c events: Safer restarting in listenHeadChanges 2019-09-18 20:07:39 +02:00
Jakub Sztandera
9c02f7f839 Rought PoST method
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-18 17:10:03 +02:00
Łukasz Magiera
cc82cc9675 miner: Initial event system integration 2019-09-18 15:32:21 +02:00
Łukasz Magiera
76ce3d9bb2 events: Call ChainGetBlockMessages with the right CID 2019-09-18 13:45:52 +02:00
Łukasz Magiera
b85937dcdf events: More test cases for ChainAt 2019-09-18 13:10:23 +02:00
Łukasz Magiera
fe7efa753d events: Build on chain API calls 2019-09-18 13:01:52 +02:00
whyrusleeping
f2f60c029b Add impl for GetTipsetByHeight 2019-09-17 20:25:12 -07:00
whyrusleeping
9763810100 cleaup, small refactor 2019-09-17 19:55:51 -07:00
whyrusleeping
b1e77748e7 scaffolding and refactoring to make post scheduler work 2019-09-17 19:50:03 -07:00
whyrusleeping
cc877f5c04 WIP: expanding API to serve post producer needs 2019-09-17 17:08:49 -07:00
whyrusleeping
11040f105b WIP: post scheduling 2019-09-17 15:51:46 -07:00
Whyrusleeping
e244171cd9
Merge pull request #200 from filecoin-project/feat/post2
Add BitField with RLE
2019-09-18 04:45:38 +10:00
Łukasz Magiera
b33c1e1310
Merge pull request #201 from filecoin-project/feat/pond-stopstart
Graceful node shutdown, pond node stopping
2019-09-17 20:45:18 +02:00
Jakub Sztandera
f5a2d998bf Add BitField with RLE
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-17 11:24:11 -07:00
Whyrusleeping
0f92df7b06
Merge pull request #199 from filecoin-project/feat/serialization-3
final chain serialization bits
2019-09-18 04:21:55 +10:00
whyrusleeping
e7b642f1ff fix import grouping 2019-09-17 11:09:22 -07:00
Whyrusleeping
cf257ae773
Update chain/sync.go
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-09-18 04:08:03 +10:00
Łukasz Magiera
7f68fa9567 Fix tests 2019-09-17 16:45:09 +02:00
Łukasz Magiera
83f1a336a6 node: Basic graceful shutdown 2019-09-17 16:23:08 +02:00
Łukasz Magiera
8f84aa7097 Fix stmgr.GetMinerPeerID 2019-09-17 10:34:41 +02:00
Łukasz Magiera
5ea1459275 Use atomic moppl API in more places 2019-09-17 10:15:26 +02:00
Łukasz Magiera
567ae92ff2 Move more logic into statemanager 2019-09-17 10:00:38 +02:00
whyrusleeping
8d2bcc5e3d final chain serialization bits 2019-09-16 18:56:37 -07:00
Łukasz Magiera
f8a2ecaf52 gofmt; mod tidy 2019-09-16 23:26:19 +02:00
Łukasz Magiera
9fe198dc6f retrieval: payment validation 2019-09-16 23:25:23 +02:00
Łukasz Magiera
c275d1fb6a deals: call 'complete' handler 2019-09-16 20:08:24 +02:00
Łukasz Magiera
eda72468ce Sector Commitment tracker 2019-09-16 20:08:24 +02:00
Łukasz Magiera
1e07a12a2e More atomic mpool APIs 2019-09-16 20:08:23 +02:00
whyrusleeping
1075c9a5e0 implement ask query protocol 2019-09-13 16:49:27 -07:00
Łukasz Magiera
bc9f495440 deals: Check WainMsg error in handler 2019-09-13 22:50:07 +02:00
Łukasz Magiera
1ba1df3cac deals: don't throw away failed deals 2019-09-13 21:43:33 +02:00
Łukasz Magiera
9c276e5331 deals: Split state store 2019-09-13 21:19:13 +02:00
Łukasz Magiera
08ea758216 deals: 'fix' struct serialization 2019-09-13 20:19:49 +02:00
Łukasz Magiera
0406705490 vm: fix ReadState 2019-09-13 20:16:39 +02:00
Łukasz Magiera
6a31ff2f2e deals: Wait for channel messagi in handler 2019-09-13 19:59:10 +02:00
Łukasz Magiera
1fc7a48759 deals: API to list client deals 2019-09-13 19:59:10 +02:00
Łukasz Magiera
388e3ffa96 paych: Api to reuse open channels for new payments 2019-09-13 19:59:10 +02:00
Łukasz Magiera
72a406ec7e deals: Better client deal tracking 2019-09-13 19:59:10 +02:00
whyrusleeping
c7ad08c565 check block signatures during sync 2019-09-11 13:12:49 -07:00
whyrusleeping
fe2885382c self review, cleanup 2019-09-10 17:13:46 -07:00
whyrusleeping
a47969c76b finish up making the new serializations work 2019-09-10 16:03:17 -07:00
whyrusleeping
2f019158d0 more switching over to correct cbor marshaling 2019-09-10 12:58:45 -07:00
whyrusleeping
1f1bbc9b8d cbor gen types and cleaning up after 2019-09-09 19:53:18 -07:00
whyrusleeping
b5bd1820d9 WIP: vm perf improvements 2019-09-09 19:53:17 -07:00
whyrusleeping
512da42cde address review feedback 2019-09-09 19:14:27 -07:00
Whyrusleeping
3ab711d133 Update chain/stmgr/stmgr.go
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-09-09 19:14:27 -07:00
whyrusleeping
bc7f86ef05 self review, cleanup 2019-09-09 19:14:27 -07:00
whyrusleeping
74f68dc630 perform tipset expansion on sync and fix tipset comparison 2019-09-09 19:14:27 -07:00
whyrusleeping
b5462542a8 fix tests and fix a bug in blocksync 2019-09-09 19:14:26 -07:00
whyrusleeping
ed45d1c2b4 refactor state utilities into StateManager package, implement proper election proofs 2019-09-09 19:14:00 -07:00
whyrusleeping
6e21372ccb initial refactor for creating tipsets with multiple parents 2019-09-09 19:12:32 -07:00
Łukasz Magiera
4a5aa680ae deals: Address review 2019-09-09 21:21:37 +02:00
Łukasz Magiera
819e9a939d gofmt; mod tidy 2019-09-09 18:02:57 +02:00
Łukasz Magiera
19ec43d7fd deals: Store inclusion proofs in paychmgr 2019-09-09 16:00:50 +02:00
Łukasz Magiera
5200a37349 paychmgr: store proofs with vouchers 2019-09-09 15:59:07 +02:00
Łukasz Magiera
8b29c98919 paych actor: pass verification errors 2019-09-09 15:55:06 +02:00
Łukasz Magiera
83932a7c80 miner actor: Pass correct bytes to VerifyPieceInclusionProof 2019-09-09 15:50:52 +02:00
Łukasz Magiera
a1bcc826ac Fix amt.ErrNotFound handling in actor_miner 2019-09-09 13:22:09 +02:00
Łukasz Magiera
0b87411c7d Use AMT in StorageMinerActor ctor 2019-09-07 00:42:01 +02:00
Łukasz Magiera
4acf6d9d47 Partial payment integration in deals 2019-09-07 00:42:01 +02:00
Łukasz Magiera
2e7fb42a48 types: Better bigint error 2019-09-07 00:42:01 +02:00
Łukasz Magiera
b42164f76d mpool: Don't return nil from Pending 2019-09-07 00:42:01 +02:00
Łukasz Magiera
314141e4ea Set timestamp in miner 2019-09-07 00:42:01 +02:00
Łukasz Magiera
c034f0d763
Merge pull request #179 from filecoin-project/feat/events
Chain event helper
2019-09-05 11:25:24 +02:00
Łukasz Magiera
4fa37e7884 chain events: More docs 2019-09-05 10:27:08 +02:00
Łukasz Magiera
59fb84e77e chain events: NoTimeout const 2019-09-05 09:58:50 +02:00
Łukasz Magiera
611ea02cea chain events: More logical apply order 2019-09-05 09:57:18 +02:00
Łukasz Magiera
caed73ef6c chain events: Move to chain/events 2019-09-05 09:40:50 +02:00
Łukasz Magiera
50960b3f8c chain events: Separate heightEvents from main struct 2019-09-05 09:36:11 +02:00
Łukasz Magiera
519eed9290 chain events: Annotate types for readability 2019-09-05 09:31:16 +02:00
Jakub Sztandera
b3d881117d
Merge pull request #178 from filecoin-project/feat/fuzz
Fuzz message
2019-09-05 09:21:21 +02:00
Łukasz Magiera
afcb35e969 chain events: Make CalledHandler revert aware 2019-09-04 22:22:25 +02:00
Łukasz Magiera
f02119168e chain events: Make messagesForTs more robust 2019-09-04 22:01:06 +02:00
Łukasz Magiera
e4c73e9fd2 chain events: Timeouts, cancellation 2019-09-04 21:41:34 +02:00
Łukasz Magiera
56b5574a72 chain events: Fix some edge cases 2019-09-04 20:56:51 +02:00
Łukasz Magiera
289470a466 chain events: Restructure the logic 2019-09-04 18:09:08 +02:00
Łukasz Magiera
4d0d51b58c chain events: split headChange 2019-09-03 19:59:32 +02:00
Łukasz Magiera
5f88ceb965 basic chain event impl 2019-09-03 19:45:55 +02:00
Jakub Sztandera
5400547a5f Fuzz message
I had to move Verify function into separate file to tag it as `cgo` only
build. go-fuzz doesn't work with cgo.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-02 15:36:31 +02:00
whyrusleeping
cc9b638788 use wait func in other test 2019-08-30 18:11:32 -07:00
whyrusleeping
d0d7d259b6 fix ChainNotify 2019-08-30 18:03:10 -07:00
whyrusleeping
d7ab382c8c add (currently broken) testutil sync wait 2019-08-30 16:44:22 -07:00
whyrusleeping
054f0fc0ef trying to hack together automated benchmarks submission
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-30 15:47:22 -07:00
Łukasz Magiera
57d0f7c722
Merge pull request #162 from filecoin-project/feat/retrieval
Retrieval
2019-08-31 00:29:00 +02:00
Whyrusleeping
b0d0af603c
Merge pull request #167 from filecoin-project/feat/timestamping
Add proper timestamping and checking of timestamps
2019-08-30 14:23:55 -07:00
Whyrusleeping
7bf4ad8d9c
Merge pull request #171 from filecoin-project/feat/gas5
Charge per byte of object get
2019-08-30 11:23:02 -07:00
Whyrusleeping
7df6417ba8
Merge pull request #169 from filecoin-project/fix/msg-wait-panic
handle channel closing properly
2019-08-30 11:22:11 -07:00
Jakub Sztandera
e6b83d9428 Charge per byte of object get
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-30 18:05:54 +02:00
Łukasz Magiera
67e780825b Merge remote-tracking branch 'origin/master' into feat/retrieval 2019-08-30 13:25:03 +02:00
whyrusleeping
6144f1af73 handle channel closing properly 2019-08-29 20:25:31 -07:00
whyrusleeping
b69557251c Add proper timestamping and checking of timestamps 2019-08-29 19:59:54 -07:00
Łukasz Magiera
6b80b98c64 retrieval: fix actor tests 2019-08-29 21:01:29 +02:00
Łukasz Magiera
711c61cba1 Merge remote-tracking branch 'origin/master' into feat/retrieval 2019-08-29 20:59:03 +02:00
Jakub Sztandera
a8e03d8a69 Charge gas per msg byte
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-29 20:34:53 +02:00
Jakub Sztandera
5c31b81701 Charge per byte of storage
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-29 20:34:53 +02:00
Łukasz Magiera
fe6d5ff3a8 retrieval: resolve some TODOs 2019-08-29 17:51:52 +02:00
Łukasz Magiera
c437b6884d retrieval: gofmt 2019-08-29 17:51:52 +02:00
Łukasz Magiera
a6914309a6 retrieval: 'fix' GetPIP in handler 2019-08-29 17:51:06 +02:00
Łukasz Magiera
6714240653 SectorSize const 2019-08-29 17:50:19 +02:00
Łukasz Magiera
be30bc79a5 Retrieval works! 2019-08-29 17:50:19 +02:00
Łukasz Magiera
28d3eb38eb basic retrieval content discovery 2019-08-29 17:48:19 +02:00
Łukasz Magiera
cad3efb9ba Command to list sealed blocks 2019-08-29 17:48:19 +02:00
Łukasz Magiera
9691211df1 Sealed blockstore 2019-08-29 17:48:19 +02:00
whyrusleeping
2013db604a switch to using AMT for sector set 2019-08-28 17:01:46 -07:00
Jakub Sztandera
24fb5ca624
Merge pull request #160 from filecoin-project/feat/gas3
Charge per put and get
2019-08-27 22:45:38 +02:00
Jakub Sztandera
494ed768ba Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-27 22:40:30 +02:00
Jakub Sztandera
349d9a2fad Reenable test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-27 22:31:58 +02:00
Jakub Sztandera
8557505cbd Charge per put and get
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-27 17:01:17 +02:00
whyrusleeping
ccdc1575d6 add signatures to blocks 2019-08-26 17:46:39 -07:00
Whyrusleeping
07be1ad900
Merge pull request #155 from filecoin-project/feat/cbor-marshal-2
Codegen for faster cbor marshaling
2019-08-26 10:35:52 -07:00
Łukasz Magiera
78bfcce907 Fix mining after typecode changes to signatures 2019-08-26 10:46:01 +02:00
whyrusleeping
dd2a217940 remove spurious debug logs 2019-08-22 12:53:32 -07:00
whyrusleeping
8dd16e3bed some cleanup post PR submission 2019-08-22 12:53:32 -07:00
whyrusleeping
7eb89f90d1 Replace most marshaling with codegen 2019-08-22 12:53:32 -07:00
whyrusleeping
53be71fb73 Start using codegen 2019-08-22 12:53:32 -07:00
whyrusleeping
357c49eed8 Add cbor marshaling fastpath methods on several types 2019-08-21 18:29:56 -07:00
Łukasz Magiera
834837690b placeholder tipset.Weight implementation 2019-08-22 01:24:59 +02:00
Jakub Sztandera
0c3e8949c1 Introduce gas tracking in harness
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-21 23:29:47 +02:00
whyrusleeping
7c7a15d40c fix putting the wrong items into the receipts tree for verification 2019-08-21 10:40:28 -07:00
Łukasz Magiera
eda26faf21 Register miner address from storageminer process 2019-08-20 19:19:24 +02:00
Łukasz Magiera
82c449c047 fix sync_test.go 2019-08-20 18:51:10 +02:00
Łukasz Magiera
4431dffc39 miner: Create miner in DI 2019-08-20 18:50:17 +02:00
whyrusleeping
4f91550851 fix waiting for bls signed message 2019-08-16 15:10:34 -07:00
whyrusleeping
b271e5231a set up lotus-storage-miner to be able to use an existing miner actor 2019-08-16 14:50:00 -07:00
whyrusleeping
d9eaca5527 fix UpdateStorage to write back state 2019-08-16 13:24:37 -07:00
whyrusleeping
b2d425b891 TEMP: accept miner address from cli 2019-08-16 12:39:13 -07:00
whyrusleeping
f7dc253669 (mostly) proper ticket generation 2019-08-16 12:39:13 -07:00
whyrusleeping
5a7f59498e Wire up more proper ticket generation and verification logic 2019-08-16 12:39:12 -07:00
whyrusleeping
2efab559ec add error wraps and fix tests 2019-08-16 12:39:12 -07:00
whyrusleeping
e9d1f3e7c9 WIP: base mining on power and VRFs 2019-08-16 12:39:12 -07:00
Whyrusleeping
608885f87d
Merge pull request #136 from filecoin-project/fix/best-tip-init
ensure best tipset is set during genesis init
2019-08-16 10:44:55 -07:00
Jakub Sztandera
5d7c20c0b1
Merge pull request #142 from filecoin-project/feat/gas
Initial gas charning
2019-08-16 15:29:05 +02:00
Jakub Sztandera
f6387da969 Fix misspell
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-16 14:46:42 +02:00
Łukasz Magiera
77c9112b10 invoker: sort imports 2019-08-16 14:11:57 +02:00
whyrusleeping
6ae38740a1 add warning if no tipset found 2019-08-15 21:51:50 -07:00
whyrusleeping
e2dc8c8cee ensure best tipset is set during genesis init 2019-08-15 21:50:40 -07:00
Łukasz Magiera
1e9898f844 gofmt 2019-08-16 04:34:23 +02:00
Łukasz Magiera
3327781e60 chain: Better ReadState 2019-08-16 04:33:59 +02:00
Łukasz Magiera
e8faa77d59 init actor: Fix doubling the balance 2019-08-15 23:03:47 +02:00
Łukasz Magiera
760ebc341f storageminer: Split PaymentVerify into 2 methods 2019-08-15 22:57:14 +02:00
Jakub Sztandera
27057ee222 initial gas charning
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-15 18:24:06 +02:00
Łukasz Magiera
eb962940bd deals: wire up PaymentVerify 2019-08-15 17:04:40 +02:00
Łukasz Magiera
fc69556817 storageminer: Fix PaymentVerify interface 2019-08-15 16:07:45 +02:00
Łukasz Magiera
1579137236 storageminer: Initial PaymentVerify implementation 2019-08-15 15:52:14 +02:00
Łukasz Magiera
4c5ffb185e deals: setup payment channel for deals 2019-08-15 02:28:52 +02:00
Łukasz Magiera
1ed701db18
Merge pull request #138 from filecoin-project/feat/sectorstore
Sector Store
2019-08-15 01:10:45 +02:00
Łukasz Magiera
399f91940b Sector store 2019-08-14 22:27:32 +02:00
whyrusleeping
9fbcbc1ac8 bls message signature verification 2019-08-13 21:43:29 -07:00
Whyrusleeping
e050d56594
Merge pull request #132 from filecoin-project/feat/paych-manager
Implement payment channel manager
2019-08-13 12:13:23 -07:00
Łukasz Magiera
3a7a21ee83
Merge pull request #134 from filecoin-project/feat/more-deals
More deals progress
2019-08-13 19:32:58 +02:00
whyrusleeping
12acee5242 add payment channel CLI and finish up commands 2019-08-12 21:27:54 -07:00
Łukasz Magiera
9733e1f011 deals: use GetWorkerAddr 2019-08-13 01:54:53 +02:00
Łukasz Magiera
94044b40a2 pond: subcommands to run cmds on nodes 2019-08-13 01:09:08 +02:00
Łukasz Magiera
5ab1b1caaf deals: Sealing handler 2019-08-12 23:48:28 +02:00
whyrusleeping
ae34757e2a pull chain call into its own method and fix paych module 2019-08-12 11:30:20 -07:00
whyrusleeping
6979c28e05 Add API interface for payment channels and a few tests 2019-08-12 10:12:51 -07:00
Łukasz Magiera
22611f9226 remove missed log in msgpool 2019-08-12 19:09:32 +02:00
Łukasz Magiera
f99c8e032d pond: +1k button for addresses 2019-08-09 17:59:12 +02:00
whyrusleeping
27ad2700ec update payment channel actor to match spec 2019-08-08 10:58:21 -07:00
Łukasz Magiera
b2c3434bcd deals: Upstream bitswap changes 2019-08-08 19:16:41 +02:00
Łukasz Magiera
a664098867 deals: move PaymentInfo to paych actor 2019-08-07 20:20:04 -07:00
Łukasz Magiera
821e03bcd7 deals: Cleanup client a bit 2019-08-07 20:02:05 -07:00
Łukasz Magiera
25dbdd761a deals: Rewrite handler with error handling 2019-08-07 20:02:05 -07:00
Łukasz Magiera
3e2d04a540 deals: Use temp files for AddPiece 2019-08-07 20:02:05 -07:00
Łukasz Magiera
5e176eed78 deals: Log fetch errors 2019-08-07 20:01:51 -07:00
Łukasz Magiera
feee3893bf deals: Use correct file size for commP 2019-08-07 20:01:51 -07:00
Łukasz Magiera
9127bc2841 deals: Some lint fixes 2019-08-07 20:01:51 -07:00
Łukasz Magiera
cdc535394d deals: fix statestore 2019-08-07 20:01:51 -07:00
Łukasz Magiera
7423327b26 deals: Use real data in client 2019-08-07 20:01:51 -07:00
Łukasz Magiera
c79cb7bf31 deals: Almost sealing client data 2019-08-07 20:01:51 -07:00
Łukasz Magiera
5a865177e6 deals: More correct response in handler 2019-08-07 20:01:22 -07:00
Łukasz Magiera
5811f18b5e Address some review comments 2019-08-07 20:01:22 -07:00
Łukasz Magiera
b65041cac1 deals: Sending initial proposal works 2019-08-07 20:01:22 -07:00
Łukasz Magiera
549e7db12f deals: Implement basic handshake logic 2019-08-07 20:01:22 -07:00
Łukasz Magiera
ad9e433232 Start implementing storage deals 2019-08-07 20:00:49 -07:00
whyrusleeping
95e7b230ec cleanup from self review 2019-08-07 18:23:44 -07:00
whyrusleeping
ba0d648546 sealing garbage data into a sector that gets accepted by the chain works! 2019-08-07 18:16:58 -07:00
whyrusleeping
5c32725510 sector commitments make it all the way to the chain 2019-08-07 16:22:35 -07:00
whyrusleeping
b7c6333fef implement sector commitments and proof verification 2019-08-06 23:35:57 -07:00
whyrusleeping
206894a37f finish fallout of moving miner info into its own struct 2019-08-05 21:17:50 -07:00
whyrusleeping
8a0e233cbd WIP: implement enough of submitPoSt that we can get things moving 2019-08-05 17:01:49 -07:00
whyrusleeping
df5088ea77 bad merging caused this to get missed. my bad 2019-08-05 12:27:26 -07:00
Whyrusleeping
09539f9322
Merge pull request #118 from filecoin-project/feat/clarify-sync
clean up sync, make everything go in the same direction
2019-08-05 12:15:04 -07:00
Whyrusleeping
3e768742a2
Merge pull request #113 from filecoin-project/feat/bls-spec-change-refactor
refactoring to accomodate the bls message changes in the spec
2019-08-05 12:09:01 -07:00
Whyrusleeping
c18711b3f9
Merge pull request #105 from filecoin-project/feat/multisig
Implement multisig
2019-08-05 12:08:32 -07:00
Jakub Sztandera
a6bc33af08 Add spec changes
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-04 14:11:06 +02:00
Jakub Sztandera
b44f778325 Remove old send
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-03 13:53:18 +02:00
Jakub Sztandera
9577348422 Dual impl
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-03 13:26:35 +02:00
whyrusleeping
0cba124be0 CI machines are slow, need to stop relying on time 2019-08-02 16:23:26 -07:00
whyrusleeping
280dac7945 make 'mineNewBlock' testhelper 2019-08-02 16:14:58 -07:00
whyrusleeping
b35b801bfa self review 2019-08-02 15:34:18 -07:00
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
dc7c0fcabe refactoring to accomodate the bls message changes in the spec 2019-08-01 18:19:22 -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
Jakub Sztandera
8e4661e6d2 Fix MTransaction
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:59 +02:00
Jakub Sztandera
f19b8c82f4 Wip on tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:59 +02:00
Jakub Sztandera
0a37ca0344 Change op order
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:58 +02:00
Jakub Sztandera
f7a8d11f14 Make array prealloc correct size
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:58 +02:00
Jakub Sztandera
b6b4c04cda More save reuse
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:58 +02:00
Jakub Sztandera
c2cb2c4184 Clean lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:58 +02:00
Jakub Sztandera
d2edad5d04 Implement rest of the methods
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:58 +02:00
Jakub Sztandera
a48d38d976 Start implementing multisig
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-31 21:57:58 +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
Jakub Sztandera
38102b28c6
Merge pull request #66 from filecoin-project/errors/oh-errors
Create actor error type
2019-07-23 20:25:44 +02:00
Jakub Sztandera
2e6dd1b862 Wrap and return correct error
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 20:25:17 +02:00
Jakub Sztandera
68cfff17e5 Make invoker error non fatal
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 20:25:17 +02:00
Jakub Sztandera
1ec274671e Make lint even happier
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:16:42 +02:00
Jakub Sztandera
fd374fa180 Fix new
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:07:36 +02:00
Jakub Sztandera
e513884a5a Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:04:45 +02:00
Jakub Sztandera
537ff23a63 Complete the refactor
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:01:52 +02:00
Jakub Sztandera
877ccb3803 make invoker work again
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 14:45:45 +02:00
Jakub Sztandera
020fb6f8a3 Mid rework
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 14:45:44 +02:00
Jakub Sztandera
02dab3eb51 Create actor error type
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 14:45:15 +02:00
whyrusleeping
5fb59c06bd add a getblock command 2019-07-22 17:54:27 -07:00
Whyrusleeping
13e217987b
Merge pull request #68 from filecoin-project/bench/state-tree
initial benchmarks for state tree operations
2019-07-22 12:13:28 -07:00
Whyrusleeping
19979a5ab7
Merge pull request #48 from filecoin-project/feat/create-miner
create miner command, stubbed out methods
2019-07-22 12:13:11 -07:00
Whyrusleeping
e920192e04
Merge pull request #64 from filecoin-project/feat/go-bls-sigs
Switch to go-bls-sigs
2019-07-22 11:10:40 -07:00
whyrusleeping
3f0c7f37f9 fix serialization issues 2019-07-20 16:37:38 -07:00
whyrusleeping
05b8158285 implement a few of the TODOs 2019-07-20 16:37:37 -07:00
whyrusleeping
9a7823ab84 WIP: create miner command, stubbed out methods 2019-07-20 16:37:37 -07:00
whyrusleeping
1e03984ab5 initial benchmarks for state tree operations 2019-07-20 14:58:20 -07:00
Jakub Sztandera
ae7a917e49 Fix import in tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-19 14:00:09 +02:00
Jakub Sztandera
d745fa1af1 Switch to go-bls-sigs
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-19 13:56:58 +02:00
whyrusleeping
f0841203a3 add a command to check wallet balance 2019-07-18 13:26:04 -07:00
Whyrusleeping
27a7858055
Merge pull request #54 from filecoin-project/feat/benchmarks-1
write a couple simple benchmarks
2019-07-18 11:29:39 -07:00
Jakub Sztandera
6496805cc3 Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 17:44:10 +02:00
Jakub Sztandera
710f87fdf4 Integrate keystore with chain/wallet
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 17:41:30 +02:00
Jakub Sztandera
cb9bf4200c Move KeyStore into types
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 16:57:49 +02:00
whyrusleeping
b7d7f5fb71 write a couple simple benchmarks 2019-07-17 23:24:11 -07:00
Jakub Sztandera
9597ed8498 Make PowerLookup work and test it
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-17 18:00:59 +02:00
Jakub Sztandera
81f03a9f68 Add and test IsMiner
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-17 16:31:25 +02:00
Jakub Sztandera
6ee1b6fc84 Add GetPower
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-17 15:48:20 +02:00
whyrusleeping
ef5b54fe7f implement commit sector and some storage market methods 2019-07-16 12:17:56 -07:00
Jakub Sztandera
4f8326f711 Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:51:44 +02:00
Jakub Sztandera
d373f78326 Adapt to need changes in spec
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:45:10 +02:00
Jakub Sztandera
1a1d2c8789 Switch to xerrors
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:45:10 +02:00
Jakub Sztandera
35575263cb Add more tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:45:10 +02:00
Jakub Sztandera
227b9f7e18 Fix test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:48 +02:00
Jakub Sztandera
de18f9c865 pass From to Send
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:48 +02:00
Jakub Sztandera
be60e28412 Uncomment rest of test code
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:48 +02:00
whyrusleeping
e7110ff68d handle copy over state tree and identity multihashes
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:46 +02:00
Jakub Sztandera
9da31fb6ad OMG this is killing me
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:43:34 +02:00
Jakub Sztandera
218e965869 Add actor harness
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:43:34 +02:00
Whyrusleeping
c4c571cfa6
Merge pull request #26 from filecoin-project/feat/storage-market-actor
integrating storage market actor, includes cross actor messaging
2019-07-15 10:57:23 -07:00
whyrusleeping
c44eeab51a pull out constant 2019-07-15 10:48:59 -07:00
Jakub Sztandera
1aa3cf3043 Remove UnmarshalCBOR functions
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-15 17:51:46 +02:00
Jakub Sztandera
2364a73b92 Switch from UnmarshalCBOR interface to calling CBOR
Now invoker is calling CBOR directly.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-15 17:48:17 +02:00
whyrusleeping
1a929d0f73 add wallet new and list commands 2019-07-12 17:41:32 -07:00
whyrusleeping
0ac3545013 move actors to separate package 2019-07-12 16:52:25 -07:00
whyrusleeping
e62816dd15 some cleanup 2019-07-12 16:12:06 -07:00
whyrusleeping
a5428d5c19 pull out test boilerplate 2019-07-12 14:57:49 -07:00
whyrusleeping
c5e9a8a550 finish wiring, test passes! 2019-07-12 14:36:49 -07:00
whyrusleeping
9747ed3bef integrating storage market actor, includes cross actor messaging 2019-07-12 14:12:21 -07:00
Jakub Sztandera
2981c95207 Fix invoker when UnmarshalCBOR errors
Underlying issue: https://git.io/fjXU6

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 23:06:22 +02:00
whyrusleeping
d88c857deb expose state tree on vmcontext for the init actor 2019-07-12 09:40:58 -07:00
Jakub Sztandera
44fdf98484 Fix lint warnings
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 17:06:16 +02:00
whyrusleeping
c4022505c7 integrate init actor to vm invoker
more wiring

Add a test for the basic init.exec running and make it pass

fix bad block comment

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 15:24:35 +02:00
Jakub Sztandera
e720f5d3a6 Extract most of the rest and make VMContext an interface
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 12:43:55 +02:00
Jakub Sztandera
9746b88bb3 Move Actor, BigInt, MessageReceipt
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 12:23:05 +02:00
Jakub Sztandera
60efe8542e
Merge pull request #19 from filecoin-project/feat/invoke
Add built in invoker
2019-07-11 21:09:24 +02:00
Jakub Sztandera
c3a34d9373 fix lack of newErr instance
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 18:17:47 +02:00
Jakub Sztandera
9f8572018f Switch to exports
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 18:15:44 +02:00
Jakub Sztandera
219fc093b1 Fix lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:47:05 +02:00
Jakub Sztandera
6f2cd71e86 Remove not needed panic
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:40:01 +02:00
Jakub Sztandera
286bba10eb Add built in invoker
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:38:37 +02:00
whyrusleeping
1d31e50ec5 demote error message 2019-07-10 22:17:49 -07:00
whyrusleeping
19c883cdfe fix a few things, including marshaling of tipset 2019-07-10 21:36:10 -07:00
whyrusleeping
d381025ccc Implement initial mining logic 2019-07-10 19:36:43 -07:00
whyrusleeping
d6311a3a2b WIP: thoughts on apis needed for mining process 2019-07-08 19:48:49 -04:00
whyrusleeping
e8d54839da pull buffered blockstore into the lib folder 2019-07-08 22:29:01 +02:00
Jakub Sztandera
4df601ea6a Fix imports and range reference warnings
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 17:14:36 +02:00
Łukasz Magiera
d1eb9073d1 Pubsub for blocks/messages 2019-07-08 16:07:09 +02:00
Łukasz Magiera
e162b5395c Construct enough to run hello 2019-07-08 15:36:53 +02:00
Łukasz Magiera
b3239d9b23 Drop old libp2p imports 2019-07-08 14:51:45 +02:00
Łukasz Magiera
9299ba5fa6 Fix imports 2019-07-08 14:46:30 +02:00
Łukasz Magiera
4ef4721820 Move json/cbor rpc to lib 2019-07-08 13:02:02 +02:00
Łukasz Magiera
f06d874a8a Fix build 2019-07-08 13:00:52 +02:00
Łukasz Magiera
2987d04efa chain: Fix most build errors 2019-07-05 16:47:03 +02:00
Łukasz Magiera
277b117d9f gofmt, mod tidy 2019-07-05 16:36:08 +02:00
Łukasz Magiera
bd0b189d1e chain: Use f2 code 2019-07-05 16:29:17 +02:00