diff --git a/build/bootstrap/bootstrappers.pi b/build/bootstrap/bootstrappers.pi index e57d5490f..64a8787b7 100644 --- a/build/bootstrap/bootstrappers.pi +++ b/build/bootstrap/bootstrappers.pi @@ -1,2 +1,2 @@ -/ip4/147.75.80.29/tcp/1347/p2p/12D3KooWQYHfhaqRCEAcZKFEVZnK7kgPh1FHwYNwLgCZkoxmmARu -/ip4/147.75.80.17/tcp/1347/p2p/12D3KooWQg7XTDcU7ySChvLSMZ3L4cywXPsAcv1uyMNw8n5hv9KS +/ip4/147.75.80.29/tcp/1347/p2p/12D3KooWDzb12XyoKT4uJAqmRVsSYqY9EZczXeWJ7WqehugBTVAT +/ip4/147.75.80.17/tcp/1347/p2p/12D3KooWDsfpmaYPouFT2RxvSf8eCuUS63T4dAKvDPqzWKdv7Qc7 diff --git a/build/genesis/devnet.car b/build/genesis/devnet.car index 2abd98708..2810d469f 100644 Binary files a/build/genesis/devnet.car and b/build/genesis/devnet.car differ diff --git a/build/params_devnet.go b/build/params_devnet.go index 6c4dab128..c5bd0d2a6 100644 --- a/build/params_devnet.go +++ b/build/params_devnet.go @@ -6,6 +6,7 @@ var SectorSizes = []uint64{ 16 << 20, 256 << 20, 1 << 30, + 32 << 30, } // Seconds diff --git a/build/version.go b/build/version.go index 9c768135f..8ff70926d 100644 --- a/build/version.go +++ b/build/version.go @@ -1,7 +1,7 @@ package build // Version is the local build version, set by build system -const Version = "0.10.0" +const Version = "0.11.0" // APIVersion is a hex semver version of the rpc api exposed // @@ -12,7 +12,7 @@ const Version = "0.10.0" // R R H // |\vv/| // vv vv -const APIVersion = 0x000a01 +const APIVersion = 0x000b01 const ( MajorMask = 0xff0000 diff --git a/lib/sectorbuilder/sectorbuilder.go b/lib/sectorbuilder/sectorbuilder.go index e5156a48b..870aec2ed 100644 --- a/lib/sectorbuilder/sectorbuilder.go +++ b/lib/sectorbuilder/sectorbuilder.go @@ -418,10 +418,15 @@ func (sb *SectorBuilder) SealPreCommit(sectorID uint64, ticket SealTicket, piece sb.checkRateLimit() + rl := sb.rateLimit + if !sb.sealLocal { + rl = make(chan struct{}) + } + select { // use whichever is available case sb.sealTasks <- call: return sb.sealPreCommitRemote(call) - case sb.rateLimit <- struct{}{}: + case rl <- struct{}{}: } // local @@ -533,10 +538,15 @@ func (sb *SectorBuilder) SealCommit(sectorID uint64, ticket SealTicket, seed Sea default: sb.checkRateLimit() + rl := sb.rateLimit + if !sb.sealLocal { + rl = make(chan struct{}) + } + select { // use whichever is available case sb.sealTasks <- call: proof, err = sb.sealCommitRemote(call) - case sb.rateLimit <- struct{}{}: + case rl <- struct{}{}: proof, err = sb.sealCommitLocal(sectorID, ticket, seed, pieces, rspco) } }