Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dsg-titech/simblock
/ getBlock
Method
getBlock
simulator/src/main/java/simblock/node/Node.java:202–204 ·
view source on GitHub ↗
Gets the current block. @return the block
()
Source
from the content-addressed store, hash-verified
200
* @
return
the block
201
*/
202
public
Block getBlock() {
203
return
this.block;
204
}
205
206
/**
207
* Gets all orphans known to node.
Callers
5
minting
Method · 0.95
minting
Method · 0.95
main
Method · 0.45
receiveMessage
Method · 0.45
sendNextBlockMessage
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected