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
117bea4e4e
Merge pull request #1030 from filecoin-project/feat/chain-list-messages
...
implement list-messages command
2020-01-08 13:50:55 +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
95a89ad192
implement list-messages command
2020-01-08 13:41:23 +01:00
whyrusleeping
897cf72933
Add command to mark given blocks as bad
2020-01-07 21:42:15 -08:00
whyrusleeping
62db7a6dda
fix build
2020-01-07 21:10:43 -08:00
Łukasz Magiera
a11e8093e5
mpool: Return CID in MpoolPush
2020-01-07 21:10:30 -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
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
8418464d91
refactor(address): use extracted address library
...
Switch to using extracted address library
2020-01-07 14:53:27 +01:00
laser
6a740a6d67
consume newly-extracted paramfetch
2020-01-02 11:08:49 -08:00
whyrusleeping
e5899f614a
Tag peers who send us good blocks over pubsub
2019-12-19 12:47:55 -08:00
Łukasz Magiera
81233b894d
Implement 'chain get' for easier ipld digging
2019-12-19 17:58:02 +01:00
Łukasz Magiera
a4521955d5
libp2p: enable ping
2019-12-18 20:33:13 +01:00
Łukasz Magiera
41566f205a
connmgr: bring low/high water values closer
2019-12-18 16:38:58 +01:00
whyrusleeping
619e6ffdd7
fix master build
2019-12-17 14:20:37 -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
ff5b086f58
mark bootstrap peers as protected
2019-12-17 11:18:19 -08:00
whyrusleeping
6cb6167393
bump up filecoin related weights
2019-12-17 10:16:10 -08:00
whyrusleeping
ca7e2e76c2
drop miner tagger logic as it doesnt do what we want it to
2019-12-17 10:16:10 -08:00
Łukasz Magiera
8284436eae
Setup PeerTagger as Invoke
2019-12-17 17:28:02 +01:00
Łukasz Magiera
241c7c7ecc
Wire up ConnMgr config
2019-12-17 17:09:43 +01:00
Jakub Sztandera
0eb7991bbd
Fix version check
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 16:26:16 +01:00
Łukasz Magiera
11d11c88ae
Revert "Refactor versions"
2019-12-17 16:16:57 +01:00
whyrusleeping
535916e54b
fix log messages
2019-12-16 23:27:02 -08: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
eb4077b1af
allow specifying some protected peers in the config file
2019-12-16 21:37:31 -08:00
Jakub Sztandera
867cba610b
Refactor versions
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 00:43:43 +01: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
Łukasz Magiera
5154f525d3
config: don't comment sections be default
2019-12-16 12:46:52 +01:00
jsign
40289848c6
client: make wallet addr be a param in ClientStartDeal
...
Signed-off-by: jsign <jsign.uy@gmail.com>
2019-12-13 16:15:56 -03: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
Łukasz Magiera
fc6073d13b
chainwatch: Collect sector set sizes
2019-12-12 00:32:09 +01:00
Jakub Sztandera
c9eed9635b
Fix hello calling close before compleating timestamp exchange
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 22:18:22 +01:00
Jakub Sztandera
86feebc899
Fix timeoffset hello calculation
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 16:36:08 +01:00
Łukasz Magiera
edd40895b8
disable head notifs by default
2019-12-11 16:08:50 +01:00
whyrusleeping
d6bfbe5a26
allow setting genesis timestamp when initializing network
2019-12-11 15:36:39 +01:00
Łukasz Magiera
ce6912047d
Change pnet key
2019-12-10 23:11:45 +01:00
Jakub Sztandera
32b429a69a
Disconnect if hello fails
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 22:09:48 +01:00
Łukasz Magiera
88f46d4539
Fix node_test
2019-12-10 19:13:45 +01:00
Jakub Sztandera
f528aed598
Add offset tracking
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 16:58:21 +01:00
Jakub Sztandera
a53d1031db
Fix nil check
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 16:36:53 +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
whyrusleeping
e27217c6a1
fix sync tests
2019-12-09 22:17:15 +01:00
Łukasz Magiera
f16756cc54
Merge pull request #820 from filecoin-project/fix/multi-miner-genesis-init
...
Fix/multi miner genesis init
2019-12-09 21:34:51 +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
b444771427
setup enough fake peer IDs for miner generation
2019-12-09 19:56:55 +01:00
Łukasz Magiera
0de9991dcd
Merge pull request #816 from filecoin-project/feat/api-cleanup
...
Move api struct to a seprate pkg
2019-12-09 18:33:13 +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
c49dc28a04
Move api struct to a seprate pkg
2019-12-09 18:22:11 +01:00
Jakub Sztandera
1a2401a816
Add short tests
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 17:49:30 +01:00
Łukasz Magiera
94df2c656e
Use map encoders for some structs
2019-12-09 17:40:15 +01:00
Łukasz Magiera
7d68d9a029
storage: print sector retries in sector info
2019-12-08 23:35:46 +01:00
Łukasz Magiera
ef0d45e406
storage: addres review around nonces in sector states
2019-12-08 23:35:46 +01:00
Łukasz Magiera
55c1432347
Handle reverts in precommit more correctly
2019-12-08 23:35:46 +01:00
Jakub Sztandera
7f537dce2d
More renames
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-08 22:48:20 +01:00
whyrusleeping
d3f08c5243
remove more spammy logs
2019-12-07 23:32:34 +01:00
whyrusleeping
d8d7827579
other peer having different genesis is now a warning
2019-12-07 23:16:39 +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
e6a08784f8
print more errors if epost fails during tipset state evaluation
2019-12-07 17:24:42 +01:00
Jakub Sztandera
92e7b4afbf
Fix tests, circle and make ux nicer
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-06 22:49:44 +01:00
Jakub Sztandera
d53e43c24d
Fix test, improve log
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-06 19:47:55 +01:00
Łukasz Magiera
6f024bee58
Merge pull request #736 from filecoin-project/feat/params-v20
...
Params v20
2019-12-05 14:03:37 +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
whyrusleeping
b7a89b56b3
more statticcheck!
2019-12-04 21:14:19 -08:00
whyrusleeping
df069af5e5
some errcheck discoveries
2019-12-04 21:02:14 -08:00
whyrusleeping
40be53c9f9
add command for power users to manually update sector state
2019-12-04 20:43:54 -08:00
whyrusleeping
613a0a05a0
more of that sweet staticcheck goodness
2019-12-04 18:04:09 -08:00
Łukasz Magiera
3daf9103a8
paramfetch: Only pull necessary params
2019-12-04 20:44:15 +01:00
Łukasz Magiera
b2001db9d5
worker: Fix rebaining bugs
2019-12-04 17:53:32 +01:00
Łukasz Magiera
28dde1a2d3
worker: Use system tar for moving cache around
2019-12-04 15:58:28 +01:00
Łukasz Magiera
edd30c7aa1
Merge branch 'master' into feat/remote-workers
2019-12-04 14:10:15 +01:00
whyrusleeping
c302051bc2
add duration tracking to sync status
2019-12-03 20:59:41 -08:00
Łukasz Magiera
d112fd18b1
Persist sector sealing errors
2019-12-04 01:44:29 +01:00
whyrusleeping
d0448287a9
remove unnecessary code
2019-12-03 12:05:54 -08:00
Łukasz Magiera
2d28bcf057
Allow calling MpoolPending with nil TS
2019-12-03 20:34:31 +01:00
Łukasz Magiera
96c04fc0a6
mpool: Make MpoolPending more atomic
2019-12-03 20:33:29 +01:00
whyrusleeping
9ad4a00cda
fix miner message filter nonce checking
2019-12-03 13:38:50 +01:00
Łukasz Magiera
160e11ce8c
Merge branch 'master' into feat/remote-workers
2019-12-03 03:24:00 +01:00
Łukasz Magiera
ad27131dcf
fix node_test
2019-12-03 02:41:31 +01: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
923748e551
Expand paths in node init
2019-12-02 23:10:22 +01:00
Łukasz Magiera
d5b94884c8
Buch of lint fixes
2019-12-02 13:51:16 +01:00
Łukasz Magiera
a47fbfa799
Merge branch 'devnet/9' into feat/election-post
2019-12-02 12:25:23 +01:00
Łukasz Magiera
68d1fd5958
Test Retrieval
2019-12-01 22:52:24 +01:00
Łukasz Magiera
a59d0f0f8c
Fix unsealing, sector based data refs
2019-12-01 18:58:31 +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
Łukasz Magiera
89556819ae
seal-worker: Handle cache
2019-11-30 14:22:50 +01:00
Łukasz Magiera
ed9279cf0c
Some fixes and dev utils
2019-11-30 10:25:31 +01:00
Łukasz Magiera
8767d8c16b
Merge branch 'feat/election-post' into feat/remote-workers
2019-11-30 09:42:28 +01:00
whyrusleeping
81038b6a19
fix the peer ID count check
2019-11-29 22:43:53 -06:00
whyrusleeping
3b533ed76c
Genesis miner config actually sets the created miner address now
2019-11-29 22:31:26 -06:00
Łukasz Magiera
cb7d15e67e
genesis setup improvements
2019-11-28 23:50:58 +01:00
Łukasz Magiera
920fd3ba9b
storageminer: New fallback post scheduler
2019-11-28 18:44:57 +01:00
Łukasz Magiera
16d5eea9b1
Merge pull request #684 from gguoss/master
...
Delete died code
2019-11-28 14:21:21 +01:00
郭光华
a8093c2962
Delete died code
...
Lotus used kad dht as discovery protocol, not mdns .
2019-11-28 18:06:00 +08:00
Łukasz Magiera
23e0008b81
Merge remote-tracking branch 'origin/master' into feat/election-post
2019-11-27 13:31:44 +01:00
Łukasz Magiera
d5a632f644
sectorbuilder: Drop stateful sectorbuilder refs
2019-11-26 23:13:01 +01:00
whyrusleeping
a0588d513d
Add lotus-gen, rewire genesis mining
2019-11-24 22:45:13 -06:00
Łukasz Magiera
43a5172944
mpool: persist local messages
2019-11-23 20:05:18 +01:00
Łukasz Magiera
2deae35dcc
Merge pull request #672 from filecoin-project/feat/no-pkg-error
...
Swtich to xerrors
2019-11-22 12:40:59 -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
Łukasz Magiera
3281e9448a
fix rspco serialization
2019-11-22 16:48:02 +01:00
whyrusleeping
96482f456a
WIP: election post restructuring
2019-11-21 16:21:45 -06:00
Łukasz Magiera
b726b95298
WIP remote sector CommitSseal
2019-11-21 20:51:53 +01:00
Łukasz Magiera
d4197bbadc
Working remote PreCommit
2019-11-21 19:38:50 +01:00
Łukasz Magiera
98b1de33b6
Stats for remote workers
2019-11-21 17:23:42 +01:00
Łukasz Magiera
ba3ad75670
remote-worker: wire up storage miner endpoints
2019-11-21 15:10:51 +01:00
Łukasz Magiera
4815dd619e
Merge pull request #648 from filecoin-project/feat/pubsub-tracer
...
pubsub tracing
2019-11-21 07:05:49 -06:00
Łukasz Magiera
9725eb78bf
wip remote sectorbuilder workers
2019-11-21 01:53:06 +01:00
Łukasz Magiera
c7c422abbd
Use config for pubsub tracing
2019-11-20 21:31:00 +01:00
Łukasz Magiera
ddf2e05dd0
post: More correct 'wait' logic
2019-11-20 18:00:05 +01:00
whyrusleeping
f8eabd3db4
Refactor mining logic to match specs ticket chain
2019-11-20 10:52:36 -06:00
Łukasz Magiera
d3b980ef58
api.SyncIncomingBlocks
2019-11-20 17:47:44 +01:00
Łukasz Magiera
1f913b8df2
api.MpoolSub
2019-11-20 17:45:02 +01:00
Łukasz Magiera
a36c3597d4
api.StateChangedActors
2019-11-20 17:45:02 +01:00
Łukasz Magiera
8ac65cde80
api.StateLookupID
2019-11-20 17:45:02 +01:00
vyzo
3a8100fd3c
hardcode pubsub tracer
2019-11-20 01:31:55 +02: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
Łukasz Magiera
485c3e34e8
Fix StateMinerPower again
2019-11-15 02:26:25 +01:00
Łukasz Magiera
5381d10fe3
StateAPI: account for slashing in StateMinerPower
2019-11-15 02:01:53 +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
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
Jakub Sztandera
d9520a05dd
Make sure pond works, don't override config
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-13 16:37:54 +01:00
Jakub Sztandera
a58e165339
Restore api flags
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-13 16:37:40 +01:00
Jakub Sztandera
70419c0f55
Use API ListenAddress from config
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-13 16:37:40 +01: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
Łukasz Magiera
73ab6c0c66
WorkerCount on storageminer config
2019-11-12 18:59:38 +01: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
hannahhoward
ccfc3c5b19
refactor(datatransfer): move registrations to builder
...
move registration function for validators to builder code
2019-11-11 12:25:19 -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
whyrusleeping
904fdad4c6
extract blocksync into its own package
2019-11-09 15:00:22 -08:00
Łukasz Magiera
aaacfd15cd
Add comments to fillersFromRem
2019-11-09 00:06:07 +01:00
Łukasz Magiera
fa67ccb5f3
Fix storageminer sectorblocks constructor
2019-11-08 22:00:01 +01:00
Łukasz Magiera
3d360167df
sectorbuilder: Call destroy in DI module
2019-11-08 21:30:50 +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
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
12161fc607
deals: Finish client sealing state handler
2019-11-07 10:13:42 +01:00
whyrusleeping
54722a0d38
WIP: fixing the tests by waiting for chain activity
2019-11-06 23:57:10 -08:00
whyrusleeping
480e7899ef
fail test if deal errors
2019-11-07 00:39:34 +01:00
whyrusleeping
597dbe369c
Add method to query latest deal state
2019-11-07 00:39:34 +01:00
whyrusleeping
7cb4148b18
storage miner node needs mocknet option
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
68c2d4f58a
deals: Set correct Refs
2019-11-06 18:38:42 +01:00
Łukasz Magiera
ed5ccfd750
Merge remote-tracking branch 'origin/devnet/7' into feat/interactive-porep
2019-11-05 18:53:19 +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
c76ce2a2eb
rate-limit some sectorbuilder ops
2019-11-04 18:36:29 +01:00
Łukasz Magiera
13da5a5966
Put WorkerThreads on sectorbuilder.Config
2019-11-04 17:47:08 +01:00
Łukasz Magiera
be8fe54ea3
Set correct Provider addr in StoreGarbage
2019-11-02 15:13:37 +01:00
Łukasz Magiera
3bc4a5dddf
More progress on fixing storing garbage data
2019-11-02 00:43:54 +01:00
Łukasz Magiera
82344649d3
Use state store for sectors
2019-11-01 15:06:49 +01:00
whyrusleeping
fc9091cc89
Get interactive porep sector sealing mostly working
2019-10-31 20:57:10 -07:00
whyrusleeping
a954ebc6b6
Add command to unregister miner from full node manually
2019-10-31 15:04:13 -07:00
Łukasz Magiera
3cde267a2a
Move statestore to lib
2019-10-31 22:01:44 +01:00
whyrusleeping
759094198c
Some more progress on interactive porep
2019-10-30 18:22:50 -07:00
Jakub Sztandera
407183b258
Fix double locking
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 23:33:31 +01:00
Łukasz Magiera
7fa3e2db7a
WIP Interactive PoRep
2019-10-30 19:10:29 +01: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
44f4ee0de1
storageminer: cmd to list sector commitments
2019-10-29 21:41:30 +01:00
Jakub Sztandera
6d594bab67
Merge pull request #491 from filecoin-project/feat/bg-store-garbage
...
Run store-garbage in background
2019-10-29 19:33:48 +01:00
Łukasz Magiera
5432987030
repo: enable badger log truncation
2019-10-29 19:04:35 +01:00
Łukasz Magiera
8e1a9a71e6
Run store-garbage in background
2019-10-29 18:52:07 +01:00
Łukasz Magiera
72af55d067
deals: Price per epoch
2019-10-29 11:01:18 +01:00
Łukasz Magiera
ac98c8f451
Use spec complaiant SealRandomnessLookback
2019-10-28 18:14:24 +01:00
Łukasz Magiera
53cbe3446d
pond: Miner state viewer
2019-10-27 11:27:21 +01:00
Łukasz Magiera
c1076a0c7d
set correct block height in SealTicket
2019-10-27 10:24:20 +01: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
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
1094e9aff9
on chain deals: Better client window in pond
2019-10-25 15:39:27 +02:00
Łukasz Magiera
76f1e6e207
on chain deals: Put dealIDs in CommitSector messages
2019-10-24 16:24:31 +02: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
61e14d0f4c
on chain deals: Fix some serialization bugs
2019-10-23 14:59:57 +02:00
Łukasz Magiera
5175d8541e
peer manager: Handle bootstrap in peermgr
2019-10-23 13:11:18 +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
213ac77d08
on chain deals: Expose more chain state in pond
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
c41dd4efeb
actora: register storagemarket
2019-10-23 12:44:00 +02:00
Łukasz Magiera
aab3bd617a
REST file import endpoint
2019-10-23 11:39:44 +02:00
whyrusleeping
63b81af23e
handle changing default address
2019-10-18 20:42:00 +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
whyrusleeping
d818e20df5
Wallets record default address in keystore
2019-10-17 19:18:40 +09:00
Łukasz Magiera
170b49b625
make: fix install, faster bootstrap
2019-10-17 03:24:45 +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
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
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
7c26e3c35f
WIP: ensure blocks make it into repo before pushing to pubsub
2019-10-14 23:21:37 +09:00
whyrusleeping
e8a1b54740
Add more info to storage-miner info command output
2019-10-14 11:32:32 +09:00
Łukasz Magiera
379f0116a2
Merge pull request #334 from filecoin-project/feat/bootstrap-config
...
config: Allow overriding bootstrap peers
2019-10-12 09:31:35 +02:00
whyrusleeping
edcf47ff31
implement commands to list actors and miners
2019-10-12 15:45:48 +09:00
whyrusleeping
9147047062
add command to view chain easily
2019-10-11 15:25:25 +09:00
Łukasz Magiera
9a536e7cc0
config: Allow overriding bootstrap peers
2019-10-11 05:16:12 +02: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
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
Łukasz Magiera
1b96c6488b
Merge pull request #327 from filecoin-project/feat/get-genesis
...
Add get genesis api endpoint
2019-10-11 04:17:46 +02:00
whyrusleeping
1b263f685b
Add get genesis api endpoint
2019-10-11 11:14:22 +09:00
Łukasz Magiera
40267e15b2
Merge pull request #326 from filecoin-project/feat/periodic-bootstrap
...
Periodic bootstrap
2019-10-11 04:09:01 +02:00
Łukasz Magiera
c0179bd4fa
Periodic bootstrap
2019-10-11 02:31:26 +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
85684ba7e2
don't add bad blocks to tipsetcache
2019-10-10 12:04:10 +09:00
Łukasz Magiera
b32d197bca
Merge pull request #313 from filecoin-project/fix/genesis-timestamp
...
Fix timestamp in genesis
2019-10-10 04:18:58 +02:00
Jakub Sztandera
79ee959a90
Use log.Warn
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-09 22:23:04 +02:00
Jakub Sztandera
2a9ab727c8
Make version print nicely
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-09 22:18:53 +02:00
Jakub Sztandera
22ad0e176d
Fix timestamp in genesis
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-09 19:08:06 +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
752654ab03
Devnet 3; Builtin bootstrap; NAT Port Map
2019-10-09 05:16:35 +02: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
Łukasz Magiera
2b04a9b6be
mpool: check origin balance before actually pushing to mpool
2019-10-08 15:09:07 +09:00
Łukasz Magiera
4107c49db2
pond: Fix block explorer after stateroot refactor
2019-10-08 14:58:10 +09: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