Tabnine Logo
BlockchainConfig.getExtraData
Code IndexAdd Tabnine to your IDE (free)

How to use
getExtraData
method
in
org.ethereum.config.BlockchainConfig

Best Java code snippets using org.ethereum.config.BlockchainConfig.getExtraData (Showing top 2 results out of 315)

origin: ethereum/ethereumj

@Override
public byte[] getExtraData(byte[] minerExtraData, long blockNumber) {
  return parent.getExtraData(minerExtraData, blockNumber);
}
origin: ethereum/ethereumj

public synchronized Block createNewBlock(Block parent, List<Transaction> txs, List<BlockHeader> uncles, long time) {
  final long blockNumber = parent.getNumber() + 1;
  final byte[] extraData = config.getBlockchainConfig().getConfigForBlock(blockNumber).getExtraData(minerExtraData, blockNumber);
org.ethereum.configBlockchainConfiggetExtraData

Javadoc

DAO hard fork marker

Popular methods of BlockchainConfig

  • acceptTransactionSignature
    Validates Tx signature (introduced in Homestead)
  • eip161
    EIP161: https://github.com/ethereum/EIPs/issues/161
  • getChainId
    EIP155: https://github.com/ethereum/EIPs/issues/155
  • getConstants
    Get blockchain constants
  • getTransactionCost
    Calculates transaction gas fee
  • calcDifficulty
    Calculates the difficulty for the block depending on the parent
  • eip1014
    EIP 1014: https://eips.ethereum.org/EIPS/eip-1014 Skinny CREATE2: same as CREATE but with determinis
  • eip1283
    EIP 1283: https://eips.ethereum.org/EIPS/eip-1283 Net gas metering for SSTORE without dirty maps
  • eip198
    EIP198: https://github.com/ethereum/EIPs/pull/198
  • eip212
    EIP212: https://github.com/ethereum/EIPs/pull/212
  • eip213
    EIP213: https://github.com/ethereum/EIPs/pull/213
  • eip658
    EIP658: https://github.com/ethereum/EIPs/pull/658 Replaces the intermediate state root field of the
  • eip213,
  • eip658,
  • getCalcDifficultyMultiplier,
  • getCallGas,
  • getCreateGas,
  • getGasCost,
  • getMineAlgorithm,
  • hardForkTransfers,
  • headerValidators

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now