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