add CB param to all testnet builds

This commit is contained in:
Alfonso de la Rocha 2023-03-28 18:22:28 +02:00
parent b7c297c537
commit f24fc836b3
No known key found for this signature in database
GPG Key ID: B7BEF4B895F2B535
4 changed files with 17 additions and 1 deletions

View File

@ -4,6 +4,8 @@
package build package build
import ( import (
"time"
"github.com/ipfs/go-cid" "github.com/ipfs/go-cid"
"github.com/filecoin-project/go-address" "github.com/filecoin-project/go-address"
@ -87,3 +89,7 @@ const BootstrapPeerThreshold = 2
const Eip155ChainId = 3141592 const Eip155ChainId = 3141592
var WhitelistedBlock = cid.Undef var WhitelistedBlock = cid.Undef
// CBDeliveryDelay is the delay before deliver in the synchronous consistent broadcast.
// This determines the wait time for the detection of potential equivocations.
const CBDeliveryDelay = 2 * time.Second

View File

@ -6,6 +6,7 @@ package build
import ( import (
"os" "os"
"strconv" "strconv"
"time"
"github.com/ipfs/go-cid" "github.com/ipfs/go-cid"
@ -122,3 +123,7 @@ const BootstrapPeerThreshold = 4
const Eip155ChainId = 314159 const Eip155ChainId = 314159
var WhitelistedBlock = cid.Undef var WhitelistedBlock = cid.Undef
// CBDeliveryDelay is the delay before deliver in the synchronous consistent broadcast.
// This determines the wait time for the detection of potential equivocations.
const CBDeliveryDelay = 2 * time.Second

View File

@ -6,6 +6,7 @@ package build
import ( import (
"os" "os"
"strconv" "strconv"
"time"
"github.com/ipfs/go-cid" "github.com/ipfs/go-cid"
@ -128,3 +129,7 @@ const BootstrapPeerThreshold = 2
const Eip155ChainId = 3141592 const Eip155ChainId = 3141592
var WhitelistedBlock = cid.Undef var WhitelistedBlock = cid.Undef
// CBDeliveryDelay is the delay before deliver in the synchronous consistent broadcast.
// This determines the wait time for the detection of potential equivocations.
const CBDeliveryDelay = 2 * time.Second

View File

@ -141,4 +141,4 @@ var WhitelistedBlock = MustParseCid("bafy2bzaceapyg2uyzk7vueh3xccxkuwbz3nxewjygu
// CBDeliveryDelay is the delay before deliver in the synchronous consistent broadcast. // CBDeliveryDelay is the delay before deliver in the synchronous consistent broadcast.
// This determines the wait time for the detection of potential equivocations. // This determines the wait time for the detection of potential equivocations.
var CBDeliveryDelay = 2 * time.Second const CBDeliveryDelay = 2 * time.Second