case class SigNetChainParams(signetChallenge: ScriptPubKey = ScriptPubKey.fromAsmHex( "512103ad5e0edad18cb1f0fc0d28a3d4f1f3e445640337489abb10404f2d1e086be430210359ef5021964fe22d6f8e05b2463c9540ce96883fe3b278760f048f5189f2e6c452ae")) extends BitcoinChainParams with Product with Serializable
- Alphabetic
- By Inheritance
- SigNetChainParams
- Serializable
- Product
- Equals
- BitcoinChainParams
- ChainParams
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val allowMinDifficultyBlocks: Boolean
Signet does not allow trivial difficulty blocks signet min difficulty
Signet does not allow trivial difficulty blocks signet min difficulty
- Definition Classes
- SigNetChainParams → ChainParams
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def base58Prefix(base58: Base58Type): ByteVector
Takes in a Base58Type and returns its base58 prefix.
Takes in a Base58Type and returns its base58 prefix.
- Definition Classes
- ChainParams
- lazy val base58Prefixes: Map[Base58Type, ByteVector]
The mapping from a Base58Typeto a String.
The mapping from a Base58Typeto a String. Base58 prefixes for various keys/hashes on the network.
- Definition Classes
- SigNetChainParams → ChainParams
- See also
Bitcoin wiki article on address prefixes
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val compressedPowLimit: UInt32
The minimum proof of required for a block as specified by powLimit, compressed to a UInt32
The minimum proof of required for a block as specified by powLimit, compressed to a UInt32
- Definition Classes
- ChainParams
- def createGenesisBlock(timestamp: String, scriptPubKey: ScriptPubKey, time: UInt32, nonce: UInt32, nBits: UInt32, version: Int32, amount: CurrencyUnit): Block
- timestamp
a piece of data to signify when this block was first created - satoshi used an article headline
- scriptPubKey
the scriptPubKey that needs to be satisfied in able to spend the genesis block reward
- time
the time when the miner started hashing the block header
- nonce
the nonce used to mine the block
- nBits
An encoded version of the target threshold this block's header hash must be less than or equal to
- version
the block version
- amount
the block reward for the genesis block (50 BTC in Bitcoin)
- returns
the newly minted genesis block
- Definition Classes
- ChainParams
- def createGenesisBlock(time: UInt32, nonce: UInt32, nBits: UInt32, version: Int32, amount: CurrencyUnit): Block
Creates the Genesis Block for this blockchain.
Creates the Genesis Block for this blockchain.
- time
the time when the miner started hashing the block header
- nonce
the nonce to mine the block
- nBits
An encoded version of the target threshold this block’s header hash must be less than or equal to.
- version
the block version
- amount
the block reward for the genesis block (50 BTC in Bitcoin)
- returns
the newly minted genesis block
- Definition Classes
- ChainParams
- See also
Mimics this function in Bitcoin Core
- def difficultyChangeInterval: Int
In bitcoin mainnet, the network recalculates the difficulty for the network every 2016 blocks bitcoin core implementation
In bitcoin mainnet, the network recalculates the difficulty for the network every 2016 blocks bitcoin core implementation
- Definition Classes
- ChainParams
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- lazy val genesisBlock: Block
The Genesis Block in the blockchain.
The Genesis Block in the blockchain.
- Definition Classes
- SigNetChainParams → ChainParams
- def genesisHash: DoubleSha256Digest
- Definition Classes
- ChainParams
- def genesisHashBE: DoubleSha256DigestBE
- Definition Classes
- ChainParams
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val minimumChainWork: BigInteger
Minimum amount of chain work on signet
Minimum amount of chain work on signet
- Definition Classes
- SigNetChainParams → BitcoinChainParams
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val network: BitcoinNetwork
The network that corresponds to this chain param
The network that corresponds to this chain param
- Definition Classes
- SigNetChainParams → BitcoinChainParams → ChainParams
- lazy val networkId: String
Return the BIP70 network string ( MainNetChainParams, TestNetChainParams or RegTestNetChainParams.)
Return the BIP70 network string ( MainNetChainParams, TestNetChainParams or RegTestNetChainParams.)
- Definition Classes
- SigNetChainParams → ChainParams
- See also
- lazy val noRetargeting: Boolean
Signet allows pow re targeting signet pow retargeting
Signet allows pow re targeting signet pow retargeting
- Definition Classes
- SigNetChainParams → ChainParams
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val powLimit: BigInteger
Pow limit on signet signet pow limit
Pow limit on signet signet pow limit
- Definition Classes
- SigNetChainParams → ChainParams
- lazy val powTargetSpacing: Duration
The targeted interval between blocks mainnet testnet regtest
- Definition Classes
- BitcoinChainParams → ChainParams
- lazy val powTargetTimeSpan: Duration
The targetted timespan between difficulty adjustments As of this implementation, all of these are the same in bitcoin core
The targetted timespan between difficulty adjustments As of this implementation, all of these are the same in bitcoin core
- Definition Classes
- BitcoinChainParams → ChainParams
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def requireStandardTransaction: Boolean
Filter transactions that do not match well-defined patterns inside of Policy.
Filter transactions that do not match well-defined patterns inside of Policy.
- Definition Classes
- ChainParams
- def signetBlocks: Boolean
Uses signet blocks that require checking the signet challenge
Uses signet blocks that require checking the signet challenge
- Definition Classes
- SigNetChainParams → ChainParams
- val signetChallenge: ScriptPubKey
Blocks must satisfy the given script to be considered valid (only for signet networks)
Blocks must satisfy the given script to be considered valid (only for signet networks)
- Definition Classes
- SigNetChainParams → ChainParams
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()