Object

org.bitcoins.core.protocol.blockchain

MainNetChainParams

Related Doc: package blockchain

Permalink

object MainNetChainParams extends BitcoinChainParams

The Main Network parameters.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MainNetChainParams
  2. BitcoinChainParams
  3. ChainParams
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val allowMinDifficultyBlocks: Boolean

    Permalink

    Mainnet does not allow trivial difficulty blocks mainnet min difficulty

    Mainnet does not allow trivial difficulty blocks mainnet min difficulty

    Definition Classes
    MainNetChainParamsChainParams
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def base58Prefix(base58: Base58Type): ByteVector

    Permalink

    Takes in a Base58Type and returns its base58 prefix.

    Takes in a Base58Type and returns its base58 prefix.

    Definition Classes
    ChainParams
  7. lazy val base58Prefixes: Map[Base58Type, ByteVector]

    Permalink

    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
    MainNetChainParamsChainParams
    See also

    Bitcoin wiki article on address prefixes

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val compressedPowLimit: UInt32

    Permalink

    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
  10. def createGenesisBlock(timestamp: String, scriptPubKey: ScriptPubKey, time: UInt32, nonce: UInt32, nBits: UInt32, version: Int32, amount: CurrencyUnit): Block

    Permalink

    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
  11. def createGenesisBlock(time: UInt32, nonce: UInt32, nBits: UInt32, version: Int32, amount: CurrencyUnit): Block

    Permalink

    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

  12. def difficultyChangeInterval: Int

    Permalink

    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
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. lazy val genesisBlock: Block

    Permalink

    The Genesis Block in the blockchain.

    The Genesis Block in the blockchain.

    Definition Classes
    MainNetChainParamsChainParams
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. lazy val minimumChainWork: BigInteger

    Permalink

    The minimum amount of chain work on mainnet as of 2019/03/20 mainnet chain work

    The minimum amount of chain work on mainnet as of 2019/03/20 mainnet chain work

    Definition Classes
    MainNetChainParamsBitcoinChainParams
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. lazy val network: BitcoinNetwork

    Permalink

    The network that corresponds to this chain param

    The network that corresponds to this chain param

    Definition Classes
    MainNetChainParamsBitcoinChainParamsChainParams
  23. lazy val networkId: String

    Permalink

    Return the BIP70 network string ( MainNetChainParams, TestNetChainParams or RegTestNetChainParams.)

    Return the BIP70 network string ( MainNetChainParams, TestNetChainParams or RegTestNetChainParams.)

    Definition Classes
    MainNetChainParamsChainParams
    See also

    BIP70

  24. lazy val noRetargeting: Boolean

    Permalink

    Mainnet allows pow retargetting mainnet pow retargetting

    Mainnet allows pow retargetting mainnet pow retargetting

    Definition Classes
    MainNetChainParamsChainParams
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. lazy val powLimit: BigInteger

    Permalink

    The proof of work limit of the bitcoin main network mainnet pow limit

    The proof of work limit of the bitcoin main network mainnet pow limit

    Definition Classes
    MainNetChainParamsChainParams
  28. lazy val powTargetSpacing: Duration

    Permalink

    The targeted interval between blocks mainnet testnet regtest

    The targeted interval between blocks mainnet testnet regtest

    Definition Classes
    BitcoinChainParamsChainParams
  29. lazy val powTargetTimeSpan: Duration

    Permalink

    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

    mainnet testnet regtest

    Definition Classes
    BitcoinChainParamsChainParams
  30. def requireStandardTransaction: Boolean

    Permalink

    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
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BitcoinChainParams

Inherited from ChainParams

Inherited from AnyRef

Inherited from Any

Ungrouped