Jakub Sztandera
68081a7a1f
Ignore log.Sync() error
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 21:13:22 +02:00
Jakub Sztandera
ebecca64a1
Fix daemon shutdown
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-08 21:08:24 +02:00
Jakub Sztandera
9936439608
Merge remote-tracking branch 'origin/master' into next
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-03 14:56:06 +02:00
whyrusleeping
a5935486ef
have lotus attempt to raise its own file descriptor limit
2020-07-01 17:09:21 -07:00
Łukasz Magiera
cfdbc2312d
Merge branch 'master' into next
2020-07-01 11:22:57 +02:00
Raúl Kripalani
4f9c907248
rename build.{BlockDelay=>BlockDelaySecs}.
...
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
Jakub Sztandera
1f967c6f63
Fix debug_advance
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 20:37:35 +02:00
Łukasz Magiera
ab4c11c096
Merge remote-tracking branch 'origin/master' into next
2020-06-16 12:04:29 +02:00
Aayush Rajasekaran
a9abf3ceb2
extract the fake Wpost used for testing
2020-06-15 21:02:53 -04:00
Mike Greenberg
2cd6347a13
Express block validation, cpu/mem usage via OpenCensus
2020-06-11 12:31:04 +02:00
Mike Greenberg
ae83ca6893
Express block validation, cpu/mem usage via OpenCensus
2020-06-08 14:15:01 -04:00
Łukasz Magiera
3b13397165
gofmt
2020-06-06 00:59:01 +02:00
Łukasz Magiera
163c2b2544
Merge remote-tracking branch 'origin/master' into next
2020-06-06 00:58:24 +02:00
laser
4855045ea2
pass context to paramfetch.GetParams
...
Fixes #1209
2020-06-05 10:28:00 -07:00
Jakub Sztandera
7bee5b3abc
Merge remote-tracking branch 'origin/master' into next
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-05 00:33:43 +02:00
Jakub Sztandera
29dbc26dbd
Update cli
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02:00
Jakub Sztandera
4a983995a8
Merge pull request #1901 from acruikshank/bugs/1893-chain-import-home-directory
...
Expand tilde before passing file name into chain import
2020-06-02 23:53:04 +02:00
acruikshank
d7a2556292
expand tilda before passing file name into chain import
2020-06-02 16:43:39 -04:00
laser
bea9cd2fe2
rename to better convey intent + document
2020-06-02 12:35:11 -07:00
laser
1e8a875edb
shutdownChan instead of shutdownCh, for consistency
2020-06-02 12:31:01 -07:00
laser
38d714a28a
first take at "daemon stop" command
...
Fixes #1827
TODO: plumb the daemon-stopping into lotus-storage-miner, too
2020-06-02 12:29:58 -07:00
laser
5e727819ad
stub the "daemon stop" command
2020-06-02 08:09:18 -07:00
Łukasz Magiera
64f4e80446
Include build type in version
2020-06-01 20:49:39 +02:00
Łukasz Magiera
c73326e96d
fsrepo: Use LevelDB for metadata datastore
2020-06-01 20:13:07 +02:00
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +02:00
Łukasz Magiera
f7325a69c1
Extract auth utils to go-jsonrpc
2020-05-20 20:37:45 +02:00
Łukasz Magiera
eeca031525
extract lib/jsonrpc to go-jsonrpc
2020-05-20 19:49:09 +02:00
Łukasz Magiera
0ae0e89ddd
Update FFI
2020-05-15 19:16:06 +02:00
Jeromy
d3eb808ff4
add profile for bootstrappers
2020-05-14 09:27:07 -07:00
Jeromy
17e969bc4a
disable gpu usage for lotus daemon
2020-05-13 14:22:05 -07:00
Łukasz Magiera
24c764c91e
Don't print QAPower as bytes
2020-04-21 21:46:50 +02:00
Łukasz Magiera
cdbf79fff5
non-debug 2k sector build mode
2020-04-17 17:58:20 +02:00
Łukasz Magiera
70d654e4a6
Merge pull request #1527 from filecoin-project/feat/drand
...
Initial randomness beacon implementation
2020-04-09 19:48:09 +02:00
Jeromy
83416e2758
remove deadcode
2020-04-09 10:34:54 -07:00
Jakub Sztandera
d909119bb6
Make debug_advance build, still doesn't work
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:19:17 +02:00
Jakub Sztandera
2d2b89fcd8
make debug_advance build
...
Still doesn't work
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 18:46:57 +02:00
Łukasz Magiera
2bdedefa05
Shell completions
2020-04-03 04:03:53 +02:00
Łukasz Magiera
95ee1c1cde
Extract sector-storage
2020-03-28 01:32:39 +01:00
Łukasz Magiera
e050e0307e
Cleanup after dropping sectorbuilder
2020-03-26 20:35:16 +01:00
Łukasz Magiera
4be54a976c
Merge sectorbuilder into sectorstorage
2020-03-26 03:51:06 +01:00
Łukasz Magiera
1647798396
build: Remove unused vars, fix debug build
2020-03-09 07:54:29 +01:00
whyrusleeping
24bf720a9a
Merge branch 'master' into testnet/3
2020-03-07 16:46:12 -08:00
Aayush Rajasekaran
55f155a72c
fix make debug
2020-03-06 14:31:16 -08:00
whyrusleeping
5076b2b950
fix reward actor and block reward application
2020-03-04 13:21:24 -08:00
Whyrusleeping
41bf668189
Merge pull request #1294 from natewalck/more-opencensus-metrics
...
More opencensus metrics
2020-03-03 12:02:13 -08:00
whyrusleeping
60b19c51ef
more misc fixes
2020-03-01 17:09:38 -08:00
Aayush Rajasekaran
fe8db295e7
Re: #1290 : Add a lotus wallet verify API and CLI command
...
- The command takes an address, message, and signature, and returns true if the sig is valid
2020-02-28 15:56:15 -08:00
Nate Walck
353c5d8b12
Relocation opencensus metrics to its own package and add more node stats
2020-02-27 21:49:18 -05:00
Nate Walck
a3504dd51e
Change lotusInfo opencensus key back to info
2020-02-25 20:11:55 -05:00
Nate Walck
0ce86e999a
Add commit tag so we have that info as well
2020-02-25 19:59:51 -05:00
Nate Walck
2d2aefea16
Change lotus info counter name to version
2020-02-25 19:54:46 -05:00
Nate Walck
6b1e781602
export data under /debug/metrics to mirror go-ipfs
2020-02-25 19:49:32 -05:00
Nate Walck
f9dac3a291
Swap to opencensus for publishing data to prometheus
2020-02-25 19:40:07 -05:00
Łukasz Magiera
5d9b869d93
gofmt; mod tidy
2020-02-24 18:45:42 +01:00
Łukasz Magiera
794429dd55
post-upstream-merge fixes
2020-02-24 18:45:25 +01:00
Łukasz Magiera
d787aa5007
Merge branch 'testnet/3' into feat/specs-actors
2020-02-24 18:32:02 +01:00
Łukasz Magiera
ba6d1091f2
pond: Fix node startup
2020-02-24 00:39:45 +01:00
Nate Walck
cff1fcfe9d
Move promhttp above manet.Listen
2020-02-23 17:54:49 -05:00
Nate Walck
6df2cf552a
Remove commented out imports
2020-02-23 17:38:44 -05:00
Nate Walck
c0ef65f442
Enable Prometheus metrics endpoint and add lotus version
2020-02-23 17:35:29 -05:00
whyrusleeping
66624b1a8f
fixup debug advance cmd
2020-02-23 13:30:42 -08:00
Ł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
852e888232
cmd/lotus: Fix build
2020-02-21 19:00:10 +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
Jakub Sztandera
c7ffaad763
Expand "repo" string before logging
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-12 21:00:07 +01:00
Łukasz Magiera
85f91a1114
debug: Check error in AdvanceBlockCmd
2020-02-06 03:09:52 +01:00
Łukasz Magiera
aefc463586
build: Lazy ParametersJson
2020-01-30 23:50:24 +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
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
whyrusleeping
dcd01df2d3
wire up tracing into state tree flush, add pprof flag
2020-01-22 11:53:06 -08: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
Ł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
Łukasz Magiera
31173ff4b4
Set logging levels in a single place
2020-01-08 14:49:34 +01:00
laser
6a740a6d67
consume newly-extracted paramfetch
2020-01-02 11:08:49 -08:00
whyrusleeping
3cb4a60db4
some log cleanup and an extra trace value
2019-12-17 14:15:51 -08:00
Jakub Sztandera
9589fc0762
Add version commit string
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 23:00:39 +01:00
Jakub Sztandera
b655ba1ac1
Fix build
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 15:44:42 +01:00
whyrusleeping
d6bfbe5a26
allow setting genesis timestamp when initializing network
2019-12-11 15:36:39 +01:00
Łukasz Magiera
c49dc28a04
Move api struct to a seprate pkg
2019-12-09 18:22:11 +01: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
6f024bee58
Merge pull request #736 from filecoin-project/feat/params-v20
...
Params v20
2019-12-05 14:03:37 +01: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
ad978949db
import sector/deal into state machines on init
2019-11-29 20:11:42 +01:00
Łukasz Magiera
5d30106f5a
More v18 updates
2019-11-27 18:10:34 +01:00
Łukasz Magiera
265b90e95b
update parameters.json
2019-11-25 23:17:39 +01:00
whyrusleeping
a0588d513d
Add lotus-gen, rewire genesis mining
2019-11-24 22:45:13 -06:00
Łukasz Magiera
d684300713
Merge pull request #600 from filecoin-project/feat/tests-also
...
Add --tests-also for fetch-params
2019-11-14 18:16:12 +01:00
Łukasz Magiera
f39a5f4a05
Mute pubsub logs
2019-11-14 17:32:00 +01:00
Jakub Sztandera
bc3dac0426
Add --tests-also for fetch-params
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 02:15:33 +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
whyrusleeping
e1cb19da0a
Exit 1 on error
2019-11-12 15:36:49 -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
Łukasz Magiera
73ab6c0c66
WorkerCount on storageminer config
2019-11-12 18:59:38 +01:00
Łukasz Magiera
92b9f67327
Reduce log spam more
2019-11-12 11:05:18 +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
391c73774d
Set swarm log level to WARN
2019-10-29 20:51:44 +01:00
Łukasz Magiera
5175d8541e
peer manager: Handle bootstrap in peermgr
2019-10-23 13:11:18 +02:00
Łukasz Magiera
aab3bd617a
REST file import endpoint
2019-10-23 11:39:44 +02:00
whyrusleeping
cc689ab920
shut down rpc server before node
2019-10-20 15:17:03 +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
c0179bd4fa
Periodic bootstrap
2019-10-11 02:31:26 +02:00
Łukasz Magiera
752654ab03
Devnet 3; Builtin bootstrap; NAT Port Map
2019-10-09 05:16:35 +02:00
Łukasz Magiera
713f08e9bf
move genesis loading to build pkg
2019-10-02 22:40:14 +02:00
Łukasz Magiera
05878f4320
Built in paramfetch
2019-10-02 19:20:30 +02:00
whyrusleeping
6de61424e4
add pprof server
2019-09-30 17:25:45 -06:00
Łukasz Magiera
f2ecb772fa
repo: Close datastore in Close
2019-09-17 16:34:22 +02:00
Łukasz Magiera
83f1a336a6
node: Basic graceful shutdown
2019-09-17 16:23:08 +02:00
Łukasz Magiera
89ea5a4750
pond: logs window
2019-08-19 23:31:25 +02:00
Łukasz Magiera
f99c8e032d
pond: +1k button for addresses
2019-08-09 17:59:12 +02:00
Jakub Sztandera
81b5f46062
Implement RPC tracing
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-26 08:50:21 +02:00
Łukasz Magiera
f2abb33933
Generate single genesis in tests
2019-07-25 01:23:06 +02:00
Łukasz Magiera
8d58c0a2fd
Only set genesis once
2019-07-25 01:12:22 +02:00
Łukasz Magiera
c7b2bf8100
Fix reading auth headers
2019-07-24 15:40:42 +02:00
Łukasz Magiera
c6b4fadba1
Fix permissions after split and rebase
2019-07-24 03:10:26 +02:00
Łukasz Magiera
eda03095b0
Separate API for storageminer
2019-07-24 02:09:34 +02:00
Łukasz Magiera
d0cbf02d36
Don't build full API in storage miner
2019-07-24 01:48:59 +02:00
Łukasz Magiera
4f1946d5a2
Address review
2019-07-24 01:47:36 +02:00
Łukasz Magiera
a5441f8d17
Add missing daemon files
2019-07-24 01:47:36 +02:00
Łukasz Magiera
b73f29286b
Begin implementing storage miner
2019-07-24 01:47:36 +02:00
Whyrusleeping
3f61488e3c
Merge pull request #17 from filecoin-project/feat/mining-1
...
Implement basic mining logic
2019-07-11 10:09:15 -07:00
whyrusleeping
d381025ccc
Implement initial mining logic
2019-07-10 19:36:43 -07:00
Łukasz Magiera
2e8dfc759b
daemon: wire up fsrepo
2019-07-10 19:10:19 +02:00
Jakub Sztandera
f9a34b3f9c
Cleanup lint
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 14:46:06 +02:00
Łukasz Magiera
cdca2ff2c7
Some net commands / apis
2019-07-08 21:07:16 +02:00
Łukasz Magiera
3375a72aea
RPC server
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:33 +02:00
Łukasz Magiera
8417f515a1
Initial structure
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:33 +02:00