laser
dcd9e7da27
miscellaneous fixes post-rebase
2020-04-06 13:23:37 -07:00
Łukasz Magiera
13f2c21e1d
Get network name from genesis
2020-04-01 01:15:49 +02:00
Aayush Rajasekaran
8ec19812e3
Update chain-validation, enable state root validation
2020-03-31 03:09:42 -04:00
Łukasz Magiera
95ee1c1cde
Extract sector-storage
2020-03-28 01:32:39 +01:00
Łukasz Magiera
de1f2be505
Merge pull request #1458 from filecoin-project/feat/merge-sectorbuilder
...
Merge sectorbuilder into sectorstorage
2020-03-27 18:53:58 +01:00
Travis Person
59e77ba6c8
Merge pull request #1457 from filecoin-project/feat/exitcodes
...
Update to new sepcs actors, more debug
2020-03-26 17:54:25 -07:00
Łukasz Magiera
e050e0307e
Cleanup after dropping sectorbuilder
2020-03-26 20:35:16 +01:00
Aayush Rajasekaran
dc5159ce74
Update chain-validation, make necessary changes
2020-03-26 06:41:02 -04:00
Łukasz Magiera
4be54a976c
Merge sectorbuilder into sectorstorage
2020-03-26 03:51:06 +01:00
Łukasz Magiera
6399499e9b
Fix sealing sectors with multiple pieces
2020-03-26 02:18:13 +01:00
Jakub Sztandera
300c89f541
Update to new sepcs actors, more debug
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-26 01:02:13 +01:00
Łukasz Magiera
201d0a4b19
Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers
2020-03-25 01:02:23 +01:00
Jeromy
ec0d0a51db
chain validation nil return values should be []byte{}
2020-03-24 13:09:04 -07:00
Łukasz Magiera
66a682b55d
Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers
2020-03-24 19:09:02 +01:00
Aayush Rajasekaran
753e8ff7f5
Award gas fees to miners correctly
2020-03-24 03:35:58 -04:00
Jeromy
1c55c6afba
update to anorths chainval PR
2020-03-23 18:50:28 -07:00
Jeromy
8bc4195b7a
WIP: updating and getting chainval tests passing
2020-03-23 18:50:18 -07:00
Whyrusleeping
d74ede5a79
Merge pull request #1428 from filecoin-project/feat/graphsync-fetching
...
WIP: integrate graphsync for chainsync requests
2020-03-23 18:47:17 -07:00
Łukasz Magiera
df9aa0e357
storagemitner: manage ulimit on start
2020-03-22 22:08:22 +01:00
Jeromy
f3781e8329
update and rerun cbor gen
2020-03-21 14:17:01 -07:00
whyrusleeping
1076a1a89d
WIP: integrate graphsync for chainsync requests
2020-03-20 21:30:24 -07:00
Jeromy
6fcfd0a4f0
add a test to roundtrip export/import a chain
2020-03-20 18:22:24 -07:00
Łukasz Magiera
709fd034b4
mod tidy
2020-03-20 23:43:20 +01:00
Łukasz Magiera
e6aa01653a
Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers
2020-03-20 23:42:46 +01:00
Łukasz Magiera
c57c0e7f55
workers: Memory based scheduling
2020-03-20 23:30:17 +01:00
Jeromy
588a55c9d7
update chain validation
2020-03-20 14:08:47 -07:00
Jakub Sztandera
ac09a6432c
Skip failing tests, update chain-validation
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-20 18:21:13 +01:00
Jakub Sztandera
ae40654907
Rework gas charging
2020-03-20 03:26:40 -04:00
Łukasz Magiera
1ed7779701
Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers
2020-03-19 03:28:55 +01:00
whyrusleeping
f1327b75c3
update to latest specs actors code
2020-03-18 15:16:50 -07:00
laser
4458d090b3
tidy
2020-03-18 11:57:32 -07:00
laser
eacf991bb2
update go-fil-markets dependency
2020-03-18 10:21:50 -07:00
Aayush Rajasekaran
993505b461
Enable full validation tests
2020-03-18 02:57:11 -04:00
Whyrusleeping
8d0b2947d6
Merge pull request #1409 from filecoin-project/feat/proofs-v24
...
Update to v24 params
2020-03-17 22:24:52 -07:00
Łukasz Magiera
5f2caffb51
Fix tests after specs-storage changes
2020-03-18 02:08:11 +01:00
hannahhoward
f259bc6a09
feat(graphsync): unified graphsync instance
...
setup a single graphsync that loads from both the chainstore & client blockstore
2020-03-17 17:25:12 -07:00
Łukasz Magiera
d8ce5078d9
Use new specs-storage interface
2020-03-17 21:19:52 +01:00
Łukasz Magiera
7e997e40f3
workers: Simple storage diagnostics
2020-03-16 18:50:07 +01:00
Łukasz Magiera
1bc55714ed
Update to v24 params
2020-03-14 03:45:44 +01:00
Frrist
7371274ea7
update chain-validation: adds miner workflow test ( #1403 )
...
* update chain-validation. adds miner workflow test
* replace real sealing with mocked impl
2020-03-12 10:22:45 -07:00
whyrusleeping
3971bf0c99
update specs actors with post and cron fixes
2020-03-11 00:08:51 -07:00
whyrusleeping
bccec5af95
update to latest specs-actors
2020-03-09 22:43:43 -07:00
Łukasz Magiera
fe85c4111a
update sectorbuilder with precommit1 mkdir fix
2020-03-09 22:13:13 +01:00
whyrusleeping
bf6948f8d6
update to latest specs-actors
2020-03-08 21:21:46 -07:00
whyrusleeping
ab51c7e2d2
Fix fallback post scheduling to hopefully do the right thing
2020-03-08 00:19:38 -08:00
whyrusleeping
24bf720a9a
Merge branch 'master' into testnet/3
2020-03-07 16:46:12 -08:00
Whyrusleeping
f17962182f
Merge pull request #1343 from filecoin-project/feat/sb-pc1-mkdir-fix
...
Update sectorbuilder to fix the mkdir bug in precommit1
2020-03-06 14:38:32 -08:00
Łukasz Magiera
a962479ce7
Update sectorbuilder to fix the mkdir bug in precommit1
2020-03-06 23:26:22 +01:00
hannahhoward
eef48c4be3
feat(client): support car to filestore
...
Store filestore reference for CAR files
2020-03-06 13:14:02 -08:00
Łukasz Magiera
3cab8bd5d1
gofmt
2020-03-06 20:01:28 +01:00
Łukasz Magiera
3d1a5f4bf3
libs: Use go-statemachine
2020-03-06 20:01:03 +01:00
Łukasz Magiera
38241d66cb
Merge branch 'testnet/3' into feat/miner-rewards-cmd
2020-03-06 19:04:36 +01:00
Łukasz Magiera
7d3e16986c
sectorbuilder type updates
2020-03-06 06:38:59 +01:00
whyrusleeping
1183e082af
add command to inspect and redeem block rewards
2020-03-05 21:32:52 -08:00
Łukasz Magiera
ec00636b52
Update FFI
2020-03-06 05:54:43 +01:00
Steven Allen
6992fd4dba
chore(dep): update dependencies
...
Updates:
* cid, multihash, and multiaddr to ensure that minimal varints are used.
* log to deduplicate some code between version 2 and version 1.
* multistream to avoid writing from multiple threads.
* badger/datastore to harden prefix handling in queries.
* libp2p to 0.5.2
BREAKING:
The new libp2p version now formats addresses with /p2p instead of /ipfs. /ipfs
multiaddrs are still supported.
2020-03-05 16:28:42 -08:00
whyrusleeping
8a7f249aaa
update to latest specs-actors
2020-03-05 16:20:57 -08:00
Łukasz Magiera
1c052b7c81
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-06 00:59:12 +01:00
Łukasz Magiera
a5c6d83cd9
gofmt; mod tidy
2020-03-05 23:43:41 +01:00
frrist
b8394c3573
update, you guessed it, chain-validation
2020-03-05 13:41:35 -08:00
Frrist
e4728eb719
update chain-val with latest tests ( #1325 )
...
* update chain-val with latest tests
2020-03-05 13:39:28 -08:00
whyrusleeping
2cd06e3ea0
update to latest specs-actors
2020-03-05 13:02:33 -08:00
Łukasz Magiera
fa5bc3a5a9
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-05 20:20:47 +01:00
whyrusleeping
4e9e3f3dc3
make state tree snapshots properly stack based
2020-03-04 17:19:15 -08:00
whyrusleeping
5076b2b950
fix reward actor and block reward application
2020-03-04 13:21:24 -08:00
Łukasz Magiera
799ff17c7c
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-04 06:37:11 +01:00
Łukasz Magiera
f50e26e5dd
update sectorbuilder
2020-03-04 06:32:13 +01:00
Łukasz Magiera
4e46d00eb6
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-04 04:01:13 +01:00
Łukasz Magiera
12d870e274
sealmgr: Read only multi-path file manager
2020-03-04 03:24:08 +01:00
whyrusleeping
52acfb88ee
use proper manual piece and size setting
2020-03-03 18:19:28 -08:00
whyrusleeping
99c842e027
integrate client interface to allow for offline deals
2020-03-03 16:18:08 -08:00
whyrusleeping
7b11224130
go mod updates, and a couple small fixes
2020-03-03 16:07:27 -08:00
whyrusleeping
0da2f81252
get most of the chain validation tests passing
2020-03-03 16:06:41 -08:00
frrist
dfad346cff
add test skipper and update chain-validation
2020-03-03 16:06:41 -08:00
frrist
72132c851b
update chain-validation version for miner creation
2020-03-03 16:06:41 -08:00
frrist
b60458d236
implement chain-validation driver
2020-03-03 16:06:41 -08:00
whyrusleeping
c51a83b404
fix a few libp2p related problems
2020-03-02 20:55:25 -08:00
hannahhoward
9beacabd66
fix(paychmgr): Fix issues with payment channels
...
Load full addresses for payment channels so they can be signed, fixes bugs with saving vouchers and
catching duplicates, updates to version of go-fil-markets that solves a retrieval bug to complete
retrieval deal
2020-03-02 18:15:32 -08:00
whyrusleeping
ca882725ce
fixup imports
2020-03-01 17:15:18 -08:00
whyrusleeping
60b19c51ef
more misc fixes
2020-03-01 17:09:38 -08:00
hannahhoward
fed548623d
fix(deps): update go-fil-markets
2020-02-28 19:32:33 -08:00
Łukasz Magiera
9794c04b94
Update sectorbuilder with Fr fix
2020-02-29 03:31:14 +01:00
Łukasz Magiera
f54a555aa8
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-02-29 03:21:01 +01:00
whyrusleeping
1a07cb7bbf
a few more fixes
2020-02-28 17:12:47 -08:00
whyrusleeping
cf2eefdfbe
Fix up client storage deal matcher
2020-02-28 16:05:56 -08:00
whyrusleeping
713059275d
progress is made incrementally
2020-02-28 14:00:34 -08:00
whyrusleeping
b03d2e2f9e
un go-mod hack things, integrate newly merged fixes
2020-02-28 11:31:28 -08:00
whyrusleeping
0945d8725e
fixing miner logic to make more tests pass
2020-02-28 11:31:28 -08:00
Łukasz Magiera
d5b8defcbb
Begin work on integrating new sectorbuilder interfaces
2020-02-28 18:17:40 +01:00
whyrusleeping
00efd097c7
implement basic message filtering
2020-02-27 17:40:16 -08:00
whyrusleeping
df6e3e83bf
make it all build finally
2020-02-27 13:45:31 -08:00
whyrusleeping
6c12068fb7
more fixes for random garbage
2020-02-26 16:42:39 -08:00
whyrusleeping
767392332e
WIP: update sectorbuilder
2020-02-26 14:54:34 -08:00
Nate Walck
f9dac3a291
Swap to opencensus for publishing data to prometheus
2020-02-25 19:40:07 -05:00
Łukasz Magiera
d787aa5007
Merge branch 'testnet/3' into feat/specs-actors
2020-02-24 18:32:02 +01:00
Łukasz Magiera
def0e0a7a1
Merge remote-tracking branch 'origin/master' into testnet/3
2020-02-24 17:30:46 +01:00
Nate Walck
c0ef65f442
Enable Prometheus metrics endpoint and add lotus version
2020-02-23 17:35:29 -05:00
Łukasz Magiera
917df9a5b8
More unified randomness handling
2020-02-23 21:00:47 +01:00
Łukasz Magiera
a82d156ccb
Deal flow fixes
2020-02-23 16:50:36 +01:00
Łukasz Magiera
226685dc1c
Implement committed capacity sectors
2020-02-23 01:47:47 +01:00
Łukasz Magiera
111d35deef
seed: New genesis creation commands
2020-02-21 21:57:00 +01:00
Łukasz Magiera
18627e77ff
gofmt; mod tidy
2020-02-21 20:28:20 +01:00
Łukasz Magiera
d6dffed203
Fix genesis car generation
2020-02-21 20:27:29 +01:00
Łukasz Magiera
104871d6c9
paych: Lanes are back to u64
2020-02-21 18:26:44 +01:00
Łukasz Magiera
c744dc06c6
Fix implicit account creation
2020-02-21 18:13:50 +01:00
Łukasz Magiera
57c43183e6
update specs-actors
2020-02-21 17:57:40 +01:00
Łukasz Magiera
69ec3c205a
Merge remote-tracking branch 'origin/master' into testnet/3
2020-02-19 22:10:14 +01:00
Łukasz Magiera
9c31f61db4
sectorset updates
2020-02-19 20:26:11 +01:00
Łukasz Magiera
e9019c8bcc
Working Genesis Generator
2020-02-18 22:38:08 +01:00
Whyrusleeping
6afeb2e72b
Merge pull request #1268 from filecoin-project/feat/simple-spam-protection
...
basic gossip spam protection logic
2020-02-18 10:39:36 -08:00
whyrusleeping
6d0eec6395
working towards a working genesis generator
2020-02-17 23:15:30 -08:00
Łukasz Magiera
4ad160ef80
specs-actors: Update cbor-gen
2020-02-17 22:42:15 +01:00
Łukasz Magiera
140187dc2a
vm: Fix Commit
2020-02-17 19:00:20 +01:00
Łukasz Magiera
3e4ebd6c9d
actors: fix miner constructor
2020-02-17 18:19:06 +01:00
Łukasz Magiera
4ad63d9b63
update specs-actors; update GetRandomness
2020-02-17 09:46:12 +01:00
whyrusleeping
1dafcf24f1
basic gossip spam protection logic
2020-02-16 21:51:18 -08:00
Łukasz Magiera
a92099258b
genesis: Register system actor
2020-02-14 22:38:18 +01:00
Łukasz Magiera
d5027bfbb2
Fix amt bug
2020-02-14 21:33:41 +01:00
Łukasz Magiera
48c5494cf9
use specs-actors birfields
2020-02-14 01:24:24 +01:00
Łukasz Magiera
74bf9119cc
spects-actors: More type propagation
2020-02-13 04:50:45 +01:00
Łukasz Magiera
36aed6f871
Update cbor-gen
2020-02-13 02:37:28 +01:00
Łukasz Magiera
91b2d2c2fe
cbor-gen fixes
2020-02-13 01:10:07 +01:00
hannahhoward
720e29848b
feat(markets): use non-custom go-fil-markets, from master
2020-02-12 14:32:26 -08:00
Jakub Sztandera
14580b6144
Import go-systemd properly
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-12 20:44:35 +01:00
Jakub Sztandera
50702f309f
Use new hello protocol
...
Using map encoder.
Types in LatencyMessage are int64 in spec, butl 1. tupled generator
does not support int64 right now; 2. there is no harm in using uint64 here.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-12 19:08:49 +01:00
Łukasz Magiera
a4f6b739be
genesis: Change template types
2020-02-12 01:58:55 +01:00
Łukasz Magiera
fa2c6605c2
Fix compilation after dep updates
2020-02-11 02:11:58 +01:00
Łukasz Magiera
a593a4f6f4
update ffi
2020-02-11 01:44:39 +01:00
Łukasz Magiera
6dce181314
Update specs-actors
2020-02-10 22:25:22 +01:00
Łukasz Magiera
13435aebdc
Spec Actors integration
2020-02-08 03:18:32 +01:00
Łukasz Magiera
1d0d429435
actors: Drop refs to multisig_actor.go
2020-02-06 20:49:21 +01:00
hannahhoward
d2c5d81e59
fix(deps): update go-fil-markets
...
update go-fil-markets to latest to solve an issue with retrieval
2020-02-05 18:48:47 -08:00
hannahhoward
d42cd6a5e2
fix(deps): mod tidy
2020-02-04 20:10:58 -08:00
hannahhoward
97b645cd55
fix(go-fil-markets): fix integration
...
remove broken aspects of go-fil-markets integration and update versins
2020-02-04 20:08:08 -08:00
whyrusleeping
faf05cafcf
squash forks and use correct amt library everywhere
2020-02-04 18:26:42 -08:00
Łukasz Magiera
c013ef3b30
Merge pull request #1219 from filecoin-project/feat/auto-shim
...
Make it all build
2020-02-05 00:01:41 +01:00
whyrusleeping
028a113737
Make it all build
2020-02-04 14:19:05 -08:00
Łukasz Magiera
d9f3b6c121
Merge pull request #1148 from filecoin-project/feat/msig-integration
...
DO NOT MERGE: Feat/msig integration
2020-02-04 07:19:49 +01:00
Łukasz Magiera
0e81c1cf7e
Merge branch 'testnet/3' into feat/update-markets
2020-02-04 07:17:22 +01:00
whyrusleeping
cd976ad79f
tests are mostly passing!
2020-02-03 18:52:18 -08:00
whyrusleeping
c73c5987c7
WIP: integrate multisig actor from specs-actors
2020-02-03 18:52:18 -08:00
whyrusleeping
dfe87c9f6f
update to latest hamt changes
2020-02-03 18:52:18 -08:00
Łukasz Magiera
ff77198a08
Update sectorbuilder with later cache mkdir
2020-02-03 18:37:40 +01:00
Łukasz Magiera
ee9060aa14
Update sectorbuilder
2020-01-31 02:18:48 +01:00
Łukasz Magiera
5af64c53b6
initial sectorbuilder FS refactor integration
2020-01-29 00:08:02 +01:00
hannahhoward
433f9ff211
fix(markets): update version, pass payment interval params
2020-01-28 14:08:13 -08:00
hannahhoward
1a2c3adb2f
fix(deps): update go-fil-markets
2020-01-28 14:08:13 -08:00
hannahhoward
71289b58ff
feat(markets): update to support car files
...
Upgrades lotus version of go-fil-markets to its head, which supports car files and handles tracking
of pieces, reducing the size of sectorBlocks
2020-01-28 14:08:13 -08:00
Łukasz Magiera
9fc5f0cd9d
Merge pull request #1124 from filecoin-project/feat/sector-recovery
...
sealing: Implement some common error states
2020-01-24 21:25:03 +01:00
Jakub Sztandera
23b46a05f7
Update badger
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-23 12:46:32 -08:00
Łukasz Magiera
558e4c7669
Fix tests after sectorbuilder update
2020-01-23 15:33:28 +01:00
Łukasz Magiera
c3a5da8586
storageminer: log flag for sector status
2020-01-23 15:18:05 +01:00
Jakub Sztandera
a404d535ee
Make it buld without cgo
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-22 12:03:12 -08:00
Łukasz Magiera
d2401bc339
Update cbor-gen, error on unknown fields
2020-01-21 17:28:55 +01:00
Łukasz Magiera
2076cb106d
cobr-gen: Soft struct-map unmarshaling
2020-01-21 17:05:10 +01:00
whyrusleeping
955b755055
wire up importing
2020-01-20 17:53:55 -08:00
whyrusleeping
62f05d4c14
WIP: chain export
2020-01-20 15:51:28 -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
ognots
d8d8ce7526
health agent to monitor lotus
...
watch if chain head changes in a given window of api polls
allows setting a threshold of how many times the chain head can remain
unchanged before failing health check
also can set interval for polling chain head
on failure, restarts systemd unit
2020-01-14 12:18:45 -05:00
Łukasz Magiera
11ac026b62
Merge branch 'feat/testnet2' into feat/chainwatch-pg
2020-01-14 04:20:39 +01:00
Łukasz Magiera
69752b419d
Update sectorbuilder
2020-01-14 03:09:34 +01:00
Łukasz Magiera
94a21e3aeb
Update deps
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
85f0f0bf81
mod tidy
2020-01-14 00:38:08 +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
hannahhoward
0ce1bf706b
refactor(markets): reorg file structure
2020-01-10 10:33:26 -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
whyrusleeping
7534ac1e1a
add ability to control seal operations completion time
2020-01-09 12:50:45 -08:00
Łukasz Magiera
8cbcbbd7a4
Merge branch 'feat/testnet2' of github.com:filecoin-project/go-lotus into feat/testnet2
2020-01-08 22:44:54 +01:00
Łukasz Magiera
36a5c7d8f5
Merge branch 'master' into feat/testnet2
2020-01-08 22:38:45 +01:00
Łukasz Magiera
da38822dfd
paramfetch: bring parameters.json back to this repo
2020-01-08 21:31:35 +01: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
Jakub Sztandera
b5328d01cf
Update to go-log v1.0.1
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:20:56 +01:00
Jakub Sztandera
886898b137
Update to badger v2
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 19:56:45 +01:00
Łukasz Magiera
855fb26a81
mod tidy
2020-01-08 15:18:13 +01:00
Łukasz Magiera
ab922ed1ba
Merge remote-tracking branch 'origin/master' into feat/chainwatch-pg
2020-01-08 15:08:34 +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
whyrusleeping
80c19df4bb
go mod tidy
2020-01-07 21:45:10 -08: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
laser
0ffec0a9ad
go mod tidy
2020-01-07 08:27:08 -08:00
laser
20321bb476
handle rebase
2020-01-07 08:18:35 -08:00
laser
4bbc693d9c
go mod tidy
2020-01-07 07:52:19 -08:00
laser
3ae1bd5b78
add paramfetch import to lotus-bench
2020-01-07 07:52:06 -08:00
laser
ce837da935
point go-sectorbuilder to head of master
2020-01-07 07:48:53 -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
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
laser
6a740a6d67
consume newly-extracted paramfetch
2020-01-02 11:08:49 -08: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
Łukasz Magiera
81233b894d
Implement 'chain get' for easier ipld digging
2019-12-19 17:58:02 +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
8d0d2b2fae
mod tidy
2019-12-17 17:26:33 +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
7293f7415d
Merge pull request #715 from filecoin-project/frrist/chainval-multisig
...
chainval | multisig tests
2019-12-16 02:58:30 +01:00
Steven Allen
2b1a7975e2
chore(dep): update go-cid, go-datastore, go-ipfs-blockstore
...
Lots of bug fixes.
2019-12-14 18:04:02 +01:00
Łukasz Magiera
165ac1d556
Merge remote-tracking branch 'origin/master' into feat/chainwatch-pg
2019-12-13 10:34:24 +01:00
whyrusleeping
28a325efe6
soft fail messages that cause precomitted sectors map to become too large
2019-12-13 00:00:20 +01:00
Łukasz Magiera
830f2cbdd3
Merge branch 'master' into feat/chainwatch-pg
2019-12-11 22:13:08 +01:00
Łukasz Magiera
43f5ba1eb4
Merge pull request #847 from lanzafame/feat/accept-human-sizes
...
accept humanized size values to cli flags
2019-12-11 13:18:05 +01:00
lanzafame
1888b68e38
accept humanized size values to cli flags
2019-12-11 12:06:28 +10:00
Łukasz Magiera
b6b06f67dc
chainwatch: Postgres
2019-12-11 00:42:36 +01:00
frrist
b6b91372cb
add multisig test calls and update to v0.0.3
2019-12-09 09:55:24 -08: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
d5103a7fbd
Fix rterieval of large files
2019-12-09 13:15:05 +01:00
whyrusleeping
0a68dba256
use a package
2019-12-08 22:53:48 +01:00
Łukasz Magiera
311cf832d6
mod tidy
2019-12-05 14:08:58 +01:00
whyrusleeping
43f2286890
Set maximum sector ID to 2^48-1
2019-12-04 17:32:34 -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
Łukasz Magiera
edd30c7aa1
Merge branch 'master' into feat/remote-workers
2019-12-04 14:10:15 +01:00
whyrusleeping
4ad0db0ecd
update go-amt-ipld code to fix infinite loop issue
2019-12-02 23:35:29 -08:00
Łukasz Magiera
160e11ce8c
Merge branch 'master' into feat/remote-workers
2019-12-03 03:24:00 +01:00
Łukasz Magiera
a47fbfa799
Merge branch 'devnet/9' into feat/election-post
2019-12-02 12:25:23 +01: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
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
Łukasz Magiera
8767d8c16b
Merge branch 'feat/election-post' into feat/remote-workers
2019-11-30 09:42:28 +01:00
Łukasz Magiera
23e0008b81
Merge remote-tracking branch 'origin/master' into feat/election-post
2019-11-27 13:31:44 +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
whyrusleeping
a0588d513d
Add lotus-gen, rewire genesis mining
2019-11-24 22:45:13 -06: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
whyrusleeping
f03198c8a0
sync tests passing, still no vm integration
2019-11-22 10:41:09 -06:00
Jakub Sztandera
cfd3750bf6
Mod tidy
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-22 10:29: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
Ł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
vyzo
5c8cc1a540
go mod: update go-ws-transport
2019-11-21 06:10:30 +02:00
vyzo
afe5347b9f
go mod: update go-multiaddr-dns
2019-11-21 06:04:47 +02:00
Łukasz Magiera
70956589ef
Begin implementing ChainWatch
2019-11-20 17:45:02 +01:00
vyzo
c7c02e0028
go mod: update pubsub dependency etc
2019-11-20 01:31:03 +02:00
whyrusleeping
ab2e722811
use fast cbor-gen method for extracting links from objects
2019-11-16 11:24:11 -08:00
anorth
36d57385ab
Upgrade go-cid and drop superfluous envelope bytes in TipSetKey
2019-11-13 15:26:51 +11:00
frrist
d0a2ba82b2
fixup! first pass at integrating chain-validation
2019-11-12 11:24:06 -08:00
anorth
60a19a1155
first pass at integrating chain-validation
2019-11-12 11:06:16 -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
Łukasz Magiera
b72463e6fc
mod tidy
2019-11-11 21:12:06 +01: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
e1be257b28
feat(datatransfer): add data transfer types
...
Add types and interfaces for data transfer
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
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
af2789c3d8
fix non-deterministic map serialization
2019-11-07 14:55:24 -08: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
whyrusleeping
a954ebc6b6
Add command to unregister miner from full node manually
2019-10-31 15:04:13 -07: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
117ec636c5
paramfetch: check checksums in parallel
2019-10-27 10:18:27 +01:00
Łukasz Magiera
d753c39133
Add rate limits to the fountain by @travisperson
2019-10-25 17:42:14 +02:00
Łukasz Magiera
187317a004
sync: Do some things in parallel in ValidateBlock
2019-10-23 16:45:03 +02:00
Travis Person
0b2718a4af
Add chain stats tool
...
Simple chain stats tool for graphing the chain using influxdb and
grafana.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 20:53:08 +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
Jakub Sztandera
b8c3eeccfa
Update build scripts
...
Remove outdated
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-17 16:52:29 +09:00
Jakub Sztandera
530dc64e82
Update go-log
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-11 00:24:54 +02:00
whyrusleeping
b333247fab
switch to a bounded cache
2019-10-09 21:23:45 +09: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
05878f4320
Built in paramfetch
2019-10-02 19:20:30 +02:00
whyrusleeping
74ad58881b
use new cbor-gen code with better errors
2019-10-01 09:53:39 -06:00
Łukasz Magiera
b79b826805
miner: fix required collateral check
2019-09-23 13:41:26 +02:00
whyrusleeping
86fd132cf7
add deleting done sectors
2019-09-18 21:56:40 -07: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
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
2ab9a0a4b3
mod tidy
2019-09-16 18:57:49 -07:00
whyrusleeping
8d2bcc5e3d
final chain serialization bits
2019-09-16 18:56:37 -07:00
Łukasz Magiera
4d543589c5
gomod: Hack around broken golangci-lint dep
2019-09-16 20:39:35 +02:00
Jakub Sztandera
4107d701c1
Add rleplus
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-16 14:10:51 +02: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
74f68dc630
perform tipset expansion on sync and fix tipset comparison
2019-09-09 19:14:27 -07:00
whyrusleeping
3d8e5cf0fb
update to cbor-gen code with deferred map marshaling
2019-09-06 16:57:35 -07:00
Łukasz Magiera
0b87411c7d
Use AMT in StorageMinerActor ctor
2019-09-07 00:42:01 +02:00
Steven Allen
b5148ac61a
mod: fix versions for go 1.13
...
Go 1.13 is much pickier about versions. This patch also updates go-log the
latest master (where zap has been merged) and updates go-bitswap to
master (where the custom protocol patches have been merged).
2019-09-05 14:27:03 -07:00
Jakub Sztandera
2e9d4301e1
Cleanup benchmarks
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-30 15:47:55 -07:00
Łukasz Magiera
711c61cba1
Merge remote-tracking branch 'origin/master' into feat/retrieval
2019-08-29 20:59:03 +02:00
Łukasz Magiera
f79b755c58
retrieval: Make types more spec complaiant
2019-08-29 17:54:35 +02:00
Łukasz Magiera
985ca7d439
remove gohacks from gomod
2019-08-29 17:51:52 +02:00
Łukasz Magiera
60eedb699e
retrieval: Client impl
2019-08-29 17:48:58 +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
whyrusleeping
ccdc1575d6
add signatures to blocks
2019-08-26 17:46:39 -07:00
whyrusleeping
80cad55ae4
go mod tidy
2019-08-22 13:34:11 -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
6ec6c273cb
lint fixes
2019-08-20 00:38:32 +02:00
whyrusleeping
e9d1f3e7c9
WIP: base mining on power and VRFs
2019-08-16 12:39:12 -07: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
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
b39a3cafb7
mod tidy
2019-08-12 15:31:20 +02:00