Łukasz Magiera
b8428423a1
get chain to runnable state
2020-02-22 14:10:46 +01:00
Łukasz Magiera
b12482df89
move peermgr, tracing into lib
2020-02-22 12:36:22 +01:00
Łukasz Magiera
111d35deef
seed: New genesis creation commands
2020-02-21 21:57:00 +01:00
Łukasz Magiera
3b29aacfdc
Fix debug build
2020-02-21 20:31:45 +01:00
Łukasz Magiera
18627e77ff
gofmt; mod tidy
2020-02-21 20:28:20 +01:00
Travis Person
837dd0d241
chainsync: make batch size configurable
2020-02-21 18:49:49 +00:00
Travis Person
ec50048a29
chainsync: add http debug
2020-02-21 18:49:21 +00:00
Travis Person
54315ce50f
chainsync: move address map into batch cycle
2020-02-21 18:48:52 +00:00
Łukasz Magiera
49ece5fddf
storageminer: Fix build
2020-02-21 19:20:22 +01:00
Łukasz Magiera
852e888232
cmd/lotus: Fix build
2020-02-21 19:00:10 +01:00
Łukasz Magiera
57c43183e6
update specs-actors
2020-02-21 17:57:40 +01:00
Travis Person
28ec00500b
chainwatch: reduce memory usage during large chain gaps
2020-02-20 03:06:41 +00:00
Łukasz Magiera
69ec3c205a
Merge remote-tracking branch 'origin/master' into testnet/3
2020-02-19 22:10:14 +01:00
Aayush Rajasekaran
61401e5e82
Fix #1278 : debug_advance should have its API calls updated
...
- This was forgotten in commit 6097000
2020-02-18 23:14:08 -05:00
Aayush Rajasekaran
60970008c8
Re: #1250 : API methods should receive TipSetKeys, not TipSets, as input
2020-02-17 19:53:43 -05:00
Whyrusleeping
fc227561ba
Merge pull request #1254 from filecoin-project/feat/no-ffi-in-types
...
Remove ffi from types package
2020-02-17 11:13:56 -08:00
Łukasz Magiera
d5027bfbb2
Fix amt bug
2020-02-14 21:33:41 +01:00
Aayush Rajasekaran
f24d947388
Faucet: Provide more info when a user tries to create a miner with a non-BLS address
2020-02-12 18:41:23 -08:00
Łukasz Magiera
0d6cfc879d
Use specs-actors ignatures
2020-02-13 00:52:36 +01:00
Łukasz Magiera
220bd376b4
seed: Update lotus-seed for new genesis types
2020-02-12 22:41:59 +01:00
Jakub Sztandera
c7ffaad763
Expand "repo" string before logging
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-12 21:00:07 +01:00
Jakub Sztandera
14580b6144
Import go-systemd properly
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-12 20:44:35 +01:00
Łukasz Magiera
a4f6b739be
genesis: Change template types
2020-02-12 01:58:55 +01:00
Whyrusleeping
5133ff16ba
Merge pull request #1247 from filecoin-project/fix/lotus-shed-keyinfo
...
lotus-shed: add back support for bls and secp after sig changes
2020-02-11 13:40:42 -08:00
Łukasz Magiera
63e801e00f
genesis: Cleanup the structure
2020-02-11 21:48:03 +01:00
Łukasz Magiera
e326a444b1
Merge pull request #1222 from filecoin-project/feat/support-multi-storage-miner-init
...
Support multi storage directories in miner init
2020-02-11 02:16:55 +01:00
Łukasz Magiera
fa2c6605c2
Fix compilation after dep updates
2020-02-11 02:11:58 +01:00
Travis Person
bc15d5234e
lotus-shed: add back support for bls and secp after sig changes
2020-02-11 01:04:50 +00:00
Łukasz Magiera
c0ed0dda8e
specs-actors: Fis some test compilation errors
2020-02-10 20:16:36 +01:00
Łukasz Magiera
7e70536bf1
specs-actors: Finish type cleanup
2020-02-10 19:21:10 +01:00
Łukasz Magiera
c72727b4fd
specs-actors: Fix most compilation errors
2020-02-09 07:06:32 +01:00
Łukasz Magiera
41daf5ad28
gofmt
2020-02-08 03:18:37 +01:00
Łukasz Magiera
13435aebdc
Spec Actors integration
2020-02-08 03:18:32 +01:00
Łukasz Magiera
3d3c1dbbb4
import key algs in wallet
2020-02-06 20:56:56 +01:00
Łukasz Magiera
604c234484
Merge remote-tracking branch 'origin/master' into testnet/3
2020-02-06 20:32:25 +01:00
Łukasz Magiera
72c89ab89b
Merge pull request #1223 from filecoin-project/fix/squash-forks
...
squash forks and use correct amt library everywhere
2020-02-06 20:14:55 +01:00
Łukasz Magiera
85f91a1114
debug: Check error in AdvanceBlockCmd
2020-02-06 03:09:52 +01:00
Łukasz Magiera
cbf63aab1e
Merge branch 'master' into testnet/3
2020-02-05 21:27:04 +01: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
e7a1be4dde
Merge pull request #1217 from filecoin-project/feat/worker-prefetch
...
worker: Prefetch data in background
2020-02-05 03:09:24 +01:00
Travis Person
cf8e90fa3e
Load sectorbuilder config during storage miner init
2020-02-05 00:07:44 +00:00
Travis Person
62146b7bb3
Add pre-sealed-metadata flag to miner init
...
Metadata for presealed sectors now must be specified
2020-02-04 23:16:10 +00:00
Jakub Sztandera
70da3e124a
Fix lotus-seed with sigs changes
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-04 23:49:10 +01:00
Łukasz Magiera
63af9f2a9e
worker: Paramfetch once
2020-02-04 20:17:18 +01:00
Łukasz Magiera
1a9c775407
worker: Prefetch data in background
2020-02-04 20:09:08 +01:00
Łukasz Magiera
0e81c1cf7e
Merge branch 'testnet/3' into feat/update-markets
2020-02-04 07:17:22 +01:00
Łukasz Magiera
1b6ad6d2a1
worker: Fix transfer urls
2020-01-31 19:56:48 +01:00
Łukasz Magiera
a62572bb76
Merge remote-tracking branch 'origin/master' into feat/new-sb-fs
2020-01-31 08:36:47 +01:00
Whyrusleeping
f752770a47
Merge pull request #1185 from filecoin-project/fork/snowball
...
WIP, fork, fix slashing power calc
2020-01-30 21:31:37 -08:00
whyrusleeping
19a65319ee
test and fix fork, add bigint parsing to lotus shed
2020-01-30 18:14:20 -08:00
Łukasz Magiera
95f344540e
Fix tests
2020-01-31 02:27:38 +01:00
Łukasz Magiera
aefc463586
build: Lazy ParametersJson
2020-01-30 23:50:24 +01:00
Łukasz Magiera
316b11445e
storageminer: Print fault data in info
2020-01-30 19:38:03 +01:00
Yang
e5a48800ab
fix:a bug of the power percentage in lotus-storage-miner info
2020-01-30 15:02:50 +08:00
Łukasz Magiera
db50d01db9
Merge remote-tracking branch 'origin/master' into feat/new-sb-fs
2020-01-30 07:46:47 +01:00
Jakub Sztandera
1e9f293994
Return errors
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-29 17:35:32 -08:00
Jakub Sztandera
bcbfc931ba
Intoroduce advance-block command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-29 14:40:19 -08:00
Łukasz Magiera
3f58ffe572
storageminer: New storage config
2020-01-29 20:53:45 +01:00
Łukasz Magiera
5af64c53b6
initial sectorbuilder FS refactor integration
2020-01-29 00:08:02 +01:00
hannahhoward
b8077fadaa
fix(dealstate): update deal states to match current
2020-01-28 14:08:13 -08:00
Jakub Sztandera
eb4b85aea5
Merge pull request #1161 from filecoin-project/feat/chainwatch-challe
...
Add all challenges to chainwatch
2020-01-27 20:32:41 -08:00
Jakub Sztandera
050d552b9d
Add log to show where is the lotus running
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 13:39:35 -08:00
Jakub Sztandera
cf86bc6e23
fix insert
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 13:10:13 -08:00
Jakub Sztandera
af61dfd8cd
Fix order
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 13:09:00 -08:00
Jakub Sztandera
2a2a18a163
Add candidate
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 13:07:32 -08:00
Jakub Sztandera
29f3d6aa28
fix typo
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 13:03:09 -08:00
Jakub Sztandera
4379ff60f6
Create them table
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 13:01:24 -08:00
Jakub Sztandera
a55a37c17b
Pass the error
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 13:00:13 -08:00
Jakub Sztandera
5532093d58
Commit only once
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 12:59:07 -08:00
Jakub Sztandera
752be27815
Add all challenges to chainwatch
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-27 12:16:08 -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
Whyrusleeping
351a683812
Merge pull request #1151 from filecoin-project/lotus-health-v2
...
refactor lotus-health agent for robustness
2020-01-24 11:44:47 -08:00
ognots
445b7f3388
refactor lotus-health agent for robustness
...
add retry logic when calls to API fail.
if API reconnects fail, restart lotus-daemon as it means lotus-daemon is likely unhealthy.
wait for lotus node's chain to sync during each check cycle, to avoid restarting lotus-daemon if needing to sync.
handle SIGTERM properly.
general cleanup and refactor of code, getting ready of unnecessary channels
2020-01-24 11:46:47 -05:00
Łukasz Magiera
b5660b58b3
Merge remote-tracking branch 'origin/master' into feat/sector-recovery
2020-01-24 01:53:58 +01:00
Jakub Sztandera
7f1b12d29e
Merge pull request #1137 from filecoin-project/feat/chainwatch-active-deals
...
chainwatch: Track deal activations
2020-01-23 13:21:39 -08:00
Łukasz Magiera
de52d3cadd
sealing: Handlef for PreCommitFailed
2020-01-23 18:34:04 +01:00
Łukasz Magiera
7e43c40529
storageminer: Use tabwriter in sectors list
2020-01-23 17:15:45 +01:00
Łukasz Magiera
94f2948020
sealing: implement handler for sealFailed
2020-01-23 16:38:10 +01:00
Łukasz Magiera
f5540195de
worker: Fix progress bars
2020-01-23 15:38:36 +01:00
Łukasz Magiera
c3a5da8586
storageminer: log flag for sector status
2020-01-23 15:18:05 +01:00
whyrusleeping
dcd01df2d3
wire up tracing into state tree flush, add pprof flag
2020-01-22 11:53:06 -08:00
Łukasz Magiera
4654d9c192
chainwatch: Util routines / views
2020-01-22 16:12:47 +01:00
Łukasz Magiera
52718e514c
chainwatch: Track deal activations
2020-01-22 03:22:12 +01:00
ognots
effacec817
range over right index to prevent bounds errors
...
the test scenario 'healthyHeadCheckWindow5' was causing index out of bounds errors.
the second range function in checkWindow was iterating over the incorrect slice of cids.
should be comparing latest items in slices first
2020-01-21 16:07:53 -05:00
Łukasz Magiera
7b295d7bb0
Merge pull request #1115 from filecoin-project/feat/chainwatch-json-states
...
chainwatch: Store json states
2020-01-21 17:15:33 +01:00
Łukasz Magiera
f5bfaff003
Merge pull request #1128 from filecoin-project/feat/chain-export-2
...
Implement chain import and exporting
2020-01-21 03:35:24 +01:00
whyrusleeping
d9f5f6e2c6
add flag to halt after chain importing
2020-01-20 17:58:58 -08:00
whyrusleeping
955b755055
wire up importing
2020-01-20 17:53:55 -08:00
ognots
0c6e4c6c40
fixes health agent bug
...
was passing wrong variable to updateWindow function argument.
also updates duplicate function comment
2020-01-20 20:34:13 -05:00
Łukasz Magiera
a46a9bb42e
chainwatch: Store deals
2020-01-20 01:49:52 +01:00
Łukasz Magiera
62d661f898
chainwatch: Store json states
2020-01-19 22:48:19 +01:00
Jakub Sztandera
28604f5a4c
Merge pull request #1114 from filecoin-project/feat/bench-nits
...
bench: Don't print unseal results when unsealing is skipped
2020-01-19 15:58:38 +01:00
Łukasz Magiera
533081454a
bench: Don't print unseal results when unsealing is skipped
2020-01-19 15:56:37 +01:00
Łukasz Magiera
1e782b3de2
Merge branch 'master' into feat/event-states
2020-01-18 14:40:59 +01:00
whyrusleeping
f9ea6969c3
Catch cases where new old miners with bad code were getting made
2020-01-17 21:20:56 -08:00
Łukasz Magiera
0aebec6697
Merge branch 'master' into feat/event-states
2020-01-16 03:59:14 +01:00
Travis Person
ec9286eb4b
Add more collateral to CreateStorageMiner call in fountain
2020-01-16 01:04:04 +00:00
Łukasz Magiera
604bf64ef6
Move miner sealing logic into a separate package
2020-01-15 21:49:11 +01:00
Jiarui.Huang
6354a8ce03
So we should pass a bit more than the minimum collateral at the time of miner creation
...
Even 0.1% more would be enough# Please enter the commit message for your changes. Lines starting
2020-01-16 01:30:01 +08:00
Łukasz Magiera
cf9275a2a2
worker: Remove staging sectors in PreCommit
2020-01-15 02:37:37 +01:00
Łukasz Magiera
1163e46622
worker: Cleanup sealed sector data in commit
2020-01-15 02:24:13 +01:00
ognots
3953227702
use lotus cli and GetFullNodeAPI
...
also some other minor bug fixes
2020-01-14 12:18:45 -05: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
0011c321e2
Merge pull request #1071 from filecoin-project/feat/chainwatch-pg
...
Use postgres in chainwatch
2020-01-14 14:14:02 +01:00
Łukasz Magiera
2dc2e0ba56
Drop 1g sector option from faucet
2020-01-14 06:23:10 +01:00
Łukasz Magiera
14128819de
Correctly handle multi parent blocks
2020-01-14 06:17:31 +01:00
Łukasz Magiera
11ac026b62
Merge branch 'feat/testnet2' into feat/chainwatch-pg
2020-01-14 04:20:39 +01:00
Łukasz Magiera
a2bcc1fec2
Mostly functional mock sectorbuilder
2020-01-14 03:05:35 +01:00
Łukasz Magiera
0bf41bcd10
Drop pnet from townhall
2020-01-14 00:36:05 +01:00
Łukasz Magiera
0402abe36b
Fix tests
2020-01-13 21:59:21 +01:00
Łukasz Magiera
d78a5e0a9f
Decimal types for some miner columns
2020-01-13 14:01:11 +01:00
Łukasz Magiera
719171faa3
Set smaller batch size
2020-01-13 00:46:54 +01:00
Łukasz Magiera
50bac00329
Merge branch 'master' into feat/testnet2
2020-01-10 20:55:40 +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
whyrusleeping
7534ac1e1a
add ability to control seal operations completion time
2020-01-09 12:50:45 -08:00
Łukasz Magiera
fac47bfc54
Pass correct datastore into sectorbuilder
2020-01-09 14:23:44 +01: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
da38822dfd
paramfetch: bring parameters.json back to this repo
2020-01-08 21:31:35 +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
886898b137
Update to badger v2
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 19:56:45 +01:00
Łukasz Magiera
79028397ad
chainwatch: sync in batches
2020-01-08 17:29:46 +01:00
Łukasz Magiera
1b5e1c4753
gofmt
2020-01-08 15:18:30 +01:00
Łukasz Magiera
ab922ed1ba
Merge remote-tracking branch 'origin/master' into feat/chainwatch-pg
2020-01-08 15:08:34 +01:00
Łukasz Magiera
31173ff4b4
Set logging levels in a single place
2020-01-08 14:49:34 +01:00
whyrusleeping
62db7a6dda
fix build
2020-01-07 21:10:43 -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
83fb2eff98
add a flag for bench to not run unseal
2019-12-19 11:45:15 -08:00
Łukasz Magiera
81233b894d
Implement 'chain get' for easier ipld digging
2019-12-19 17:58:02 +01:00
Łukasz Magiera
6f10183878
Merge pull request #974 from filecoin-project/feat/chainwatch-nulls
...
chainwatch: show null blocks
2019-12-18 22:05:27 +01:00
Jim
a028f22ee6
Merge pull request #962 from filecoin-project/docs/gpu-troubleshooting
...
add some notes on troubleshooting GPU usage
2019-12-18 19:18:17 +01:00
Łukasz Magiera
9f886a7eb0
chainwatch: show null blocks
2019-12-18 18:40:05 +01:00
whyrusleeping
3cb4a60db4
some log cleanup and an extra trace value
2019-12-17 14:15:51 -08:00
whyrusleeping
faad2485ee
add some notes on troubleshooting GPU usage
2019-12-17 11:59:14 -08:00
Jakub Sztandera
9bd0072d5c
Nicer error print
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 16:27:41 +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
Jakub Sztandera
17d0fe96a4
Fix version references
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 00:44:56 +01: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
e0c6247ac9
Use power of 2 sizes when parsing byte counts
2019-12-16 20:44:48 +01:00
Łukasz Magiera
1383bfa0eb
sectorbuilder: fs: address review
2019-12-16 20:19:26 +01:00
Łukasz Magiera
825e3a0774
sectorbuilder: check free space before creating sectors
2019-12-16 17:16:08 +01:00
Łukasz Magiera
d6f543ce87
gofmt
2019-12-16 13:00:43 +01:00