Uses of Class
monero.daemon.model.MoneroBlockHeader
-
Uses of MoneroBlockHeader in monero.daemon
Modifier and TypeMethodDescriptionMoneroDaemon.getBlockHeaderByHash
(String blockHash) Get a block header by its hash.MoneroDaemonRpc.getBlockHeaderByHash
(String blockHash) MoneroDaemon.getBlockHeaderByHeight
(long height) Get a block header by its height.MoneroDaemonRpc.getBlockHeaderByHeight
(long height) MoneroDaemon.getLastBlockHeader()
Get the last block's header.MoneroDaemonRpc.getLastBlockHeader()
MoneroDaemon.waitForNextBlockHeader()
Get the header of the next block added to the chain.MoneroDaemonRpc.waitForNextBlockHeader()
Modifier and TypeMethodDescriptionMoneroDaemon.getBlockHeadersByRange
(Long startHeight, Long endHeight) Get block headers for the given range.MoneroDaemonRpc.getBlockHeadersByRange
(Long startHeight, Long endHeight) -
Uses of MoneroBlockHeader in monero.daemon.model
Modifier and TypeMethodDescriptionMoneroDaemonListener.getLastBlockHeader()
Get the last notified block header.MoneroBlockHeader.merge
(MoneroBlockHeader header) MoneroBlockHeader.setCumulativeDifficulty
(BigInteger cumulativeDifficulty) MoneroBlockHeader.setDifficulty
(BigInteger difficulty) Set the block's height which is the total number of blocks that have occurred before.MoneroBlockHeader.setLongTermWeight
(Long longTermWeight) MoneroBlockHeader.setMajorVersion
(Integer majorVersion) MoneroBlockHeader.setMinerTxHash
(String minerTxHash) MoneroBlockHeader.setMinorVersion
(Integer minorVersion) MoneroBlockHeader.setOrphanStatus
(Boolean orphanStatus) MoneroBlockHeader.setPowHash
(String powHash) MoneroBlockHeader.setPrevHash
(String prevHash) MoneroBlockHeader.setReward
(BigInteger reward) MoneroBlockHeader.setTimestamp
(Long timestamp) Modifier and TypeMethodDescriptionMoneroBlockHeader.merge
(MoneroBlockHeader header) void
MoneroDaemonListener.onBlockHeader
(MoneroBlockHeader header) Called when a new block is added to the chain.ModifierConstructorDescriptionMoneroBlock
(MoneroBlockHeader header) MoneroBlockHeader
(MoneroBlockHeader header)