Commit Graph

2917 Commits

Author SHA1 Message Date
whyrusleeping
e52c927d0a delete unnecessary thing 2019-12-09 14:09:07 -08:00
whyrusleeping
8fdece1b3f make badger readonly when initializing storage miner from sector set 2019-12-09 14:05:09 -08: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
Łukasz Magiera
6b9949aa75
Merge pull request #821 from filecoin-project/fix/epost-letn
Make snum cleaner
2019-12-09 22:13:56 +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
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
1f7cd52aa2
Merge pull request #818 from filecoin-project/fix/missing-sector-state
Add missing CommitWait to things
2019-12-09 21:33:58 +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
26ce2e9dc8
Merge pull request #811 from filecoin-project/feat/cleanup-sectorstate-structs
Use map representation in cbor for some structs
2019-12-09 21:29:38 +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
Łukasz Magiera
e230d8d50c
Merge pull request #775 from filecoin-project/fix/faults
Reintegrate sector faults
2019-12-09 21:23:11 +01:00
Łukasz Magiera
2f2a5824b3
storage: Use fatal instead of .to.error 2019-12-09 21:19:46 +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
whyrusleeping
b444771427 setup enough fake peer IDs for miner generation 2019-12-09 19:56:55 +01:00
frrist
b6b91372cb add multisig test calls and update to v0.0.3 2019-12-09 09:55:24 -08:00
Łukasz Magiera
3ad1bb4ccb Add missing CommitWait to things 2019-12-09 18:46:23 +01:00
Łukasz Magiera
1490cf6b9c
Merge pull request #808 from filecoin-project/patch/fixIsTicketWinner
fix `IsTicketWinner` in ePoSt
2019-12-09 18:40:20 +01: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
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
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
c49dc28a04 Move api struct to a seprate pkg 2019-12-09 18:22:11 +01:00
Łukasz Magiera
8c685730d2
Merge pull request #813 from filecoin-project/misc/slow-tests
Add short tests
2019-12-09 18:01:26 +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
1d7dd4711d Cleanup sectorinfo struct 2019-12-09 16:42:47 +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
e3d1f5b362 storage: Better errors when starting sectorStateLoop 2019-12-09 16:11:54 +01:00
Travis Person
8d42ca4933 A place for all the lotus tools 2019-12-09 16:09:23 +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
17c112acc0
Merge pull request #796 from filecoin-project/feat/seed-aggregation
implement lotus-seed aggregation commands
2019-12-09 15:24:13 +01:00
Łukasz Magiera
3d978f5db4 mod tidy 2019-12-09 15:23:43 +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
Łukasz Magiera
464d06ac44
Merge pull request #806 from filecoin-project/feat/api-env
Add env var for API token and location
2019-12-09 14:56:22 +01:00
Łukasz Magiera
f29e1eacff storage: set sector state correctly 2019-12-09 14:32:58 +01:00
Jim
f2efe73247
Merge pull request #807 from filecoin-project/@jimmylee/documentation-latest
documentation: latest updates from feedback across team
2019-12-09 13:56:39 +01:00
wwwjim
5dffc5bc02 documentation: latest updates from feedback across team 2019-12-09 04:53:40 -08:00
Jakub Sztandera
fb7850803e
Add env var for API token and location
Usage: FULLNODE_API_INFO or STORAGE_API_INFO
Content of env var: `<token>:<api multiaddr>`
Example: `FULLNODE_API_INFO="$(cat ~/.lotus/token)dsds:$(cat ~/.lotus/api)"`

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 13:36:56 +01:00
Łukasz Magiera
d5103a7fbd Fix rterieval of large files 2019-12-09 13:15:05 +01:00
whyrusleeping
7c89dd5339 go mod tidy 2019-12-08 23:41:19 +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
Ł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
1766987be5 Fancy math to update nonces on precommit revert 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