Config fauces for inteop devnet
This commit is contained in:
parent
0ef6c756b6
commit
ac3d0dc30c
@ -265,7 +265,7 @@ func (h *handler) mkminer(w http.ResponseWriter, r *http.Request) {
|
|||||||
log.Infof("%s: push funds %s", owner, smsg.Cid())
|
log.Infof("%s: push funds %s", owner, smsg.Cid())
|
||||||
|
|
||||||
params, err := actors.SerializeParams(&power.CreateMinerParams{
|
params, err := actors.SerializeParams(&power.CreateMinerParams{
|
||||||
Owner: owner, // TODO: That is useful
|
Owner: owner,
|
||||||
Worker: owner,
|
Worker: owner,
|
||||||
SectorSize: abi.SectorSize(ssize),
|
SectorSize: abi.SectorSize(ssize),
|
||||||
Peer: peer.ID("SETME"),
|
Peer: peer.ID("SETME"),
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<span>Enter destination address:</span>
|
<span>Enter destination address:</span>
|
||||||
<input type='text' name='address' style="width: 300px">
|
<input type='text' name='address' style="width: 300px">
|
||||||
<select name="sectorSize">
|
<select name="sectorSize">
|
||||||
<option selected value="34359738368">32GiB sectors</option>
|
<option selected value="536870912">512MiB sectors</option>
|
||||||
</select>
|
</select>
|
||||||
<button type='submit'>Create Miner</button>
|
<button type='submit'>Create Miner</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user