dtynn
8bd62165f5
RemoveFromSectorSet2 is declared but never used, remove redclared one
2020-01-18 20:08:44 +08:00
dtynn
ae8a9a93bf
correctly update proving set & sector set with amt2 after some fork height
2020-01-18 19:41:34 +08:00
whyrusleeping
c6bf252a21
use right fork trigger height
2020-01-17 21:35:45 -08:00
whyrusleeping
f9ea6969c3
Catch cases where new old miners with bad code were getting made
2020-01-17 21:20:56 -08:00
whyrusleeping
0a45e97699
implement state call command for easy method calling
2020-01-17 18:27:29 -08:00
Whyrusleeping
3962d4204b
Merge pull request #1096 from filecoin-project/fix/msgset-add-error
...
Add missing fields to duplicate message error
2020-01-17 16:22:20 -08:00
whyrusleeping
128933a655
fix slashing test
2020-01-16 22:27:56 -08:00
whyrusleeping
055b215bc7
don't allow slashing with old blocks
2020-01-16 22:14:00 -08:00
whyrusleeping
fb173c058e
WIP: blizzard fork changes and test utilities
2020-01-16 18:33:43 -08:00
whyrusleeping
2edb32979f
move fork constant and tag fork branch with comment
2020-01-16 15:11:08 -08:00
whyrusleeping
e3bed8d12a
Catch passing duplicate block to arbitrate consensus fault
2020-01-16 15:11:08 -08:00
Jakub Sztandera
84de47377c
Intoroduce AMT v2 and amtFsck
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-16 23:21:16 +01:00
Travis Person
06c99d0e18
Add missing fields to duplicate message error
2020-01-16 17:13:00 +00:00
Travis Person
68f8d60323
Adding fields to warning in vm ApplyMessage ( #1090 )
...
* Adding fields to warning in vm ApplyMessage
2020-01-16 01:36:16 +01:00
jsign
08b99ff413
new api to calculate arbitrary forks revert and applys
...
Signed-off-by: jsign <jsign.uy@gmail.com>
2020-01-14 21:24:08 -03:00
Łukasz Magiera
05edf50931
Merge branch 'master' into feat/event-states
2020-01-15 00:35:52 +01:00
Łukasz Magiera
24e36852af
Fix nil signature verification
2020-01-14 16:52:01 +01:00
Łukasz Magiera
8a9707788c
Merge branch 'master' into feat/event-states
2020-01-14 16:31:10 +01:00
Jakub Sztandera
c2fdca470d
Add additional checks to ACF
...
Fixes https://github.com/filecoin-project/lotus/issues/1074
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-14 13:22:41 +01:00
Łukasz Magiera
94a21e3aeb
Update deps
2020-01-14 03:05:46 +01:00
Łukasz Magiera
2ca0c152ba
Deal tests on mock sectorbuilder
2020-01-14 03:05:46 +01:00
Łukasz Magiera
a2bcc1fec2
Mostly functional mock sectorbuilder
2020-01-14 03:05:35 +01:00
Łukasz Magiera
e06c19b51c
update deps
2020-01-13 17:39:54 +01:00
Łukasz Magiera
b6fda30719
Merge pull request #1057 from filecoin-project/feat/markets-extraction
...
Markets Extraction
2020-01-10 20:49:09 +01:00
whyrusleeping
83605dfd95
check for duplicate candidates in block headers
2020-01-10 09:57:58 -08:00
hannahhoward
65ecb33630
feat(storagemarket): extract storage market
...
remove all shared components, point at go-fil-components repo
2020-01-10 09:49:07 -08:00
hannahhoward
0a4eeb7cb1
refactor(retrievalmarket): switch to go-fil-markets repo
...
Switch go-fil-components to go-fil-markets
2020-01-10 09:13:12 -08:00
Łukasz Magiera
469136ee86
Merge pull request #1040 from filecoin-project/feat/fork-signaling
...
Add fork signaling to blockheader
2020-01-10 13:33:29 +01:00
hannahhoward
ccf359d057
feat(retrieval): extract retrievalmarket
...
Extract retrieval market and modify shared types
2020-01-09 19:46:07 -08:00
hannahhoward
da4528932a
feat(storagemarket): initial extraction
...
Types for storage market
Modify deals.Provider to implement storagemarket.StorageProvider
Inject storagemarket.StorageProvider
Storage Provider interfaces
Storage Client interfaces
Add ValidatePublishedDeal to ClientNodeAdapter
Remove FundManager from client
Remove Wallet from client
Remove StateManager, Events, Wallet from client
Rebasing
- Copy types.BigInt, use TokenAmount/BigInt for token amounts
- Remove auto-imported log package
- Move `checkAskSignature` to a client file.
- Plumb contexts through
fix(storagemarket): use publish cids
Switch back to publish message cids to reduce the dependency surface area
2020-01-10 03:29:46 +01:00
whyrusleeping
6c9289df0a
don't require signatures for self deals
2020-01-09 14:18:06 -08:00
Łukasz Magiera
f0f8d83980
Merge pull request #826 from filecoin-project/feat/retrieval-market-skeleton
...
Retrieval Market Cleanup W/ Node Interfaces
2020-01-09 22:06:46 +01:00
whyrusleeping
7ba34535b7
Set hard limit on maximum randomness lookback for seal proof submissions
2020-01-08 14:43:03 -08:00
hannahhoward
5b74a71dd3
feat(retrievalmarket): extract skeleton interfaces
...
Define all types to spec, modify interfaces, wrap old code
fix(builder): use client blockstore for retrieval
feat(retrieval): add node implementations
add node adapters for client & provider so that retrieval can be extracted
2020-01-08 12:45:43 -08:00
Jakub Sztandera
8cfb4aafcd
Add fork signaling to blockheader
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:31:08 +01:00
Jakub Sztandera
1ed62628a7
Update go-log to v2
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:22:31 +01:00
Łukasz Magiera
f198e81af1
Merge pull request #1032 from filecoin-project/feat/drop-most-fatal-errors
...
reduce most vm errors to non-fatal, explicitly mark disk issues as fatal
2020-01-08 14:58:35 +01:00
hannahhoward
5312340bf9
refactor(datatransfer): use independent repo
...
Use independent repo for go-data-transfer
2020-01-08 14:20:31 +01:00
hannahhoward
61e2568b8d
feat(datatransfer): implement and extract
...
feat(datatransfer): setup implementation path
Sets up a path to implementation, offering both the dagservice implementation and a future graphsync
implement, establishes message interfaces and network layer, and isolates the datatransfer module
from the app
WIP using CBOR encoding for dataxfermsg
* Bring cbor-gen stuff into datatransfer package
* make transferRequest private struct
* add transferResponse + funcs
* Rename VoucherID to VoucherType
* more tests passing
WIP trying out some stuff
* Embed request/response in message so all the interfaces work AND the CBOR unmarshaling works: this is more like the spec anyway
* get rid of pb stuff
all message tests passing, some others in datatransfer
Some cleanup for PR
Cleanup for PR, clarifying and additional comments
mod tidy
Respond to PR comments:
* Make DataTransferRequest/Response be returned in from Net
* Regenerate cbor_gen and fix the generator caller so it works better
* Please the linters
Fix tests
Initiate push and pull requests (#536 )
* add issue link for data TransferID generation
* comment out failing but not relevant tests
* finish voucher rename from Identifier --> Type
tests passing
cleanup for PR
remove unused fmt import in graphsync_test
a better reflection
send data transfer response
other tests passing
feat(datatransfer): milestone 2 infrastructure
Setup test path for all tickets for milestone 2
responses alert subscribers when request is not accepted (#607 )
Graphsync response is scheduled when a valid push request is received (#625 )
fix(datatransfer): fix tests
fix an error with read buffers in tests
fix(deps): fix go.sum
Feat/dt graphsync pullreqs (#627 )
* graphsync responses to pull requests
Feat/dt initiator cleanup (#645 )
* ChannelID.To --> ChannelID.Initiator
* We now store our peer ID (from host.ID()) so it can be used when creating ChannelIDs.
* InProgressChannels returns all of impl.channels, currently just for testing
* Implements go-data-transfer issue
* Some assertions were changed based on the above.
* Renamed some variables and added some assertions based on the new understanding
* Updated SHA for graphsync module
* Updated fakeGraphSync test structs to use new interfaces from new SHA above
Techdebt/dt split graphsync impl receiver (#651 )
* Split up graphsyncImpl and graphsyncReceiver
* rename graphsync to utils
DTM sends data over graphsync for validated push requests (#665 )
* create channels when a request is received. register push request hook with graphsync. fix tests.
* better NewReaders
* use mutex lock around impl.channels access
* fix(datatransfer): fix test uncertainty
* fix a data race and also don't use random bytes in basic block which can fail
* privatize 3 funcs
with @hannahhoward
Feat/dt gs pullrequests (#693 )
* Implements DTM Sends Data Over Graphsync For Validated Pull Requests
* rename a field in a test struct
* refactor a couple of private functions (one was refactored out of existence)
Feat/dt subscribe, file Xfer round trip (#720 )
Implements the rest of Subscriber Is Notified When Request Completed #24 :
* send a graphsync message within a go func and consume responses until error or transfer is complete.
* notify subscribers of results.
* Rename datatransfer.Event to EventCode.
* datatransfer.Event is now a struct that includes a message and a timestamp as well as the Event.Code int, formerly Event, update all uses
* Add extension data to graphsync request hook, gsReq
* rename sendRequest to sendDtRequest, to distinguish it from sendGsRequest, where Dt = datatransfer, Gs = graphsync
* use a mutex lock for last transfer ID
* obey the linter
Don't respond with error in gsReqRcdHook when we can't find the datatransfer extension. (#754 )
* update to correct graphsync version, update tests & code to call the new graphsync hooks
* getExtensionData returns an empty struct + nil if we can't find our extension
* Don't respond with error when we can't find the extension.
* Test for same
* mod tidy
minor fix to go.sum
feat(datatransfer): switch to graphsync implementation
Move over to real graphsync implementation of data transfer, add constructors for graphsync
instances on client and miner side
fix(datatransfer): Fix validators
Validators were checking payload cid against commP -- which are not the same any more. Added a
payloadCid to client deal to maintain the record, fixed validator logic
Feat/dt extraction use go-fil-components/datatransfer (#770 )
* Initial commit after changing to go-fil-components/datatransfer
* blow away the datatransfer dir
* use go-fil-components master after its PR #1 was merged
* go mod tidy
use a package
updates after rebase with master
2020-01-08 14:19:28 +01:00
Łukasz Magiera
1392dcc273
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-08 13:53:01 +01:00
Łukasz Magiera
86a22a3896
Merge pull request #1029 from filecoin-project/feat/mpoolpush-cid
...
mpool: Return CID in MpoolPush
2020-01-08 13:43:03 +01:00
whyrusleeping
897cf72933
Add command to mark given blocks as bad
2020-01-07 21:42:15 -08:00
Łukasz Magiera
a11e8093e5
mpool: Return CID in MpoolPush
2020-01-07 21:10:30 -08:00
whyrusleeping
3965e1053e
fix build
2020-01-07 21:05:45 -08:00
whyrusleeping
e41dbdad90
reduce most vm errors to non-fatal, explicitly mark disk issues as fatal
2020-01-07 19:46:55 -08:00
Jakub Sztandera
f572cdea47
Fix logic, improve tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
5e775929be
Cleanup handing and add tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
65724133ea
Add tests
...
,
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
a63c34a902
Handle faults in ss and pss correctly
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:18 +01:00
Jakub Sztandera
dbc729d049
Validate length of RLE
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 22:54:43 +01:00
Łukasz Magiera
7b134b8317
Merge pull request #1031 from filecoin-project/feat/block-message-limit
...
introduce a limit on the number of messages a block can have
2020-01-07 21:48:57 +01:00
Łukasz Magiera
22e9815928
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-07 21:45:30 +01:00
whyrusleeping
a109ae1490
introduce a limit on the number of messages a block can have
2020-01-07 12:41:26 -08:00
laser
841f9c3627
reorganize imports to pass linter
2020-01-07 08:23:12 -08:00
laser
20321bb476
handle rebase
2020-01-07 08:18:35 -08:00
acruikshank
7873213b11
switch sectorbuilder from lib to external module
...
point to correct version of sectorbuilder + ensure go-datastore stays at 0.1.1
replace local address type with go-address
consume paramfetch.GetParams instead of local paramfetch.go
remove constants now defined in sectorbuilder
2020-01-07 07:48:43 -08:00
Łukasz Magiera
97ae184d0a
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-07 15:06:35 +01:00
Łukasz Magiera
1e7f10e387
gofmt
2020-01-07 15:00:10 +01:00
hannahhoward
718acb0a86
refactor(cborutil): extract cborutil library
...
Use extracted cborutil library
2020-01-07 14:59:35 +01:00
hannahhoward
14ecd1929b
refactor(crypto): use extracted crypto library
2020-01-07 14:53:30 +01:00
hannahhoward
8418464d91
refactor(address): use extracted address library
...
Switch to using extracted address library
2020-01-07 14:53:27 +01:00
Łukasz Magiera
2635028933
Merge pull request #1024 from filecoin-project/fix/sizestr-overflow
...
Fix SizeStr index out of band
2020-01-07 14:30:15 +01:00
Łukasz Magiera
605562467d
Flatten fork code for testnet2
2020-01-06 19:39:57 +01:00
Jakub Sztandera
2d22f9c3d3
Fix SizeStr index out of band
...
add test for it
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-06 15:27:19 +01:00
whyrusleeping
dafad17a9b
also test fault values out of range
2019-12-20 20:04:38 -08:00
whyrusleeping
8098d23768
test to ensure that submitting bad faults doesnt cause an error
2019-12-20 20:02:18 -08:00
whyrusleeping
5d9d51ba2d
don't fail execution if the fault set contains an invalid sector ID
2019-12-20 19:33:11 -08:00
Łukasz Magiera
e3a22d2027
Fix withUpdates
2019-12-20 09:31:59 +01:00
Łukasz Magiera
ed3a2b0025
Set correct head in forkNoPowerEPS
2019-12-20 08:30:12 +01:00
Whyrusleeping
41aef3d2eb
Merge pull request #984 from filecoin-project/feat/tag-good-peers
...
Tag peers who send us good blocks over pubsub
2019-12-19 17:58:29 -08:00
Łukasz Magiera
ef3795ae3d
Merge pull request #988 from filecoin-project/fork/fix-no-power-eps
...
FORK: No power EPS Fix
2019-12-19 22:53:35 +01:00
Łukasz Magiera
f7604b84f7
Merge pull request #965 from filecoin-project/feat/no-fatal-serialization
...
make serialization error non-fatal
2019-12-19 22:04:27 +01:00
whyrusleeping
e5899f614a
Tag peers who send us good blocks over pubsub
2019-12-19 12:47:55 -08:00
Łukasz Magiera
6ce4cf12f7
Care about nullblocks in handleStateForks
2019-12-19 21:01:05 +01:00
Łukasz Magiera
d21e24c270
don't modify existing actor code
2019-12-19 20:38:50 +01:00
Łukasz Magiera
3f54cbabe0
FORK: No power EPS Fix
2019-12-19 19:47:25 +01:00
Łukasz Magiera
81233b894d
Implement 'chain get' for easier ipld digging
2019-12-19 17:58:02 +01:00
Łukasz Magiera
7fd31192d2
Merge pull request #964 from filecoin-project/feat/sb-faults
...
Wire up faults in fPoSt
2019-12-18 17:37:27 +01:00
whyrusleeping
897d4c7d24
make serialization error non-fatal
2019-12-17 19:41:58 -08:00
whyrusleeping
fda3811dcf
Update cbor-gen to latest master
2019-12-17 19:06:06 -08:00
Łukasz Magiera
2e95a53679
Wire up faults in fPoSt
2019-12-17 23:33:08 +01:00
whyrusleeping
3cb4a60db4
some log cleanup and an extra trace value
2019-12-17 14:15:51 -08:00
Whyrusleeping
31327a383f
Merge pull request #948 from filecoin-project/feat/sybill-fun
...
Basic sybill resistance mechanisms
2019-12-17 20:45:45 +01:00
whyrusleeping
6cb6167393
bump up filecoin related weights
2019-12-17 10:16:10 -08:00
Łukasz Magiera
4ea6305771
sync: Check bls aggregate early
2019-12-17 12:20:09 +01:00
whyrusleeping
7dcc528cd1
tag peers who propagate good blocks to us
2019-12-16 23:06:48 -08:00
whyrusleeping
022581d50b
add routine to tag miners peer IDs as high value in connection manager
2019-12-16 22:51:41 -08:00
whyrusleeping
28b470cb0d
blocksync tagging
2019-12-16 22:15:06 -08:00
whyrusleeping
4e4d6fb8de
parallelize bls message hashing for validation
2019-12-16 19:36:32 -08:00
Łukasz Magiera
3fda442bb3
Merge pull request #934 from filecoin-project/feat/sb-diskmgr
...
sectorbuilder: Check free space before creating sectors
2019-12-16 21:37:18 +01:00
Łukasz Magiera
3892e94bfe
Merge pull request #938 from filecoin-project/feat/load-tipset-cache
...
cache load tipset
2019-12-16 21:13:03 +01:00
whyrusleeping
6e94377469
cache load tipset
2019-12-16 11:22:56 -08:00
Łukasz Magiera
f297409d6d
Merge pull request #936 from filecoin-project/feat/cleanup-logspam
...
clean up some log spam
2019-12-16 18:17:14 +01:00
whyrusleeping
99eae286c2
clean up some log spam
2019-12-16 09:14:21 -08:00
Łukasz Magiera
825e3a0774
sectorbuilder: check free space before creating sectors
2019-12-16 17:16:08 +01:00
Jakub Sztandera
c25f616562
Merge pull request #932 from filecoin-project/feat/cfg-uncomment-sections
...
config: Don't comment sections be default
2019-12-16 13:03:45 +01:00
Łukasz Magiera
d6f543ce87
gofmt
2019-12-16 13:00:43 +01:00
Łukasz Magiera
9b2eab6a3f
Merge pull request #925 from filecoin-project/fix/future-mining
...
dont allow submitting blocks more than a second in the future
2019-12-16 12:39:35 +01:00
Whyrusleeping
7293f7415d
Merge pull request #715 from filecoin-project/frrist/chainval-multisig
...
chainval | multisig tests
2019-12-16 02:58:30 +01:00
whyrusleeping
159117e720
dont allow submitting blocks more than a second in the future
2019-12-15 16:43:32 -08:00
Łukasz Magiera
1415ba4ce7
Merge pull request #898 from filecoin-project/feat/storage-market-tracing
...
add a bit more tracing in publish storage deal
2019-12-13 10:59:31 +01:00
whyrusleeping
28a325efe6
soft fail messages that cause precomitted sectors map to become too large
2019-12-13 00:00:20 +01:00
whyrusleeping
71cbd79290
add a bit more tracing in publish storage deal
2019-12-12 19:25:15 +01:00
Łukasz Magiera
cf9edae000
Merge pull request #878 from filecoin-project/feat/cw-sset-counts
...
chainwatch: Collect sector set sizes
2019-12-12 17:32:12 +01:00
Jakub Sztandera
b96da09a5d
Add additional checks
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-12 14:24:24 +01:00
Jakub Sztandera
1eed506728
Implement fork
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-12 14:16:47 +01:00
Jakub Sztandera
344dd2ca5a
Fix candidate check
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-12 14:12:43 +01:00
Łukasz Magiera
fc6073d13b
chainwatch: Collect sector set sizes
2019-12-12 00:32:09 +01:00
Jakub Sztandera
ae2a694dcb
Remove sync time
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 22:03:53 +01:00
whyrusleeping
f141849df5
fix incoming tipset bucketing
2019-12-11 21:41:24 +01:00
Łukasz Magiera
37113aeab1
Final testnet params
2019-12-11 17:27:30 +01:00
Łukasz Magiera
62ede45dfc
Merge pull request #855 from dtynn/fix/duplicate_call_on_unsub
...
fix: duplicate unsub calls when client quits
2019-12-11 14:09:09 +01:00
dtynn
8fd624fd5b
fix: duplicate unsub calls when client quits
2019-12-11 20:37:52 +08:00
Łukasz Magiera
544bba6126
Merge pull request #845 from filecoin-project/fix/other-gen-sync-panic
...
fix all panics from calling NewTipSet on an empty set of blocks
2019-12-10 22:47:21 +01:00
whyrusleeping
12eed004ae
fix all panics from calling NewTipSet on an empty set of blocks
2019-12-10 22:41:02 +01:00
Łukasz Magiera
b4cf80f540
mempool: Don't crash if loading local messages fails
2019-12-10 20:42:09 +01:00
Łukasz Magiera
70c057934e
Merge pull request #836 from filecoin-project/fix/genesis-miner-power
...
Fix setting genesis miner power
2019-12-10 20:28:40 +01:00
Łukasz Magiera
e5dfbef83a
genesis: Fix miner power setting
2019-12-10 17:55:21 +01:00
Jakub Sztandera
9d9040558f
Collect hello message latency
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 16:36:48 +01:00
Łukasz Magiera
fe95c59158
Merge pull request #832 from filecoin-project/feat/smrt-rbc
...
Smarter message rebroadcast
2019-12-10 16:18:04 +01:00
Jakub Sztandera
43bc25d04a
Fix edge case
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 14:45:15 +01:00
Jakub Sztandera
c37ec227e9
Fix lint warning
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 14:16:01 +01:00
Jakub Sztandera
44d8f4d6d4
Smarter message rebroadcast
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 14:13:20 +01:00
whyrusleeping
bbc616c70c
fix including multiple blocks from the same miner in a tipset
2019-12-10 12:07:07 +01:00
Łukasz Magiera
852415ce04
Merge pull request #822 from filecoin-project/fix/sync-tests
...
fix sync tests
2019-12-09 22:18:29 +01:00
whyrusleeping
e27217c6a1
fix sync tests
2019-12-09 22:17:15 +01:00
Jakub Sztandera
1914412adf
Make it cleaner
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 22:11:02 +01:00
Łukasz Magiera
c816ded4e5
Merge pull request #814 from filecoin-project/feat/minimum-miner-size
...
implement a minimum miner size
2019-12-09 21:32:30 +01:00
whyrusleeping
d64f8a38d1
implement a minimum miner size
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 21:30:04 +01:00
Łukasz Magiera
d750723405
Merge remote-tracking branch 'origin/testnet-staging' into feat/cleanup-sectorstate-structs
2019-12-09 21:27:20 +01:00
whyrusleeping
d2448912a6
Implement basic fault handling
...
WIP: miner actor tests
working miner actor test
rebase and fix tests
2019-12-09 20:53:43 +01:00
frrist
b6b91372cb
add multisig test calls and update to v0.0.3
2019-12-09 09:55:24 -08:00
Jakub Sztandera
887a34135b
Make ElectionPostChallengeCount math overflow safe
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 18:34:18 +01:00
Henri S
9e363f9266
fix target for ePoSt IsTicketWinner fn
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 18:34:15 +01:00
Łukasz Magiera
ff963dfea5
Merge pull request #780 from filecoin-project/feat/storage-deal-cleanup
...
Clean up storage deal structures
2019-12-09 18:31:18 +01:00
Łukasz Magiera
44f3a501ab
Merge pull request #783 from filecoin-project/fix/bad-epost-mining
...
Fix/bad epost mining
2019-12-09 18:27:24 +01:00
Łukasz Magiera
94df2c656e
Use map encoders for some structs
2019-12-09 17:40:15 +01:00
Łukasz Magiera
0b4db5530c
Merge pull request #804 from filecoin-project/fix/retrieve-large
...
Fix retrieval of large files
2019-12-09 16:28:47 +01:00
Łukasz Magiera
d18179d347
Merge pull request #792 from filecoin-project/fix/precommit-cancel-commit
...
Handle reverts in precommit more correctly
2019-12-09 15:53:25 +01:00
Łukasz Magiera
570d725ce5
type-gen
2019-12-09 15:41:44 +01:00
Łukasz Magiera
ed0324bcc8
Merge pull request #794 from filecoin-project/feat/parallel-tss-caching
...
dont waste work when calling ComputeTipSetState in parallel
2019-12-09 15:04:23 +01:00
whyrusleeping
eba3f4af86
address PR review
2019-12-08 23:39:08 +01:00
Łukasz Magiera
0efc625405
type-gen
2019-12-08 23:35:46 +01:00
Jakub Sztandera
aa1cef008f
Merge pull request #799 from filecoin-project/fix/mpool-sub
...
Fix mpool sub not unsubbing
2019-12-08 23:29:51 +01:00
Łukasz Magiera
635398d57d
Merge pull request #791 from filecoin-project/feat/blocksync-hueristic
...
Add better hueristic to blocksync client, and start feeding it data
2019-12-08 23:29:37 +01:00
Jakub Sztandera
09d082b30e
Remove printf, improve hueristic
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-08 21:00:01 +01:00
whyrusleeping
4ed7a0826b
don't print giant long proof in error message
2019-12-08 18:32:44 +01:00
whyrusleeping
e8c43d00cc
dont waste work when calling ComputeTipSetState in parallel
2019-12-08 18:07:44 +01:00
Jakub Sztandera
9814d53460
Improve the hueristic a bit
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-08 17:24:51 +01:00
whyrusleeping
fd6f63a239
adjust hueristic to allow comparisons between peers with zero failures
2019-12-08 16:14:34 +01:00
whyrusleeping
a06c2b15ef
remove debug prints
2019-12-08 16:04:44 +01:00
whyrusleeping
6cf55b0b1e
Add better hueristic to blocksync client, and start feeding it data
2019-12-08 16:02:38 +01:00
Jakub Sztandera
74327ff575
Fix mpool sub not unsubbing
...
Resolves #786
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-08 16:00:45 +01:00
whyrusleeping
17b0cb1d3d
improve bootstrap sync handling
2019-12-08 12:44:47 +01:00
whyrusleeping
d3f08c5243
remove more spammy logs
2019-12-07 23:32:34 +01:00
Whyrusleeping
99c4691720
Merge pull request #777 from filecoin-project/feat/better-sync-manager-relating
...
Better track related incoming sync targets
2019-12-07 23:08:42 +01:00
whyrusleeping
f0653decf3
Clean up storage deal structures
2019-12-07 21:29:37 +01:00
whyrusleeping
80595e4dd5
remove debug prints
2019-12-07 19:16:17 +01:00
Łukasz Magiera
83924e6b97
sectorbuilder: Allow to restrict task types
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-07 19:05:15 +01:00
whyrusleeping
8181b283c0
don't accept blocks from slashed miners
2019-12-07 18:59:34 +01:00
Jakub Sztandera
4e36d9198b
Merge pull request #221 from filecoin-project/misc/rlecrash
...
Lazy RLE+
2019-12-07 17:47:33 +01:00
whyrusleeping
e6a08784f8
print more errors if epost fails during tipset state evaluation
2019-12-07 17:24:42 +01:00
whyrusleeping
7363fa2e8e
fix tests, add tipset expansion to relation criteria
2019-12-07 17:04:04 +01:00
Jakub Sztandera
71b973f830
Some cleanup
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-07 16:20:30 +01:00
Whyrusleeping
5bd3dd00b5
Merge pull request #778 from filecoin-project/feat/better-messagepool-reorg
...
Improve messagepool reorg checks
2019-12-07 16:00:08 +01:00
Jakub Sztandera
6e4761c819
Fix rleplus in actor code
...
,
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-07 15:51:31 +01:00
Jakub Sztandera
32a1940c57
Replace rleplus with rlepluslazy
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-07 15:48:20 +01:00
whyrusleeping
74ed6455b0
Improve messagepool reorg checks
2019-12-07 12:42:04 +01:00
whyrusleeping
f53422a1f9
Improve messagepool reorg checks
2019-12-07 12:41:30 +01:00
whyrusleeping
7a308b60a6
Better track related incoming sync targets
2019-12-07 12:17:36 +01:00
whyrusleeping
bc343dbb67
flag blocks that are received too late
2019-12-07 11:49:05 +01:00
Łukasz Magiera
bbc61a8f86
Merge pull request #766 from filecoin-project/feat/holes
...
Pre-sealing holes
2019-12-07 10:29:17 +01:00
Jakub Sztandera
80592a87cf
Pre-sealing holes
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-06 18:53:33 +01:00
whyrusleeping
14c7e1f0ac
Fix copying partial ticket arrays into slices
2019-12-06 00:32:57 -08:00
Łukasz Magiera
38eedd05e8
stmgr: Mute duplicate msg in tipset spam
2019-12-05 19:59:51 +01:00
Łukasz Magiera
3673a9110f
Merge pull request #743 from filecoin-project/feat/static-check-2
...
more of that sweet staticcheck goodness
2019-12-05 12:21:43 +01:00
Łukasz Magiera
8fd6d98620
Merge pull request #740 from filecoin-project/feat/sector-id-max
...
Set maximum sector ID to 2^48-1
2019-12-05 10:58:00 +01:00
whyrusleeping
b7a89b56b3
more statticcheck!
2019-12-04 21:14:19 -08:00
whyrusleeping
613a0a05a0
more of that sweet staticcheck goodness
2019-12-04 18:04:09 -08:00
Whyrusleeping
a45fe8a7f9
Merge pull request #739 from filecoin-project/feat/static-check
...
some fixes from staticcheck
2019-12-04 17:34:22 -08:00
whyrusleeping
43f2286890
Set maximum sector ID to 2^48-1
2019-12-04 17:32:34 -08:00
whyrusleeping
1b475ba6fe
some fixes from staticcheck in ./chain
2019-12-04 17:18:30 -08:00
Whyrusleeping
67a12d3059
Merge pull request #695 from filecoin-project/frrist/chainval-type-serialization
...
chainval | type serialization
2019-12-04 17:11:32 -08:00
frrist
e1e295d47b
update to work with chain-validation refactor
2019-12-04 15:28:12 -08:00
lanzafame
54df1c7be0
add error status to trace
2019-12-05 09:22:13 +10:00
Łukasz Magiera
b6816b8729
Merge pull request #728 from filecoin-project/fix/events-double-trigger
...
fix events double trigger issue
2019-12-04 14:08:20 +01:00
Łukasz Magiera
631a9cd3b6
events: Fix double apply in events.Called as well
2019-12-04 13:58:22 +01:00
Łukasz Magiera
7d80cbfbdf
events: Fix double trigger in CalledAt
2019-12-04 13:41:22 +01:00
whyrusleeping
cb19ca499e
add extra check for apply being called iff revert happens
2019-12-03 21:24:17 -08:00
whyrusleeping
c456ef4905
reproduce events double trigger issue in test
2019-12-03 21:21:31 -08:00
whyrusleeping
c302051bc2
add duration tracking to sync status
2019-12-03 20:59:41 -08:00
whyrusleeping
034f0cc479
track sync errors in status
2019-12-03 19:56:29 -08:00
whyrusleeping
2d15e925cd
WIP: improve timing of mining
2019-12-03 18:53:49 -08:00
Łukasz Magiera
2619567dfd
Merge pull request #716 from filecoin-project/fix/sectorstore-fails
...
Miner: improve sector state handling
2019-12-04 02:10:30 +01:00
Łukasz Magiera
d112fd18b1
Persist sector sealing errors
2019-12-04 01:44:29 +01:00
whyrusleeping
4206744d7b
fix log message in chainstore
2019-12-03 15:04:52 -08:00
Łukasz Magiera
9bb054a767
slightly cleaner IsRoundWinner
2019-12-03 22:27:07 +01:00
Łukasz Magiera
d79f1c180d
mpool: Make tests pass
2019-12-03 22:09:39 +01:00
Łukasz Magiera
96c04fc0a6
mpool: Make MpoolPending more atomic
2019-12-03 20:33:29 +01:00
Łukasz Magiera
9c6e9212a2
mining: get pending messages early
2019-12-03 19:25:56 +01:00
Łukasz Magiera
6127d82c7b
events: allow get on empty ts cache
2019-12-03 18:41:31 +01:00
Łukasz Magiera
f43ff07ab3
events: Allow revert on empty cache
2019-12-03 18:38:37 +01:00
Łukasz Magiera
5810922441
This helps for some reason
2019-12-03 17:39:47 +01:00
Łukasz Magiera
8e09fd6ca8
Merge pull request #696 from filecoin-project/fix/propagation-delay
...
fix propagation delay to be a sane number
2019-12-03 13:35:25 +01:00
whyrusleeping
c1cd332ff7
impose a maximum sector ID
2019-12-02 23:46:58 -08:00
whyrusleeping
1b8aa2c2b4
fix propagation delay to be a sane number
2019-12-02 20:34:41 -08:00
Łukasz Magiera
7d13b28439
Fix tests using 1k sectors
2019-12-03 02:55:10 +01:00
Łukasz Magiera
f4c082c7de
Merge pull request #690 from filecoin-project/fix/message-nonce-head-change
...
Fix message nonce tracking during head changes
2019-12-03 00:34:11 +01:00
Whyrusleeping
dd6e75f49d
Merge pull request #666 from filecoin-project/feat/election-post
...
Election post restructuring
2019-12-02 15:32:12 -08:00
whyrusleeping
96f17d4408
remove dead code
2019-12-02 15:24:46 -08:00
Łukasz Magiera
adcda68d62
fix winner math
2019-12-03 00:18:27 +01:00
Łukasz Magiera
fd92b8f19a
Type 256 differently
2019-12-02 23:49:41 +01:00
Łukasz Magiera
ab36a5aa04
wip fixing IsTicketWinner
2019-12-02 23:46:49 +01:00
whyrusleeping
481cc63181
add a test for the revert messages issue
2019-12-02 14:33:11 -08:00
whyrusleeping
e366db00fe
fix lame deadlock and revert handling
2019-12-02 14:33:11 -08:00
whyrusleeping
68e25b36f1
rename to avoid stuttering
2019-12-02 14:33:11 -08:00
whyrusleeping
b58e7344e8
pull messagepool into separate package
2019-12-02 14:33:11 -08:00
whyrusleeping
8da3cc875e
Fix message nonce tracking during head changes
2019-12-02 14:33:11 -08:00
Łukasz Magiera
5beb7f4a48
More review fixes
2019-12-02 19:56:27 +01:00
Łukasz Magiera
1cdf6a6f8d
use challangeCount as sampleRate in IsTicketWinner
2019-12-02 15:24:27 +01:00
Łukasz Magiera
d5b94884c8
Buch of lint fixes
2019-12-02 13:51:16 +01:00
Łukasz Magiera
e239fe41d4
Fix Failing tests
2019-12-02 12:34:01 +01:00
Łukasz Magiera
a47fbfa799
Merge branch 'devnet/9' into feat/election-post
2019-12-02 12:25:23 +01:00
Łukasz Magiera
849b9741d9
Merge pull request #673 from filecoin-project/feat/cron
...
actors: Implement cron actor
2019-12-02 12:11:04 +01:00
Łukasz Magiera
fd8f65248b
deals: Correctly set deal ID in provider states
2019-12-01 21:07:57 +01:00
Łukasz Magiera
660ba3f4f6
genesis: set correct NextDealID in SMA
2019-12-01 19:37:23 +01:00
Łukasz Magiera
a59d0f0f8c
Fix unsealing, sector based data refs
2019-12-01 18:58:31 +01:00
whyrusleeping
74be20f864
print better error if no blocksync peers
2019-11-30 22:11:45 -06:00
whyrusleeping
422e25c8e6
self review: some cleanup
2019-11-30 22:02:52 -06:00
Jakub Sztandera
9959234858
Remove usage of go-leb128
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-01 01:13:23 +01:00
whyrusleeping
59d9c681ad
Rework miner test setups to fix tests
2019-11-30 17:21:11 -06:00
Łukasz Magiera
d5f78d6659
more verbose logging in node tests
2019-11-30 23:22:26 +01:00
whyrusleeping
6b4fcc0090
progressively getting closer to fixing tests
2019-11-30 11:02:25 -06:00
Jakub Sztandera
c8b21b30ab
Fix id address decoding
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-30 13:46:00 +01:00
whyrusleeping
3b533ed76c
Genesis miner config actually sets the created miner address now
2019-11-29 22:31:26 -06:00
Łukasz Magiera
703bc7e774
Fix slashing / power recovery issues
2019-11-29 21:18:34 +01:00
Łukasz Magiera
adf71f502c
don't print scary errors when miner has no sectors
2019-11-29 20:14:10 +01:00
Łukasz Magiera
ad978949db
import sector/deal into state machines on init
2019-11-29 20:11:42 +01:00
whyrusleeping
01e4958f73
remove debug prints
2019-11-28 21:25:03 -08:00
whyrusleeping
57f6d9e624
correctly predict miner addresses for test
2019-11-28 20:45:30 -08:00
whyrusleeping
3dddcb85e7
tests properly create miners, they just can't mine yet
2019-11-28 20:41:37 -08:00
whyrusleeping
637c28ba55
generator sets up appropriate number of miners
2019-11-28 22:04:46 -06:00
whyrusleeping
ce89ddbd6a
fixing some tests
2019-11-28 21:38:18 -06:00
Łukasz Magiera
cb7d15e67e
genesis setup improvements
2019-11-28 23:50:58 +01:00
Łukasz Magiera
466f1d8cb9
Use ProvingSet for GetSectorsForElectionPost
2019-11-28 19:52:28 +01:00
Łukasz Magiera
6098db4f51
Merge pull request #682 from filecoin-project/feat/election-post-fallback
...
Feat/election post fallback
2019-11-28 19:10:50 +01:00
Łukasz Magiera
367512d067
Some fpost fixes
2019-11-28 19:08:10 +01:00
Łukasz Magiera
920fd3ba9b
storageminer: New fallback post scheduler
2019-11-28 18:44:57 +01:00
Łukasz Magiera
aefd432422
actors: Fallback post progress
2019-11-28 13:46:56 +01:00
Łukasz Magiera
b75767e678
seed: get default sector size from build.SectorSizes
2019-11-28 11:55:34 +01:00
whyrusleeping
7afc0d4dbe
dedupe some code
2019-11-27 21:38:00 -06:00
whyrusleeping
45288b8810
WIP: uncomment out windowed post code, try to make it work
2019-11-27 21:36:34 -06:00
whyrusleeping
8fae155cf6
Add timings for proof verification
2019-11-27 19:43:52 -06:00
Łukasz Magiera
23e0008b81
Merge remote-tracking branch 'origin/master' into feat/election-post
2019-11-27 13:31:44 +01:00
Łukasz Magiera
7952b7525e
Merge pull request #675 from filecoin-project/fix/mpool
...
Fix some Mpool / PoSt sched bugs
2019-11-27 13:24:28 +01:00
Łukasz Magiera
eeb5a14e46
address review
2019-11-27 13:18:22 +01:00
Łukasz Magiera
03b1d2329f
seed: Call AcquireID for sectorIDs
2019-11-27 12:58:16 +01:00
laser
3623925f66
replace go-bls-sigs and go-sectorbuilder with filecoin-ffi
...
- remove old submodules and add new submodule
- update build tooling to consume new unified static library
- update consumers of old libs to use new package
2019-11-26 18:16:37 -08:00
Łukasz Magiera
407f6fa6f8
sync: correct vrfBase for ticket check
2019-11-26 23:54:11 +01:00
Łukasz Magiera
8297feb1d3
Pass correct randomness to EPoSt Verification
2019-11-26 18:29:18 +01:00
Łukasz Magiera
fc72da1d0c
chain: Pass correct prover to VerifyPost
2019-11-26 18:06:05 +01:00
Łukasz Magiera
23900964a1
Fix mixed up CommD/R in genesis creation
2019-11-26 17:35:37 +01:00
whyrusleeping
a98295a747
use the correct sector sizes in places
2019-11-25 20:43:43 -06:00
Jakub Sztandera
6423e5867d
Fix max batch error from badger
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-25 17:04:03 +01:00
Łukasz Magiera
67b22ac22e
stmgr: Fix WaitMessage with more than one msg from single origin
2019-11-25 14:59:12 +01:00
whyrusleeping
a0588d513d
Add lotus-gen, rewire genesis mining
2019-11-24 22:45:13 -06:00
Łukasz Magiera
3cf97c4278
events: Fix nnoce check in CheckMsg
2019-11-24 20:18:49 +01:00
Łukasz Magiera
a755ca5dae
stmgr: check for duplicate nonces when looking back for msg
2019-11-24 20:16:18 +01:00
Łukasz Magiera
c7b34153fb
more mpooland post sched fixes
2019-11-24 17:35:50 +01:00
Łukasz Magiera
43a5172944
mpool: persist local messages
2019-11-23 20:05:18 +01:00
Łukasz Magiera
6af2e946d1
wip mpool fixes
2019-11-23 02:26:40 +01:00
Łukasz Magiera
96023d415e
actors: Implement cron actor
2019-11-22 23:51:44 +01:00
Jakub Sztandera
6aa97fd89a
Fix change validation
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-22 12:31:15 -06:00
whyrusleeping
f03198c8a0
sync tests passing, still no vm integration
2019-11-22 10:41:09 -06:00
Jakub Sztandera
36b7c5a32a
Swtich to xerrors
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-22 10:20:56 -06:00
whyrusleeping
96482f456a
WIP: election post restructuring
2019-11-21 16:21:45 -06:00
Łukasz Magiera
37792b149f
sync: fix some issues
2019-11-20 20:49:29 +01:00
whyrusleeping
d57f048c2c
reject blocks with nil signatures
2019-11-20 11:14:08 -06:00
Łukasz Magiera
0a6a0e5e39
Address review
2019-11-20 18:00:05 +01:00
Łukasz Magiera
8de8fa9663
types: drop annoying signature error log
2019-11-20 18:00:05 +01:00
Łukasz Magiera
ddf2e05dd0
post: More correct 'wait' logic
2019-11-20 18:00:05 +01:00
Łukasz Magiera
4e2d7f0b1a
Merge pull request #632 from filecoin-project/feat/chainwatch
...
ChainWatch
2019-11-20 10:57:53 -06:00
whyrusleeping
c4564c0597
use proper round number, allow block signature to be nil
2019-11-20 10:54:10 -06:00
whyrusleeping
f8eabd3db4
Refactor mining logic to match specs ticket chain
2019-11-20 10:52:36 -06:00
whyrusleeping
71923c691d
dont publish nil message removed
2019-11-20 17:47:44 +01:00
Łukasz Magiera
4ee2fc4d9f
chain: call unsub in Incoming* methods
2019-11-20 17:47:44 +01:00
Łukasz Magiera
d3b980ef58
api.SyncIncomingBlocks
2019-11-20 17:47:44 +01:00
Łukasz Magiera
f40a1afac8
chainwatch: store mpool message additions
2019-11-20 17:45:02 +01:00
Łukasz Magiera
1f913b8df2
api.MpoolSub
2019-11-20 17:45:02 +01:00
Łukasz Magiera
8ac65cde80
api.StateLookupID
2019-11-20 17:45:02 +01:00
Łukasz Magiera
ab8407fb43
Merge pull request #636 from filecoin-project/fix/reorg-ops-order
...
fix ordering of block applies in reorg ops
2019-11-20 01:09:53 +01:00
Łukasz Magiera
582f8f9a14
events: Fix Called handler
2019-11-19 23:07:58 +01:00
whyrusleeping
ba5effe1f6
don't swap order in tests anymore
2019-11-19 15:54:39 -06:00
Łukasz Magiera
35659af84d
Merge pull request #626 from filecoin-project/feat/chain-sync-manager
...
Implement chain sync manager
2019-11-19 22:35:19 +01:00
Jakub Sztandera
6dafca7aac
Use local type as ctx key
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-19 14:38:05 -06:00
Jakub Sztandera
eb9429a2e2
Merge pull request #639 from gguoss/patch-3
...
Delete redundant import
2019-11-19 14:25:02 -06:00
Łukasz Magiera
32aa574b8f
Fix build
2019-11-19 17:17:26 +01:00
Łukasz Magiera
f52d9de4dd
events: MatchFuncs for Called
2019-11-19 16:51:12 +01:00
Łukasz Magiera
448a0a63d8
Merge pull request #631 from filecoin-project/feat/fast-vm-sync
...
use fast cbor-gen method for extracting links from objects
2019-11-19 13:38:37 +01:00
郭光华
af09638ac6
Delete redundant import
2019-11-19 11:24:48 +08:00
whyrusleeping
ccfa03138d
fix ordering of block applies in reorg ops
2019-11-18 12:18:59 -06:00
whyrusleeping
cac44367aa
add batching to vm Copy call
2019-11-17 11:50:04 -06:00
whyrusleeping
98c888a630
address feedback
2019-11-17 11:00:45 -06:00
whyrusleeping
b77bb9e4aa
Audit pass for blatantly wrong panics
2019-11-16 17:41:14 -06:00
whyrusleeping
43447ca1bf
cleanup and add some tests
2019-11-16 13:36:21 -08:00
whyrusleeping
ab2e722811
use fast cbor-gen method for extracting links from objects
2019-11-16 11:24:11 -08:00
whyrusleeping
89fd13de9d
clean up chain sync a little
2019-11-15 22:48:42 -08:00
whyrusleeping
251ff41134
plumb through new sync status logic
2019-11-15 17:05:16 -08:00
whyrusleeping
7aa76d21d1
It works!
2019-11-15 13:35:29 -08:00
whyrusleeping
1d81c53f8f
getting closer, squashme
2019-11-14 22:15:31 -08:00
whyrusleeping
4bc523e6b4
more wip, squashme
2019-11-14 22:15:31 -08:00
whyrusleeping
9e4b3ae88a
WIP: implement chain sync manager and concurrent sync
2019-11-14 22:15:30 -08:00
Whyrusleeping
52a05c3d0e
Merge pull request #615 from filecoin-project/misc/clean-error
...
Don't use pkg/errors
2019-11-14 21:07:58 -08:00
whyrusleeping
c9a5d974c1
drop message nonce message down to a warning
2019-11-14 19:26:13 -08:00
whyrusleeping
797d92b463
persist blocks as they come in
2019-11-14 19:19:16 -08:00
Jakub Sztandera
432706bd09
Don't use pkg/errors
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-15 02:40:16 +01:00
Łukasz Magiera
5381d10fe3
StateAPI: account for slashing in StateMinerPower
2019-11-15 02:01:53 +01:00
Łukasz Magiera
004f647504
Merge pull request #597 from filecoin-project/feat/simple-power-slash
...
Simple power slashing
2019-11-15 01:14:20 +01:00
Łukasz Magiera
f8e3c1774f
Merge pull request #611 from filecoin-project/fix/dup-tipset
...
Check if miner is included twice in tipset
2019-11-15 01:07:13 +01:00
Jakub Sztandera
c54b28a419
Check if miner is included twice in tipset
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-15 01:01:00 +01:00
Łukasz Magiera
d40f5a36da
Catch up on null blocks in CheckProofSubmissions call
2019-11-15 00:55:05 +01:00
Łukasz Magiera
e0089218a1
Review fixes
2019-11-15 00:23:07 +01:00
Jakub Sztandera
9f3b5bfb6e
Fix Marshaling of TipSetKey
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 21:33:56 +01:00
Łukasz Magiera
b9bd3e2030
Unhack TestStorageMarketCreateAndSlashMiner
2019-11-14 21:26:30 +01:00
Jakub Sztandera
63edea510e
Fix ValidateBlock ignoring errors
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 19:41:40 +01:00
Łukasz Magiera
dbdf120746
townhall: Send nonces
2019-11-14 17:37:22 +01:00
Łukasz Magiera
e9631601e3
Fix the rest of power slashing issues
2019-11-14 17:23:22 +01:00
Łukasz Magiera
f4fc3bcc29
Fix most power slashing issues
2019-11-14 12:56:17 +01:00
郭光华
dd439e0af8
Keep the context consistent
2019-11-14 14:34:54 +08:00
Jakub Sztandera
fa023f68e3
Flexible repub timer
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 01:36:12 +01:00
Łukasz Magiera
2dd155e9e9
Make basic slashing work
2019-11-14 01:02:24 +01:00
Łukasz Magiera
7363ec714a
chain: make tests pass after slashing changes
2019-11-14 00:35:58 +01:00
Łukasz Magiera
0241e31129
chain: wire CheckProofSubmissions to computeTipSetState
2019-11-14 00:14:11 +01:00
Łukasz Magiera
e48949b41f
chain: cbor-gen
2019-11-14 00:04:13 +01:00
Łukasz Magiera
05f157554f
actors: IsMiner -> IsValidMiner
2019-11-14 00:00:11 +01:00
Jakub Sztandera
c1ebb72824
Return all messages
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-13 23:43:44 +01:00
Jakub Sztandera
2bc5ccab04
Add repub for local messages
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-13 23:43:16 +01:00
Łukasz Magiera
e094ace303
actors: CheckMiner methods on Miner/Power actors
2019-11-13 23:40:51 +01:00
Łukasz Magiera
6b398cba74
actors: UpdateStorage now manages proving buckets
2019-11-13 22:16:17 +01:00
Łukasz Magiera
4f9947a27b
Merge pull request #567 from filecoin-project/anorth/tskey
...
Add TipSetKey as a concatenation of block CIDs, and use if for ChainGetTipSet, ChainGetRandomness.
2019-11-13 22:07:24 +01:00
Łukasz Magiera
37c0967fa8
Merge pull request #595 from filecoin-project/feat/small-fixes
...
Bunch of small fixes / improvements, gofmt
2019-11-13 19:15:50 +01:00
Łukasz Magiera
8f0e3ede24
Bunch of small fixes / improvements, gofmt
2019-11-13 15:48:57 +01:00
Łukasz Magiera
77667d78ff
Merge pull request #586 from filecoin-project/feat/more-tracing-again
...
more tracing spans
2019-11-13 11:42:36 +01:00
whyrusleeping
86624c8ed4
fix tests and add some more trace attributes
2019-11-12 22:44:29 -08:00
anorth
14c2ee56f6
Add JSON marshalling and optimize decoding pre-allocation to use expected (rather than min) CID length
2019-11-13 15:26:51 +11:00
anorth
36d57385ab
Upgrade go-cid and drop superfluous envelope bytes in TipSetKey
2019-11-13 15:26:51 +11:00
anorth
84a4766d8f
Add TipSetKey as a concatenation of block CIDs, and use if for ChainGetTipSet, ChainGetRandomness.
2019-11-13 15:23:37 +11:00
whyrusleeping
b14426f7d3
track number of tickets
2019-11-12 12:52:40 -08:00
Whyrusleeping
8ecc087ffb
Merge pull request #539 from filecoin-project/frrist/chainval-transfer-value
...
first pass at integrating chain-validation
2019-11-13 05:51:02 +09:00
whyrusleeping
9e464a4b90
more tracing spans
2019-11-12 12:42:22 -08:00
Whyrusleeping
aa26935533
Merge pull request #573 from filecoin-project/feat/mark-bad-chains
...
sync: Mark chains with bad blocks as bad too
2019-11-13 05:12:06 +09:00
frrist
6545c20666
fixup! first pass at integrating chain-validation
2019-11-12 11:23:59 -08:00
anorth
60a19a1155
first pass at integrating chain-validation
2019-11-12 11:06:16 -08:00
Łukasz Magiera
73ab6c0c66
WorkerCount on storageminer config
2019-11-12 18:59:38 +01:00
Łukasz Magiera
a9861e116b
bolcksync: set message in 203 response
2019-11-12 12:45:25 +01:00
Łukasz Magiera
3a1c73a2b1
mpool: Fix RecoverSig type cast
2019-11-12 12:42:19 +01:00
Łukasz Magiera
2d8ad4a1de
sync: batching PersistHeaders
2019-11-12 11:18:46 +01:00
Łukasz Magiera
a6135b62ce
sync: Mark chains with bad blocks as bad too
2019-11-12 11:04:17 +01:00
Łukasz Magiera
f6d5d3fe5f
mpool: Remove todo
2019-11-12 11:00:58 +01:00
whyrusleeping
a702a5678c
cache bls signatures for later recovery during forks
2019-11-11 23:16:42 -08:00
Łukasz Magiera
aafccaf021
Merge pull request #488 from filecoin-project/feat/dt-skeleton
...
Data Transfer Integration For Storage Deals (w/ Skeleton Module)
2019-11-11 22:52:23 +01:00
hannahhoward
311556346e
refactor(datatransfer): implement style fixes
...
implement style fixes suggested by Magic6k
2019-11-11 13:02:49 -08:00
hannahhoward
4b3bab371b
refactor(deals): move type instantiation to modules
...
Move all type instantiation to dtypes & modules for any type unique to provider/client
2019-11-11 12:51:28 -08:00
Łukasz Magiera
30888e754b
Merge pull request #466 from filecoin-project/feat/async-validateblk
...
sync: Do some things in parallel in ValidateBlock
2019-11-11 21:41:44 +01:00
hannahhoward
ccfc3c5b19
refactor(datatransfer): move registrations to builder
...
move registration function for validators to builder code
2019-11-11 12:25:19 -08:00
Łukasz Magiera
3c2cbb04c9
townhall: Display more timing info
2019-11-11 21:13:14 +01:00
whyrusleeping
4b134f0d21
add time of block acceptance to townhall
2019-11-11 21:12:26 +01:00
Łukasz Magiera
b72463e6fc
mod tidy
2019-11-11 21:12:06 +01:00
Hannah Howard
b9ea6354fa
Update chain/deals/types.go
...
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-11-11 12:08:15 -08:00
hannahhoward
1532533712
style(formatting): run go fmt
2019-11-11 11:55:25 -08:00
Łukasz Magiera
eaddb8abe8
sync: use muliterror in ValidateBlock
2019-11-11 20:30:49 +01:00
Łukasz Magiera
d9fe9a6ea4
sync: Post merge fixes
2019-11-11 20:26:14 +01:00
hannahhoward
dcb35d90df
fix(datatransfer): rebase fixes
...
Fixes after rebase on interactive porep
2019-11-11 11:07:15 -08:00
hannahhoward
ca5032937c
refactor(datatransfer): xerrors, cbor-gen, tweaks
...
Various refactors per PR comments: use xerrors, add context to dt calls, use cbor-gen, move files
into seperate modules, etc
2019-11-11 11:07:15 -08:00
hannahhoward
d0b705705f
refactor(datatransfer): add comments, renames
...
minor name changes and additional comments to clarify how data transfer works
2019-11-11 11:07:15 -08:00
hannahhoward
905259e192
feat(datatransfer): integration w/ simple merkledag
...
Integrates the data transfer module with a mock version of the module that just calls the dag
service
2019-11-11 11:07:15 -08:00
hannahhoward
98cf0769ff
feat(datatransfer): request valdiators for storage
...
Add request validators that will work by default for storage deals
2019-11-11 11:07:15 -08:00
Łukasz Magiera
6fe5921bb6
Merge remote-tracking branch 'origin/master' into feat/async-validateblk
2019-11-11 18:44:45 +01:00
whyrusleeping
dbc706b846
handle marking blocks as bad better
2019-11-10 15:06:06 -08:00
whyrusleeping
c74f87fd51
split files, implement peer tracker
2019-11-10 11:33:08 -08:00
whyrusleeping
904fdad4c6
extract blocksync into its own package
2019-11-09 15:00:22 -08:00
whyrusleeping
bda6d7e119
Don't try syncing to a chain if its not clearly heavier
2019-11-09 12:14:40 -08:00
Łukasz Magiera
814e01cc05
gofmt
2019-11-09 01:18:32 +01:00
Łukasz Magiera
28367c5ba1
Merge pull request #515 from steven004/weight
...
minor weight function change
2019-11-09 01:04:50 +01:00
Łukasz Magiera
ee2cf48566
Merge pull request #513 from steven004/Refactor-PowerCmp
...
Refactor the PowerCmp function
2019-11-09 00:59:10 +01:00
Łukasz Magiera
27485777f0
Merge remote-tracking branch 'origin/master' into feat/interactive-porep
2019-11-08 21:45:06 +01:00
Łukasz Magiera
f3ae7eb7a3
events: Test 2 block tipsets with duplicated message
2019-11-08 21:25:02 +01:00
Łukasz Magiera
aaa073bdf8
deals: Inactive deal in client.sealing is an error
2019-11-08 21:18:16 +01:00
Łukasz Magiera
8c39486736
some import fixes
2019-11-08 21:11:56 +01:00
Łukasz Magiera
071f05fa95
Storage miner API improvements
2019-11-08 19:23:58 +01:00
Łukasz Magiera
be2e58a2fb
Simple market fund manager
2019-11-08 18:15:56 +01:00
Łukasz Magiera
d664e90d7c
Merge pull request #535 from filecoin-project/fix/temporal-problems
...
Fix temporal problems in bad block cache
2019-11-08 12:22:52 +01:00
whyrusleeping
af2789c3d8
fix non-deterministic map serialization
2019-11-07 14:55:24 -08:00
Łukasz Magiera
2d26a4edf7
Sector storage refactor
2019-11-07 19:22:59 +01:00
Łukasz Magiera
3fbe0abb75
cborrpc -> cborutil
2019-11-07 15:11:39 +01:00
Łukasz Magiera
58472afa3a
deals: Verify network message signatures
2019-11-07 15:09:11 +01:00
Łukasz Magiera
2588a6a7eb
deals: check msg params in ProveCommitSector event handler
2019-11-07 14:41:41 +01:00
Łukasz Magiera
8ec37e8728
deals: cleanup client state machine
2019-11-07 14:29:43 +01:00
Łukasz Magiera
79c9fb719e
deals: disconnect early, rely on chain
2019-11-07 13:57:40 +01:00
Łukasz Magiera
eca5501923
remove some outdated todos
2019-11-07 13:06:32 +01:00
Łukasz Magiera
be0d07e143
pass deal IDs in SectorPreCommitInfo
2019-11-07 13:03:18 +01:00
Łukasz Magiera
12161fc607
deals: Finish client sealing state handler
2019-11-07 10:13:42 +01:00
Łukasz Magiera
6cc360e0f7
events: Execute Called handlers in the correct tipset
2019-11-07 10:02:29 +01:00
whyrusleeping
54722a0d38
WIP: fixing the tests by waiting for chain activity
2019-11-06 23:57:10 -08:00
Łukasz Magiera
69d7a9910e
deals: remove outdated comment
2019-11-07 01:32:10 +01:00
Łukasz Magiera
29778cd653
Mostly fix TestDealFlow
2019-11-07 01:18:06 +01:00
Łukasz Magiera
d45544c90c
Correct proposal cid on provider side
2019-11-07 01:01:05 +01:00
whyrusleeping
597dbe369c
Add method to query latest deal state
2019-11-07 00:39:34 +01:00
whyrusleeping
9863942fe2
WIP: trying to write a test to reproduce the storage deal error
2019-11-07 00:39:34 +01:00
Łukasz Magiera
f7651f180b
Create filler deals
2019-11-07 00:09:48 +01:00
Jakub Sztandera
b3fe304d82
add is permanent
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-06 20:27:21 +01:00
Łukasz Magiera
37721b2a22
Get some deals to work
2019-11-06 20:00:04 +01:00
Łukasz Magiera
68c2d4f58a
deals: Set correct Refs
2019-11-06 18:38:42 +01:00
Jakub Sztandera
2b57fd14f1
Fix temporal problems in bad block cache
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-06 16:11:19 +01:00
Łukasz Magiera
cb3965bcf5
Improve errors around deal handling
2019-11-06 13:04:33 +01:00
whyrusleeping
b447b6cf0a
only trim zeros to the right of the decimal
2019-11-05 10:50:27 -08:00
Łukasz Magiera
630134486d
Mostly fix deals
2019-11-05 19:40:51 +01:00
Łukasz Magiera
bcf9778b18
Update cbor-gen post-merge
2019-11-05 19:02:28 +01:00
Łukasz Magiera
ed5ccfd750
Merge remote-tracking branch 'origin/devnet/7' into feat/interactive-porep
2019-11-05 18:53:19 +01:00
Łukasz Magiera
ebdaa3f020
Fix TestSyncBadTimestamp with low BlockDelay
2019-11-05 18:33:58 +01:00
Łukasz Magiera
6a802cc9db
WIP fixing tests
2019-11-05 18:09:42 +01:00
whyrusleeping
4321256992
fix retrieval protocol error by wrapping stream in peeker
2019-11-05 08:38:54 -08:00
Łukasz Magiera
1f56bcf581
Some param changes
2019-11-05 17:15:52 +01:00
Łukasz Magiera
4c4c2095a6
events: Basic tracing
2019-11-05 15:36:44 +01:00
Łukasz Magiera
eb28c45c00
events: Plumb context to callbacks
2019-11-05 15:03:59 +01:00
whyrusleeping
9a398c6260
Track down all the uses of cboripld and eliminate them
2019-11-04 19:42:13 -08:00
whyrusleeping
83868d3eed
fix serialization of paych vouchers
2019-11-04 11:07:11 -08:00
Łukasz Magiera
c550e030b1
INTERACTIVE PROEP IS ALIVE
2019-11-02 16:07:26 +01:00
Łukasz Magiera
3e515ab24c
Merge branch 'feat/interactive-porep' of github.com:filecoin-project/go-lotus into feat/interactive-porep
2019-11-02 15:13:48 +01:00
Łukasz Magiera
be8fe54ea3
Set correct Provider addr in StoreGarbage
2019-11-02 15:13:37 +01:00
whyrusleeping
68de42df8c
increase actor error log verbosity
2019-11-01 23:30:06 -07:00
Łukasz Magiera
3bc4a5dddf
More progress on fixing storing garbage data
2019-11-02 00:43:54 +01:00
Łukasz Magiera
1dcebece71
Some smaller fixes
2019-11-01 23:44:55 +01:00
whyrusleeping
a13dfcf96b
Add extra check sanity check for timing
2019-11-01 13:27:59 -07:00
Łukasz Magiera
82344649d3
Use state store for sectors
2019-11-01 15:06:49 +01:00
Łukasz Magiera
2343ebc5b8
statestore: Use reflect for mutators
2019-11-01 12:07:05 +01:00
whyrusleeping
fc9091cc89
Get interactive porep sector sealing mostly working
2019-10-31 20:57:10 -07:00
steven004
dd8642c43c
Omit double delaration
2019-11-01 09:43:22 +08:00
Steven Li
9a5adfed3a
change with @Kubuxu's comment
2019-11-01 08:56:15 +08:00
Łukasz Magiera
3cde267a2a
Move statestore to lib
2019-10-31 22:01:44 +01:00
Łukasz Magiera
ba937cf859
Fix sectorbuilder.VerifySeal
2019-10-31 20:03:26 +01:00
whyrusleeping
4e478330a4
more refactoring for interactive porep scheduling
2019-10-31 09:55:35 -07:00
Whyrusleeping
44710ca4e4
Merge pull request #484 from hfmhx/master
...
fix NewTipSet
2019-10-31 09:53:56 -07:00
steven004
a917ffee16
minor code change, no function impact
2019-10-31 18:54:13 +08:00
Steven Li
85854578d1
Update chain/types/blockheader.go
...
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-10-31 16:44:26 +08:00
Łukasz Magiera
5c065f0187
Merge pull request #506 from filecoin-project/feat/dual-config
...
Add support for different configs
2019-10-31 09:02:10 +01:00
Steven Li
0aa56ba665
Refactor the PowerCmp function
...
Why we have this:
This algorithm here directly follow the rule of ratio to win, and easier to understand.
Just think about a smaller space, e.g. 100, instead of 2^256.
When one miner has 10% power, it should have 10% ratio to win. that is, when the h is in {0..9}, it wins. Simply speaking, it is:
(h + 1) / 100 <= 10% , instead of
h / 99 < 10%
The former is easier to understand, though both are equivalent when h is an integer and power_ratio < 1)
2019-10-31 13:36:33 +08:00
whyrusleeping
759094198c
Some more progress on interactive porep
2019-10-30 18:22:50 -07:00
hans
6c4537f6a8
fix NewTipSet
2019-10-31 09:19:25 +08:00
Łukasz Magiera
7fa3e2db7a
WIP Interactive PoRep
2019-10-30 19:10:29 +01:00
Whyrusleeping
790ac7b510
Merge pull request #485 from lanzafame/feat/connect-chain-sync-trace
...
add statemanager.CallRaw span
2019-10-30 10:57:09 -07:00
Łukasz Magiera
46d782b30b
storageminer: Drop commitment tracker
2019-10-30 18:37:38 +01:00
Jakub Sztandera
3ea0997c93
Add support for different configs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 17:38:39 +01:00
Łukasz Magiera
a4c0610cc3
actors: Rename some storageminer stuff to match the spec
2019-10-30 16:55:55 +01:00
whyrusleeping
3e5654d575
initial actor changes for interactive porep
2019-10-30 16:05:31 +01:00
Jakub Sztandera
bc97a73d67
Implment formatter on FIL to override big.Int
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 01:52:24 +01:00
Łukasz Magiera
be4a5665fe
deals: gofmt
2019-10-29 13:02:24 +01:00
Łukasz Magiera
bee0ecf97f
deals: Nicer output in client cli
2019-10-29 13:02:13 +01:00
Łukasz Magiera
738e8c5a3c
deals: Ask prices per GiB
2019-10-29 11:19:39 +01:00
Łukasz Magiera
72af55d067
deals: Price per epoch
2019-10-29 11:01:18 +01:00
Łukasz Magiera
e98feb4a39
fix PowerCmp
2019-10-28 21:28:01 +01:00
Jakub Sztandera
563c0e494e
Use div-free EC power selection function
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-28 20:01:10 +01:00
Łukasz Magiera
6d766ab241
Set e=3
2019-10-28 19:22:40 +01:00
Łukasz Magiera
237f8e8018
Set proving params matching the spec more closely
2019-10-28 17:51:45 +01:00
Adrian Lanzafame
0822bdadac
add statemanager.CallRaw span
...
This allows for the chain.Sync trace to be connected to the
entire chain sync operation, when viewing in Jaeger.
2019-10-28 19:29:41 +10:00
Łukasz Magiera
117ec636c5
paramfetch: check checksums in parallel
2019-10-27 10:18:27 +01:00
Łukasz Magiera
874be79958
very basic sector seal scheduling
2019-10-27 09:56:53 +01:00
whyrusleeping
874ab1456c
WIP: updating to new proofs code
2019-10-25 18:07:34 +02:00
Łukasz Magiera
b8b081faa6
Merge pull request #454 from waynewyang/InitActorState-AddActor
...
fix method:InitActorState.AddActor
2019-10-25 17:40:12 +02:00
Łukasz Magiera
55f22884ab
Merge pull request #457 from waynewyang/MinerActor-CommitSector
...
Check if fromaddress equal workaddress when CommitSector
2019-10-25 17:39:28 +02:00
Łukasz Magiera
bbe5afeee4
Merge pull request #379 from filecoin-project/feat/variable-sector-sizes
...
Allow miners to create differently sized sectors
2019-10-25 17:37:54 +02:00
Łukasz Magiera
cf2bbeb775
Merge pull request #410 from filecoin-project/feat/multisig-lockout
...
Add linear vesting to multisig
2019-10-25 17:34:41 +02:00
whyrusleeping
4890f577f5
give miners the ability to select different sector sizes
2019-10-25 17:26:15 +02:00
Łukasz Magiera
eeca3d86df
Merge pull request #415 from filecoin-project/feat/deals-on-chain
...
On-Chain deals
2019-10-25 17:03:25 +02:00
Łukasz Magiera
3137ffb347
on chain deals: Check StoragePrice
2019-10-25 14:44:34 +02:00
Łukasz Magiera
f2550f9e36
on chain deals: Deal not found is not fatal
2019-10-24 17:56:32 +02:00
Łukasz Magiera
0b1427e487
on chain deals: Fix lint warnings
2019-10-24 17:46:21 +02:00
Łukasz Magiera
9bd086bf7b
Use shorter code cids
2019-10-24 17:39:16 +02:00
Łukasz Magiera
e148f33008
on chain deals: Address review comments
2019-10-24 17:14:25 +02:00
Łukasz Magiera
76f1e6e207
on chain deals: Put dealIDs in CommitSector messages
2019-10-24 16:24:31 +02:00
Whyrusleeping
705637b69f
Merge pull request #448 from filecoin-project/fix/wallet-error
...
Cleanup GetBalance call and warn if actor does not exist
2019-10-24 21:17:23 +08:00
Jakub Sztandera
dd9978b418
Merge pull request #468 from filecoin-project/feat/cache-msg-cids
...
cache block message cids to make blocksync cheaper
2019-10-24 14:47:06 +02:00
waynewyang
34fcbc0bf2
safeguard for multisig actor
2019-10-24 17:13:38 +08:00
whyrusleeping
acb7d57794
fix handling of actor not found for balance checks
2019-10-24 15:55:00 +08:00
whyrusleeping
2a49005ed6
cache block message cids to make blocksync cheaper
2019-10-24 14:24:58 +08:00
Łukasz Magiera
cdd91914b9
on chain deals: Actually set DataSize
2019-10-23 20:04:07 +02:00
Łukasz Magiera
fabd074165
on chain deals: Deals make it to the chain
2019-10-23 19:39:14 +02:00
Łukasz Magiera
187317a004
sync: Do some things in parallel in ValidateBlock
2019-10-23 16:45:03 +02:00
Łukasz Magiera
61e14d0f4c
on chain deals: Fix some serialization bugs
2019-10-23 14:59:57 +02:00
Łukasz Magiera
1d1f468c98
peer manager: Disable in tests
2019-10-23 13:02:00 +02:00
whyrusleeping
fc7c7ddd97
Initial pass at a peer manager
2019-10-23 12:47:22 +02:00
Łukasz Magiera
bd77bba676
on chain deals: Improve some errors
2019-10-23 12:44:00 +02:00
Łukasz Magiera
8e7e5d3085
on chain deals: Fix deal state serialization
2019-10-23 12:44:00 +02:00
Łukasz Magiera
213ac77d08
on chain deals: Expose more chain state in pond
2019-10-23 12:44:00 +02:00
Łukasz Magiera
64bfb38834
on chain deals: Get things to actually run!
2019-10-23 12:44:00 +02:00
Łukasz Magiera
47d92d4a11
wip
2019-10-23 12:44:00 +02:00
Łukasz Magiera
bafb7e8cfa
on chain deals: deal types cbor-gen
2019-10-23 12:44:00 +02:00
Łukasz Magiera
99ef51a642
on chain deals: Fix build
2019-10-23 12:44:00 +02:00
Łukasz Magiera
46a0333c9c
on chain deals: Wip porting deal systems to storagemarket
2019-10-23 12:44:00 +02:00
Łukasz Magiera
7420dd668e
on chain deals: use cid bytes for PieceRef
2019-10-23 12:44:00 +02:00
Łukasz Magiera
6bade2eb23
on chain deals: More actor methods
2019-10-23 12:44:00 +02:00
Łukasz Magiera
c41dd4efeb
actora: register storagemarket
2019-10-23 12:44:00 +02:00
Łukasz Magiera
8638cd25f5
actors: implement sma.PublishStorageDeals
2019-10-23 12:44:00 +02:00
Łukasz Magiera
fcf928ec76
actors: Initial structure for StorageMarketActor
2019-10-23 12:44:00 +02:00
Jakub Sztandera
b9627293e0
Merge pull request #443 from waynewyang/fix-VM-TransferFunds-method
...
Delete TransferFunds Method
2019-10-23 18:41:23 +09:00
Łukasz Magiera
c066b47843
Merge pull request #463 from filecoin-project/feat/better-resync
...
use blocks we have locally anytime we need them
2019-10-23 11:34:30 +02:00
whyrusleeping
46985246a2
use blocks we have locally anytime we need them
2019-10-23 16:18:07 +08:00
waynewyang
fab4777b8f
Delete TransferFunds Method
2019-10-23 13:22:03 +08:00
waynewyang
7b6d67ec1e
Check if fromaddress equal workaddress when CommitSector
2019-10-23 11:51:48 +08:00
waynewyang
d265f4a04f
fix method:InitActorState.AddActor
2019-10-23 10:47:45 +08:00
waynewyang
db41aed2b8
fix annotation for Initactor.Exec
2019-10-23 10:39:45 +08:00
Jakub Sztandera
7532f92c98
Cleanup GetBalance call and warn if actor does not exist
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-22 21:58:51 +02:00
waynewyang
f99c11e048
fix method: VM.send
2019-10-22 20:37:04 +08:00
waynewyang
2d4c5daa93
fix annotation for vm
2019-10-22 16:14:10 +08:00
Łukasz Magiera
1b1c614301
Merge pull request #430 from filecoin-project/feat/events-always-revert
...
events: always call revert in CahinAt
2019-10-21 10:10:59 +02:00
Łukasz Magiera
629717dffb
events: always call revert in CahinAt
2019-10-21 09:54:36 +02:00
waynewyang
e25f5c755a
fix:IsBuiltinActor
2019-10-21 11:06:59 +08:00
Jakub Sztandera
237df4cc44
New big rats and set the precision to 18 (atto = 1e-18)
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 23:45:15 +09:00
whyrusleeping
03d847b8a6
add nicer printing and parsing of filecoin values
2019-10-18 21:31:45 +09:00
whyrusleeping
63b81af23e
handle changing default address
2019-10-18 20:42:00 +09:00
Jakub Sztandera
92b145ec4d
Don't set fields if UnlockDuration is 0
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 16:08:19 +09:00
Jakub Sztandera
737f056c12
Rebuild types
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 16:06:41 +09:00
Jakub Sztandera
274673d9c6
Add linear vesting to multisig
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 14:01:04 +09:00
Jakub Sztandera
1bf713cb0a
Cleanup imports after rename
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 13:47:41 +09:00
Łukasz Magiera
279c0e2519
Merge pull request #399 from filecoin-project/feat/wallet-default
...
Wallets record default address in keystore
2019-10-17 16:52:23 +02:00
whyrusleeping
d818e20df5
Wallets record default address in keystore
2019-10-17 19:18:40 +09:00
whyrusleeping
7464cb5803
Now! Thats what I call tracing! Vol 4
2019-10-17 09:51:13 +09:00
Łukasz Magiera
e5909de3a4
Merge pull request #354 from filecoin-project/feat/tracing-3
...
Moar tracing!
2019-10-16 14:10:36 +02:00
whyrusleeping
ab6ef85b6d
More tracing!
2019-10-16 19:24:33 +09:00
whyrusleeping
5a8d11b85e
add format flag to chain list command
2019-10-16 17:01:41 +09:00
Łukasz Magiera
0f8b450880
Fix lotus state power
2019-10-15 16:59:31 +02:00
Łukasz Magiera
b4c02adebf
Fix
2019-10-15 15:04:01 +02:00
Łukasz Magiera
10dbf6e9d4
Fix sync_test
2019-10-15 14:32:33 +02:00
Łukasz Magiera
4acdb10bf6
Make weight function more spec compliant
2019-10-15 14:31:34 +02:00
Łukasz Magiera
29f26cb8d1
Compiling with the new weight func
2019-10-15 14:31:34 +02:00
Łukasz Magiera
7d471a6ce3
Revert "wip"
...
This reverts commit 859256dadbe42f44b7ac77a4b99b56393f52e127.
2019-10-15 14:31:34 +02:00
Łukasz Magiera
fb80d75b07
Almost building weight function
2019-10-15 14:31:34 +02:00
Łukasz Magiera
2ce338e162
wip weight function
2019-10-15 14:31:34 +02:00
Łukasz Magiera
007bdfaf42
wip
2019-10-15 14:31:34 +02:00
Łukasz Magiera
16a9ab875c
Prep for e=5
2019-10-15 14:31:34 +02:00
Łukasz Magiera
a576b72364
actors: Sync with the new spec, storage actors
2019-10-15 14:31:34 +02:00
Łukasz Magiera
9a238b7d01
Merge pull request #370 from filecoin-project/fix/chain-sync-test-fail
...
Fix chain sync test flakiness
2019-10-15 14:30:47 +02:00
whyrusleeping
aa644fcbbb
call sync directly during submitblock
2019-10-15 21:19:10 +09:00
whyrusleeping
7fbd0a5e8e
Dont use aerrors.Escalate unless you really mean it
2019-10-15 14:37:43 +09:00
Łukasz Magiera
44f50d3578
events: Pass non-null ts in ChainAt immediate call
2019-10-15 04:20:57 +02:00
Łukasz Magiera
fa6bf55bf5
Merge pull request #371 from filecoin-project/fix/refmt-big-zero
...
Fix zero handling in refmt transfrom
2019-10-15 02:08:28 +02:00
Łukasz Magiera
67c7dc46ee
Merge pull request #363 from filecoin-project/feat/no-empty-addr
...
prevent serialization of empty addresses
2019-10-15 02:04:23 +02:00
Jakub Sztandera
0add5bbb8d
Fix zero handling in refmt transfrom
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-14 17:00:22 +02:00
whyrusleeping
7c26e3c35f
WIP: ensure blocks make it into repo before pushing to pubsub
2019-10-14 23:21:37 +09:00
Jakub Sztandera
4c579acdef
Fix panic if there is a panic in the hanlder function
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-14 15:38:47 +02:00
whyrusleeping
961caa237d
prevent serialization of empty addresses
2019-10-14 20:53:20 +09:00
whyrusleeping
62057a8929
reject messages with bad 'To' addresses
2019-10-14 12:28:19 +09:00
Łukasz Magiera
7e6e18c07a
Merge pull request #356 from filecoin-project/fix/not-found-log
...
remove not found log, its okay
2019-10-14 00:56:07 +02:00
whyrusleeping
097e569792
remove not found log, its okay
2019-10-13 22:16:01 +09:00
whyrusleeping
5a733f282e
Some simple measures to avoid mpool DoSing
2019-10-13 22:03:15 +09:00
Jakub Sztandera
68db93b62e
More if not needed
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-13 03:08:05 +02:00
whyrusleeping
c63eca1e45
if not needed
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-13 03:08:05 +02:00
whyrusleeping
45737f8a51
add more tracing spans
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-13 03:07:55 +02:00
Łukasz Magiera
704f06761a
Merge pull request #347 from filecoin-project/feat/list-miners-cmd
...
implement commands to list actors and miners
2019-10-12 09:10:19 +02:00
Łukasz Magiera
663d0adc23
Merge pull request #339 from filecoin-project/feat/vm-transfer-cleanup
...
some cleanup of vm transfer logic to make juan happier
2019-10-12 09:04:44 +02:00
whyrusleeping
80d306de14
check transfer amounts are positive values
2019-10-12 15:57:49 +09:00
whyrusleeping
edcf47ff31
implement commands to list actors and miners
2019-10-12 15:45:48 +09:00
Łukasz Magiera
3481048431
fix events deadlock when chaining calls
2019-10-12 01:13:07 +02:00
whyrusleeping
a56e786e36
some cleanup of vm transfer logic to make juan happier
2019-10-11 18:13:04 +09:00
whyrusleeping
7eefa4e577
use faster bls code
2019-10-11 12:26:54 +09:00
Łukasz Magiera
4334e4d93d
Merge pull request #333 from filecoin-project/feat/th-names
...
townhall: Node names
2019-10-11 04:55:33 +02:00
Łukasz Magiera
79f10078ae
Merge pull request #325 from filecoin-project/feat/logs-elk
...
Integrate log collection
2019-10-11 04:52:26 +02:00
Łukasz Magiera
387adae115
townhall: Node names
2019-10-11 04:45:45 +02:00
Łukasz Magiera
177a876cf2
Merge pull request #323 from filecoin-project/feat/tracing-1
...
add some more tracing to chain sync
2019-10-11 04:19:12 +02:00
whyrusleeping
52fd55a379
import order
2019-10-11 11:17:24 +09:00
Jakub Sztandera
e14e0ae762
Use the same key
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-11 02:02:54 +02:00
Jakub Sztandera
49e3fe39f8
Structure logs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-11 02:00:04 +02:00
Łukasz Magiera
1a5bf0afe3
chainstore: execute reorg ops in separate goroutine
2019-10-11 01:50:49 +02:00
Łukasz Magiera
4c5157d270
Lotus Townhall
2019-10-10 14:02:43 +02:00
whyrusleeping
3f342d7ae2
add some more tracing to chain sync
2019-10-10 20:13:26 +09:00
Łukasz Magiera
356c1cfab0
Merge pull request #321 from filecoin-project/feat/chain-set-head
...
expose command to set chainstore head
2019-10-10 06:00:54 +02:00
whyrusleeping
acec79cf3f
expose command to set chainstore head
2019-10-10 12:50:50 +09:00
Łukasz Magiera
f8ccbe92c1
Merge pull request #319 from filecoin-project/fix/bad-expansion
...
don't add bad blocks to tipsetcache
2019-10-10 05:50:03 +02:00
Whyrusleeping
b964a8d3c0
Update chain/sync.go
...
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-10-10 12:37:29 +09:00
whyrusleeping
85684ba7e2
don't add bad blocks to tipsetcache
2019-10-10 12:04:10 +09:00
Łukasz Magiera
30d7a714a9
miner: don't mine on the same base twice
2019-10-10 02:39:53 +02:00
Łukasz Magiera
289332c497
Merge pull request #308 from filecoin-project/fix/tostoragebls
...
Fix ToStorageBlock on BLS msgs
2019-10-09 15:08:26 +02:00
Łukasz Magiera
e0d935530f
Fix ToStorageBlock on BLS msgs
2019-10-09 14:57:48 +02:00
Łukasz Magiera
5448ba6a3c
Merge pull request #305 from filecoin-project/feat/bad-block-cache
...
Implement cache for bad blocks
2019-10-09 14:56:18 +02:00
whyrusleeping
67058aee53
make it a const
2019-10-09 21:55:27 +09:00
whyrusleeping
bb974d23e6
arc cache is threadsafe
2019-10-09 21:50:07 +09:00
whyrusleeping
b333247fab
switch to a bounded cache
2019-10-09 21:23:45 +09:00
whyrusleeping
8e51ab8375
don't bother looking in genesis block for messages
2019-10-09 17:56:47 +09:00
whyrusleeping
da08ab9fd8
Implement cache for bad blocks
2019-10-09 17:50:57 +09:00
Łukasz Magiera
b3a88a21ce
Merge pull request #299 from filecoin-project/feat/remove-vdfs
...
remove VDFs from tickets
2019-10-09 10:02:51 +02:00
whyrusleeping
14c4a8bee6
implement looking in the past for messages
2019-10-09 09:33:18 +02:00
whyrusleeping
84985ef96f
add tipset message was executed in back to waitmsg call
2019-10-09 09:30:12 +02:00
Łukasz Magiera
b8bc54fd5b
Merge pull request #296 from filecoin-project/feat/verify-block-msg-signatures
...
Feat/verify block msg signatures
2019-10-09 09:25:21 +02:00
Łukasz Magiera
7d87a42a67
Apply suggestions from code review
...
Don't panic
2019-10-09 09:24:58 +02:00
whyrusleeping
19b16077fe
remove VDFs from tickets
2019-10-09 13:38:59 +09:00
whyrusleeping
249074761c
verify message signatures during block validation
2019-10-09 11:58:49 +09:00
whyrusleeping
68c1170250
compute signatures over msg cids instead of raw bytes
2019-10-09 10:32:08 +09:00
whyrusleeping
80b40e7e70
make magik happier
2019-10-08 18:46:36 +09:00
whyrusleeping
b40de6995b
implement key import and export
2019-10-08 18:17:03 +09:00
Whyrusleeping
3c68e66b4c
Merge pull request #285 from filecoin-project/fix/event-null-blocks
...
events: Handle null blocks correctly
2019-10-08 11:34:01 +09:00
Whyrusleeping
d71b8bd8ba
Merge pull request #290 from filecoin-project/fix/sync-forked-chain
...
Fix/sync forked chain
2019-10-07 18:39:56 -06:00
Whyrusleeping
c6fbf3b704
Merge pull request #281 from filecoin-project/fix/vm-log
...
Fix vm log
2019-10-07 18:32:14 -06:00
whyrusleeping
983ae22a03
remove outdated comment
2019-10-08 09:30:20 +09:00
whyrusleeping
684e8e27fc
use proper const
2019-10-08 09:28:13 +09:00
whyrusleeping
0182b804a2
give syncer ability to deal with forked chains
2019-10-05 23:14:50 -06:00
whyrusleeping
5cb819b322
lots of cleanup, and finally a chain fork test case repro!
2019-10-05 21:32:56 -06:00
Łukasz Magiera
27411f7e3a
events: Give non-null tipsets in handlers
2019-10-06 01:43:10 +02:00
whyrusleeping
76ceb1f25a
a bit more hacking to make the test framework bend to my will
2019-10-05 17:18:39 -06:00
whyrusleeping
fca5a4765d
begin allowing test framework to generate forks
2019-10-05 10:04:58 -06:00
Jakub Sztandera
9e74b19da0
Improve logs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-05 17:59:35 +02:00
Łukasz Magiera
d0850b8c2f
events: Change null block handling
2019-10-05 01:49:18 +02:00
Łukasz Magiera
1cfe67cb59
Make sure that tipsetcache get works when tail ts in null
2019-10-05 01:26:36 +02:00
Łukasz Magiera
7170e1893f
events: Handle null blocks correctly
2019-10-05 00:43:04 +02:00
Jakub Sztandera
991ab167fe
Fix vm log
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-04 22:57:59 +02:00
whyrusleeping
f9ac86ab00
the doneset is for dropping sectors
2019-10-04 12:30:30 -06:00
Jakub Sztandera
211444059c
Sort the result of All in bitfiled
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-04 20:18:11 +02:00
Whyrusleeping
b6d50c07c8
Merge pull request #276 from filecoin-project/fix/block-printing
...
improve accuracy of block printing with getblock
2019-10-04 09:39:47 -06:00
whyrusleeping
27f120bfce
improve accuracy of block printing with getblock
2019-10-03 13:22:21 -07:00
Whyrusleeping
c0a3e675e4
Merge pull request #275 from filecoin-project/feat/cleanup-create-block
...
clean up create block
2019-10-03 14:05:03 -06:00
whyrusleeping
ed64b87ce2
clean up create block
2019-10-03 13:45:14 -06:00
Jakub Sztandera
9b90022c50
Improve logs and error messages
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-03 20:20:29 +02:00
whyrusleeping
10a5dd15f7
fix a couple small bugs
2019-10-02 15:12:37 -06:00
whyrusleeping
8903fb4f19
handle looking for messages executed by the genesis block
2019-10-02 14:49:38 -06:00
whyrusleeping
f15557649f
leave better rationale for the special case in TipSetState
2019-10-02 14:27:41 -06:00
whyrusleeping
c0e6e611be
clean up usage of stmgr.TipSetState
2019-10-02 14:03:27 -06:00
whyrusleeping
65def6cc58
handle getting state for genesis block
2019-10-02 12:00:08 -06:00
whyrusleeping
1ec5c61015
fix block reward application
2019-10-02 09:50:10 -06:00
whyrusleeping
b9cc6f61b6
rebase and fix tests
2019-10-01 15:34:53 -06:00
whyrusleeping
8f203bc29b
WIP: refactor waitformsg to use parent tipset inclusion
2019-10-01 15:21:01 -06:00
whyrusleeping
1419031f1e
switch to parent state roots
2019-10-01 15:21:01 -06:00
whyrusleeping
317e83a410
fix sync tests by sorting tipsets
2019-10-01 12:47:42 -06:00
whyrusleeping
74ad58881b
use new cbor-gen code with better errors
2019-10-01 09:53:39 -06:00
Łukasz Magiera
bc7faec5d2
Merge pull request #248 from filecoin-project/feat/sync-state-cmd
...
Add a command to inspect sync state progress
2019-09-30 18:04:59 -06:00
Łukasz Magiera
1721c84ab5
Merge pull request #251 from filecoin-project/fix/events-crash
...
Event system fixes
2019-09-30 18:03:50 -06:00
whyrusleeping
798b1ebde9
Add some more error annotations
2019-09-30 17:55:35 -06:00
Łukasz Magiera
d7562d8716
tscache: fix storage fetch
2019-10-01 00:55:59 +02:00
Łukasz Magiera
9fe0c3ec68
wip
2019-10-01 00:38:07 +02:00
Łukasz Magiera
b63aa91660
wip
2019-10-01 00:37:01 +02:00
whyrusleeping
0d628516ed
make it a type in api
2019-09-30 16:29:40 -06:00
whyrusleeping
af18cbac53
Add a command to inspect sync state progress
2019-09-30 15:06:47 -06:00
Łukasz Magiera
6c1fbf7c5c
chain: Fix voucher increment math
2019-09-30 20:20:44 +02:00
Whyrusleeping
47bf759122
Merge pull request #223 from filecoin-project/feat/block-reward
...
working on correct block reward
2019-09-27 15:08:54 -07:00
Jakub Sztandera
76ab2e8a7b
De-javify
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-28 00:02:02 +02:00
Jakub Sztandera
b90f45fa60
Change build params
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-27 23:42:12 +02:00
Whyrusleeping
b611637652
Apply suggestions from code review
...
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-09-27 13:47:10 -07:00
Łukasz Magiera
e0632a93ab
Share ProvingPeriodEnd math
2019-09-27 21:47:47 +02:00
Łukasz Magiera
ba0559ae58
events: Fix tipSetCache at higher heights
2019-09-27 14:35:09 +02:00
Łukasz Magiera
2874022251
jsonrpc: Channel buffeering
2019-09-27 13:37:44 +02:00
whyrusleeping
639139795b
remember why the go big math library works the way it does
2019-09-26 16:09:10 -07:00
Jakub Sztandera
ef5e7674db
Use incremental alg for rewards
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-27 00:33:38 +02:00
Łukasz Magiera
1024812559
storageminer: Update post scheduling
2019-09-26 23:32:47 +02:00
Łukasz Magiera
4305824be7
miner actor: Change PPE logic in submitPost
2019-09-26 23:32:47 +02:00
Whyrusleeping
ad101640ad
Merge pull request #236 from filecoin-project/feat/miner-filter-mpool
...
Feat/miner filter mpool
2019-09-26 14:27:14 -07:00
whyrusleeping
d82a1f8184
fix nonce checking and also check cumulative balance
2019-09-26 13:47:34 -07:00
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