MCPcopy
hub / github.com/bitcoinj/bitcoinj / get

Method get

core/src/main/java/org/bitcoinj/store/BlockStore.java:45–45  ·  view source on GitHub ↗

Returns the StoredBlock given a hash. The returned values block.getHash() method will be equal to the parameter. If no such block is found, returns null.

(Sha256Hash hash)

Source from the content-addressed store, hash-verified

43 * parameter. If no such block is found, returns null.
44 */
45 StoredBlock get(Sha256Hash hash) throws BlockStoreException;
46
47 /**
48 * Returns the {@link StoredBlock} that represents the top of the chain of greatest total work. Note that this

Callers 15

goMethod · 0.65
dumpMethod · 0.65
callMethod · 0.65
incrementCounterMethod · 0.65
printCountersMethod · 0.65
basicWalletLoadTestMethod · 0.65
tearDownMethod · 0.65
chainDownloadEnd2EndMethod · 0.65
invDownloadTxMethod · 0.65
newBlockMethod · 0.65
getBlockMethod · 0.65

Implementers 3

SPVBlockStorecore/src/main/java/org/bitcoinj/store/
MemoryBlockStorecore/src/main/java/org/bitcoinj/store/
MemoryFullPrunedBlockStorecore/src/main/java/org/bitcoinj/store/

Calls

no outgoing calls

Tested by 15

goMethod · 0.52
basicWalletLoadTestMethod · 0.52
tearDownMethod · 0.52
chainDownloadEnd2EndMethod · 0.52
invDownloadTxMethod · 0.52
newBlockMethod · 0.52
getBlockMethod · 0.52
getLargeBlockMethod · 0.52
fastCatchupMethod · 0.52
pingPongMethod · 0.52