Uses of Class
zephyr.daemon.model.ZephyrBlockHeader
Packages that use ZephyrBlockHeader
-
Uses of ZephyrBlockHeader in zephyr.daemon
Methods in zephyr.daemon that return ZephyrBlockHeaderModifier and TypeMethodDescriptionZephyrDaemon.getBlockHeaderByHash(String blockHash) Get a block header by its hash.ZephyrDaemonRpc.getBlockHeaderByHash(String blockHash) ZephyrDaemon.getBlockHeaderByHeight(long height) Get a block header by its height.ZephyrDaemonRpc.getBlockHeaderByHeight(long height) ZephyrDaemon.getLastBlockHeader()Get the last block's header.ZephyrDaemonRpc.getLastBlockHeader()ZephyrDaemon.waitForNextBlockHeader()Get the header of the next block added to the chain.ZephyrDaemonRpc.waitForNextBlockHeader()Methods in zephyr.daemon that return types with arguments of type ZephyrBlockHeaderModifier and TypeMethodDescriptionZephyrDaemon.getBlockHeadersByRange(Long startHeight, Long endHeight) Get block headers for the given range.ZephyrDaemonRpc.getBlockHeadersByRange(Long startHeight, Long endHeight) -
Uses of ZephyrBlockHeader in zephyr.daemon.model
Subclasses of ZephyrBlockHeader in zephyr.daemon.modelMethods in zephyr.daemon.model that return ZephyrBlockHeaderModifier and TypeMethodDescriptionZephyrBlockHeader.copy()Returns a deep copy of this header (the pricing record is copied as well).ZephyrDaemonListener.getLastBlockHeader()Get the last notified block header.ZephyrBlockHeader.merge(ZephyrBlockHeader header) ZephyrBlockHeader.setCumulativeDifficulty(BigInteger cumulativeDifficulty) ZephyrBlockHeader.setDifficulty(BigInteger difficulty) Set the block's height which is the total number of blocks that have occurred before.ZephyrBlockHeader.setLongTermWeight(Long longTermWeight) ZephyrBlockHeader.setMajorVersion(Integer majorVersion) ZephyrBlockHeader.setMinerTxHash(String minerTxHash) ZephyrBlockHeader.setMinorVersion(Integer minorVersion) ZephyrBlockHeader.setOrphanStatus(Boolean orphanStatus) ZephyrBlockHeader.setPowHash(String powHash) ZephyrBlockHeader.setPrevHash(String prevHash) ZephyrBlockHeader.setPricingRecord(ZephyrPricingRecord pricingRecord) Set the oracle pricing record this block was built with.ZephyrBlockHeader.setReward(BigInteger reward) ZephyrBlockHeader.setTimestamp(Long timestamp) Methods in zephyr.daemon.model with parameters of type ZephyrBlockHeaderModifier and TypeMethodDescriptionZephyrBlockHeader.merge(ZephyrBlockHeader header) voidZephyrDaemonListener.onBlockHeader(ZephyrBlockHeader header) Called when a new block is added to the chain.Constructors in zephyr.daemon.model with parameters of type ZephyrBlockHeaderModifierConstructorDescriptionZephyrBlock(ZephyrBlockHeader header) ZephyrBlockHeader(ZephyrBlockHeader header)