laser
4c760ec1b1
lint: update comments to match type declarations
2020-06-24 08:08:10 -07:00
laser
176d0bb7c0
add "lotus-storage-miner retrieval-deals" subcommands
...
- enable retrieval
- disable retrieval
2020-06-24 08:08:10 -07:00
laser
ef0abf2b98
disable/enable retrieval deal consideration via config
2020-06-24 08:07:12 -07:00
Łukasz Magiera
6f8c464393
Merge remote-tracking branch 'origin/master' into feat/sector-remove
2020-06-23 23:54:27 +02:00
Yusef Napora
5074cf8beb
import DrandConfig from dtypes
2020-06-23 16:23:06 -04:00
Yusef Napora
b448de422e
improve DrandConfig dependency injection
2020-06-23 16:01:10 -04:00
Łukasz Magiera
99d3571772
Merge pull request #2115 from filecoin-project/feat/drand-config-override
...
allow overriding drand config
2020-06-23 21:59:05 +02:00
Łukasz Magiera
0354275b39
Merge pull request #2112 from laser/bugs/2111-hanging-client-retrieve
...
return error if retrieval deal rejected
2020-06-23 21:56:02 +02:00
laser
309fbc15b2
import aliasing, for legibility
2020-06-23 12:22:33 -07:00
laser
06162290af
explicitly handle each deal status, as per PR feedback
2020-06-23 12:14:41 -07:00
Yusef Napora
628872d0e4
forgot my go fmt hook
2020-06-23 15:10:27 -04:00
Łukasz Magiera
fb04b17fad
state: Get correct locked table in StateMarketParticipants
2020-06-23 20:55:59 +02:00
laser
8adc831a31
return error if retrieval deal rejected
2020-06-23 11:08:04 -07:00
Yusef Napora
566a99240d
allow overriding drand config
2020-06-23 13:33:18 -04:00
Raúl Kripalani
d20255b1b4
provide an option to disable loading of built-in assets.
2020-06-22 19:42:04 +01:00
Łukasz Magiera
5adc188466
miner: Command to remove sectors
2020-06-22 19:35:14 +02:00
laser
fbeaab466a
obey the linter
2020-06-19 09:20:20 -07:00
laser
de7d6c255c
blacklist -> blocklist
2020-06-18 15:51:01 -07:00
laser
0c8d648998
specify which CID is being blacklisted (it's the piece)
2020-06-18 14:02:22 -07:00
laser
aa18d1985e
reject storage deal proposals containing blacklisted piece CIDs
2020-06-18 13:32:20 -07:00
laser
b0edf924b4
add commands for manipulating storage deal CID blacklist
2020-06-18 13:15:18 -07:00
Łukasz Magiera
02234d00b7
Merge remote-tracking branch 'origin/master' into next
2020-06-17 20:50:42 +02:00
Łukasz Magiera
d4644a28c1
Merge pull request #2046 from laser/feat/2027-manipulate-ask
...
add ask-manipulating (and printing) deal subcommands
2020-06-17 20:03:51 +02:00
Łukasz Magiera
8b8bb5e833
rpc: add Closing method
2020-06-17 17:47:18 +02:00
laser
5eceed81e1
add "get-ask" command
2020-06-16 17:23:03 -07:00
laser
6253c39100
replace "set-price" with "set-ask"
...
Fixes #2027
2020-06-16 16:13:21 -07:00
Ignacio Hagopian
ec9a334f93
append message on unavailable and error status
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 17:52:47 -03:00
Ignacio Hagopian
35d9de6b6e
consider response status and err
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 17:32:03 -03:00
Ignacio Hagopian
7fd082e941
resolve peerid
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 12:22:44 -03:00
Ignacio Hagopian
9d17e0be9d
ClientMinerQueryOfer API & CLI support
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 11:14:49 -03:00
Łukasz Magiera
ab4c11c096
Merge remote-tracking branch 'origin/master' into next
2020-06-16 12:04:29 +02:00
Aayush Rajasekaran
69948cd09c
WalletSign should resolve ID addresses
2020-06-15 21:00:22 -04:00
hannahhoward
a422647819
fix(lint): fix lint error
...
fix lint error and update to tagged package
2020-06-15 15:53:39 -07:00
hannahhoward
9262661135
chore(deps): update to fil-markets 0.3.0
...
Updates to latest fil markets with resumability and other fixes
2020-06-15 15:43:47 -07:00
Łukasz Magiera
0230362d33
Merge pull request #2025 from filecoin-project/deps/specs-actors-v0.6
...
specs-actors v0.6
2020-06-15 21:30:37 +02:00
Łukasz Magiera
01f0bb3124
Merge pull request #1994 from laser/feat/1920-toggle-accepting-storage-deals
...
allow miner to disable/enable consideration of received storage deal proposals
2020-06-15 19:05:39 +02:00
Łukasz Magiera
907364ce67
Update deps, fix more tests
2020-06-15 18:30:49 +02:00
Łukasz Magiera
19afb57ac7
Merge pull request #1953 from jimpick/feat/libp2p-announce-addresses
...
Make libp2p swarm Announce / NoAnnounce addresses configurable
2020-06-12 19:28:13 +02:00
laser
36b327b57b
various symbol renames
2020-06-11 13:18:18 -07:00
laser
7587e6c08b
get and set storage deal acceptance through CLI
2020-06-11 12:59:50 -07:00
laser
5421d0d1c5
better field and struct names + set default appropriately
...
Storage miners, by default, should be configured to accept storage deals.
2020-06-11 12:15:28 -07:00
laser
c458b4712a
better rejection messages
2020-06-11 12:06:38 -07:00
laser
d6b2519843
config-driven IsAcceptingStorageDeals flag
...
Makes incremental progress towards #1920 .
2020-06-11 11:29:59 -07:00
laser
fb1d5197fa
pass SetConfig a mutator func, as per PR feedback
...
- fsLockedRepo.config gets a mutex
- add missing checkToken call to lockedMemRepo#GetStorage and lockedMemRepo#SetStorage
- LockedRepo#SetConfig accepts a mutating function as per @magik
2020-06-11 08:49:19 -07:00
laser
cf321f7667
add support for replacing config after node starts
...
- TODO: does a "locked repo" need fine-grained (i.e. field-level) locking?
2020-06-11 08:49:19 -07:00
laser
2d6b2e3811
fix a spelling error
2020-06-11 08:49:19 -07:00
laser
d4dbfdbe91
rename Config to GetConfig
2020-06-11 08:49:19 -07:00
Jakub Sztandera
c3f23ddce8
Refactor ExecutionResult to ExecutionTrace
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-11 15:53:47 +02:00
Aayush Rajasekaran
5cf76ba8b3
Create an api.MinerInfo that has peerID as a Peer ID
2020-06-09 19:07:53 -04:00
Jim Pick
6e11ff3796
Make libp2p swarm Announce / NoAnnounce addresses configurable
...
In go-ipfs, it is possible to manually configure addresses to announce
or not announce to the swarm.
https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#addressesannounce
This PR adds the same feature to Lotus. It can be configured from the [libp2p]
section of either the .lotus or .lotusstorage config.toml file. Example:
[Libp2p]
ListenAddresses = ["/ip4/0.0.0.0/tcp/34515", "/ip6/::/tcp/34515"]
AnnounceAddresses = ["/ip4/52.13.91.110/tcp/34515"]
2020-06-08 17:03:11 -07:00