Commit Graph

307 Commits

Author SHA1 Message Date
whyrusleeping
897cf72933 Add command to mark given blocks as bad 2020-01-07 21:42:15 -08: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
81233b894d Implement 'chain get' for easier ipld digging 2019-12-19 17:58:02 +01:00
whyrusleeping
2322c42fd0 do the auth command the right way 2019-12-17 17:23:04 -08:00
Łukasz Magiera
4ace1fe436
Merge pull request #911 from jsign/fix810
cli: print nicer message when miner hasn't initialized
2019-12-16 23:49:38 +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
4036f09610
Merge pull request #940 from filecoin-project/fix/units-parse
Use power of 2 sizes when parsing byte counts
2019-12-16 21:36:21 +01:00
Jakub Sztandera
8c741ef702
Merge pull request #939 from filecoin-project/feat/sethead-h
cli: chain sethead --epoch
2019-12-16 21:35:47 +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
Łukasz Magiera
e0c6247ac9 Use power of 2 sizes when parsing byte counts 2019-12-16 20:44:48 +01:00
Łukasz Magiera
e6e25c46ae cli: chain sethead --epoch 2019-12-16 20:35:07 +01:00
whyrusleeping
6e94377469 cache load tipset 2019-12-16 11:22:56 -08:00
jsign
9920ff7abd
cli: fix name of price unit
Signed-off-by: jsign <jsign.uy@gmail.com>
2019-12-16 16:20:28 -03:00
Łukasz Magiera
825e3a0774 sectorbuilder: check free space before creating sectors 2019-12-16 17:16:08 +01:00
whyrusleeping
432b13cf2e allow passing tipset to all state commands 2019-12-15 09:54:20 -08:00
jsign
ac1875f040
cli: print nicer message when miner hasn't initialized
Signed-off-by: jsign <jsign.uy@gmail.com>
2019-12-13 17:05:43 -03: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
Jakub Sztandera
0a78be0935
Remove obsolete createminer command
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-12 17:57:44 +01:00
whyrusleeping
42074ff041 add command to get sector size of a miner 2019-12-12 12:31:22 +01:00
Jakub Sztandera
9fa46dbac3
Stable net peers output
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 21:45:19 +01:00
Łukasz Magiera
6c22abee31
Merge pull request #858 from filecoin-project/feat/slightly-better-retrieval-errors
slightly improve retrieval errors
2019-12-11 15:45:49 +01:00
whyrusleeping
0b81ba118f slightly improve retrieval errors 2019-12-11 15:02:12 +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
e6dd471103 Version fixes 2019-12-11 01:22:58 +01:00
Jakub Sztandera
1124f8d994
Add test cases
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 21:33:27 +01:00
Jakub Sztandera
bfdfd4023e
Cleanup math
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-10 20:53:39 +01:00
Łukasz Magiera
0fa20f6074 bench: print bps speeds 2019-12-10 20:02:42 +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
b7a89b56b3 more statticcheck! 2019-12-04 21:14:19 -08:00
whyrusleeping
df069af5e5 some errcheck discoveries 2019-12-04 21:02:14 -08:00
Łukasz Magiera
3daf9103a8 paramfetch: Only pull necessary params 2019-12-04 20:44:15 +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
6467a982bc storageminer: Wait for sync 2019-12-04 01:25:18 +01:00
Łukasz Magiera
160e11ce8c Merge branch 'master' into feat/remote-workers 2019-12-03 03:24:00 +01:00
Łukasz Magiera
68d1fd5958 Test Retrieval 2019-12-01 22:52:24 +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
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
6af2e946d1 wip mpool fixes 2019-11-23 02:26:40 +01:00
Łukasz Magiera
d4197bbadc Working remote PreCommit 2019-11-21 19:38:50 +01:00
Łukasz Magiera
88bbcd80ea support remote SealPreCommit 2019-11-21 17:10:09 +01:00
Łukasz Magiera
37792b149f sync: fix some issues 2019-11-20 20:49:29 +01:00
Łukasz Magiera
4e2d7f0b1a
Merge pull request #632 from filecoin-project/feat/chainwatch
ChainWatch
2019-11-20 10:57:53 -06:00
Łukasz Magiera
1f913b8df2 api.MpoolSub 2019-11-20 17:45:02 +01:00
Łukasz Magiera
8ac65cde80 api.StateLookupID 2019-11-20 17:45:02 +01:00
wanghui
1c7b332bf0 add empty slice check 2019-11-20 16:47:24 +08:00
Łukasz Magiera
35659af84d
Merge pull request #626 from filecoin-project/feat/chain-sync-manager
Implement chain sync manager
2019-11-19 22:35:19 +01:00
Whyrusleeping
1cd584d81b
Update cli/sync.go 2019-11-19 09:24:17 -06:00
Łukasz Magiera
293961c919
Merge pull request #635 from filecoin-project/fix/authnew
Fix off-by-one bug in auth new
2019-11-19 13:58:45 +01:00
Łukasz Magiera
e34e7d386d Fix off-by-one bug in auth new 2019-11-19 13:58:07 +01:00
whyrusleeping
86221f3569 sync wait waits until head is recent enough 2019-11-16 14:34:05 -08:00
wanghui
0af9692072 use ctx.Done() to exit 2019-11-16 14:11:00 +08:00
whyrusleeping
251ff41134 plumb through new sync status logic 2019-11-15 17:05:16 -08:00
wanghui
4f977d21ef add sync wait cmd ctrl+c exit 2019-11-15 16:54:32 +08:00
Jakub Sztandera
68ff0d1095
Add comment
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 21:37:11 +01:00
Jakub Sztandera
1ae611b21d
Add parameters for creating tokens
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 21:19:52 +01:00
Jakub Sztandera
383c5c0c6f
Rename to --include-test-params
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 17:43:33 +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
anorth
84a4766d8f Add TipSetKey as a concatenation of block CIDs, and use if for ChainGetTipSet, ChainGetRandomness. 2019-11-13 15:23:37 +11:00
whyrusleeping
2472f62ba0 fix wallet import from a file 2019-11-12 12:00:40 -08:00
Łukasz Magiera
27485777f0 Merge remote-tracking branch 'origin/master' into feat/interactive-porep 2019-11-08 21:45:06 +01:00
whyrusleeping
721786da10 add a flag to allow only fetching verifying keys 2019-11-07 22:06:08 -08:00
whyrusleeping
eae0b84b80 Add command to list client deals 2019-11-07 17:45:45 -08:00
wanghui
bdb1c877a9 fix ask price typo 2019-11-07 16:18:52 +08:00
whyrusleeping
83868d3eed fix serialization of paych vouchers 2019-11-04 11:07:11 -08:00
whyrusleeping
7fe6563fff add state get-actor command 2019-11-01 11:28:12 -07:00
whyrusleeping
a954ebc6b6 Add command to unregister miner from full node manually 2019-10-31 15:04:13 -07:00
Jakub Sztandera
bc97a73d67
Implment formatter on FIL to override big.Int
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 01:52:24 +01:00
Łukasz Magiera
5305ef6871 wallet: Print new line in import cmd 2019-10-29 13:54:26 +01:00
Łukasz Magiera
bee0ecf97f deals: Nicer output in client cli 2019-10-29 13:02:13 +01:00
Łukasz Magiera
738e8c5a3c deals: Ask prices per GiB 2019-10-29 11:19:39 +01:00
Łukasz Magiera
53cbe3446d pond: Miner state viewer 2019-10-27 11:27:21 +01:00
whyrusleeping
4890f577f5 give miners the ability to select different sector sizes 2019-10-25 17:26:15 +02:00
Łukasz Magiera
c41dd4efeb actora: register storagemarket 2019-10-23 12:44:00 +02:00
wanghui
d6ca19586b parse abs path for import file 2019-10-23 15:05:22 +08:00
whyrusleeping
03d847b8a6 add nicer printing and parsing of filecoin values 2019-10-18 21:31:45 +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
67ad6fb402
Merge pull request #381 from filecoin-project/feat/chain-list-format
add format flag to chain list command
2019-10-16 14:09:39 +02:00
whyrusleeping
ec3dd7070f fix output of mpool pending to be usable 2019-10-16 19:04:48 +09:00
whyrusleeping
5a8d11b85e add format flag to chain list command 2019-10-16 17:01:41 +09:00
Łukasz Magiera
f15d527a35
Merge pull request #343 from filecoin-project/feat/spec-sync
Sync with the new spec
2019-10-15 15:20:56 +02:00
Łukasz Magiera
a576b72364 actors: Sync with the new spec, storage actors 2019-10-15 14:31:34 +02:00
Łukasz Magiera
75680ae502 Quick miner deploy util 2019-10-15 02:54:00 +02:00
whyrusleeping
f3593225f8 add timestamp to chain list command output 2019-10-14 13:39:42 +09:00
Jakub Sztandera
531e9d0beb
Cleanup chain list by height
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-13 02:58:37 +02:00
Jakub Sztandera
084d68a6b3
Add height and count flags to chain list
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-13 01:17:02 +02:00
Łukasz Magiera
eaa74ea1a8
Merge pull request #348 from filecoin-project/feat/query-ask-calc
client: query ask total price calc
2019-10-12 09:41:24 +02:00
Łukasz Magiera
67d6437fa1 client: query ask total price calc 2019-10-12 09:24:19 +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
whyrusleeping
1b263f685b Add get genesis api endpoint 2019-10-11 11:14:22 +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
4eaaefce09 Add cmd to subcommand list 2019-10-10 12:59:32 +09:00
whyrusleeping
acec79cf3f expose command to set chainstore head 2019-10-10 12:50:50 +09:00
Jakub Sztandera
8dc088b4dd
Clear up confusion around arguments
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-09 22:02:08 +02:00
Łukasz Magiera
5ea4dc32f9
Merge pull request #302 from filecoin-project/feat/get-message-cmd
Add a command to get and print a message
2019-10-09 09:35:46 +02:00
whyrusleeping
14c4a8bee6 implement looking in the past for messages 2019-10-09 09:33:18 +02:00
whyrusleeping
3faa8bc88a Add a command to get and print a message 2019-10-09 16:26:48 +09:00
Łukasz Magiera
752654ab03 Devnet 3; Builtin bootstrap; NAT Port Map 2019-10-09 05:16:35 +02:00
whyrusleeping
de947a949f make kuba happy 2019-10-09 09:22:18 +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
Jakub Sztandera
1ea23da756
Merge pull request #279 from filecoin-project/build/rm-paramfetch
build: remove paramfetch from make
2019-10-04 22:18:17 +02:00
whyrusleeping
640437e13a add param fetch command 2019-10-04 13:55:33 -06:00
whyrusleeping
697bed27a6 fix websocket closing 2019-10-04 10:06:05 -06:00
whyrusleeping
27f120bfce improve accuracy of block printing with getblock 2019-10-03 13:22:21 -07:00
whyrusleeping
f15557649f leave better rationale for the special case in TipSetState 2019-10-02 14:27:41 -06:00
whyrusleeping
b9cc6f61b6 rebase and fix tests 2019-10-01 15:34:53 -06:00
whyrusleeping
cc1f4c5885 realize that i'm human and make many mistakes 2019-10-01 10:37:31 -06:00
whyrusleeping
404e14d3eb Add a command to read an object by its cid 2019-10-01 10:28:07 -06:00
whyrusleeping
af18cbac53 Add a command to inspect sync state progress 2019-09-30 15:06:47 -06:00
Łukasz Magiera
08a1e211f5 Devnet docs 2019-09-28 00:09:42 +02:00
Łukasz Magiera
5ce15bfaf4 types: Less/GreaterThan for bigints 2019-09-23 19:11:44 +02:00
Łukasz Magiera
b58246d128 Merge remote-tracking branch 'origin/master' into feat/post-schedule 2019-09-20 14:22:22 +02:00
whyrusleeping
61df25eecb fix import grouping 2019-09-19 23:46:15 -07:00
whyrusleeping
f7e3762cfc add state replay api and command 2019-09-19 13:25:18 -07:00
Łukasz Magiera
d55e872135 Merge remote-tracking branch 'origin/master' into feat/post-schedule 2019-09-19 16:42:50 +02:00
Łukasz Magiera
96859b0f54 Basic single node UI 2019-09-18 19:53:48 +02:00
whyrusleeping
b1e77748e7 scaffolding and refactoring to make post scheduler work 2019-09-17 19:50:03 -07:00
Łukasz Magiera
5e2c100f4d storageminer: Better context handling 2019-09-17 20:36:06 +02:00
Łukasz Magiera
5ea1459275 Use atomic moppl API in more places 2019-09-17 10:15:26 +02:00
Łukasz Magiera
3f32b75b74 retrieval: Optional address in cli 2019-09-17 09:55:38 +02:00
Łukasz Magiera
9fe198dc6f retrieval: payment validation 2019-09-16 23:25:23 +02:00
Łukasz Magiera
385e0cfd48 Paych improvements; Retrieval payments 2019-09-16 20:08:23 +02:00
whyrusleeping
1075c9a5e0 implement ask query protocol 2019-09-13 16:49:27 -07:00
Łukasz Magiera
6a31ff2f2e deals: Wait for channel messagi in handler 2019-09-13 19:59:10 +02:00
whyrusleeping
a47969c76b finish up making the new serializations work 2019-09-10 16:03:17 -07:00
Łukasz Magiera
819e9a939d gofmt; mod tidy 2019-09-09 18:02:57 +02:00
Łukasz Magiera
c2f08f701b paych: --export flag for paych voucher list 2019-09-09 15:59:41 +02:00
Łukasz Magiera
d8bcb37f9f retrieval: Address review 2019-08-29 17:51:52 +02:00
Łukasz Magiera
c0566399c6 retrieval: Way to get the data 2019-08-29 17:50:19 +02:00
Łukasz Magiera
be30bc79a5 Retrieval works! 2019-08-29 17:50:19 +02:00
Łukasz Magiera
28d3eb38eb basic retrieval content discovery 2019-08-29 17:48:19 +02:00
Łukasz Magiera
89dc87d890 use StateMinerPower in 'state power' cmd 2019-08-22 00:15:45 +02:00
Łukasz Magiera
00fbd1ef67 cli: drop 'miner start' command 2019-08-20 19:23:04 +02:00
Łukasz Magiera
4431dffc39 miner: Create miner in DI 2019-08-20 18:50:17 +02:00
whyrusleeping
2c5d7e733b make sure user passes an address 2019-08-16 15:50:00 -07:00
whyrusleeping
b2d425b891 TEMP: accept miner address from cli 2019-08-16 12:39:13 -07:00
whyrusleeping
9fbcbc1ac8 bls message signature verification 2019-08-13 21:43:29 -07:00
whyrusleeping
12acee5242 add payment channel CLI and finish up commands 2019-08-12 21:27:54 -07:00
whyrusleeping
998597f314 fix build failures after rebase 2019-08-07 20:30:50 -07:00