Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Number
Method
Number
types/block.go:428–428 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
426
}
427
428
func
(b *Block) Number() *big.Int {
return
new(big.Int).Set(b.header.Number) }
429
func
(b *Block) GasLimit() uint64 {
return
b.header.GasLimit }
430
func
(b *Block) GasUsed() uint64 {
return
b.header.GasUsed }
431
Callers
15
TestHandlerHelper_RemoveBlock
Function · 0.95
TestHandlerHelper_GetBlock
Function · 0.95
TestHandlerHelper_GetBlockIdentifiers
Function · 0.95
TestHandlerHelper_Number
Function · 0.95
GetModifiedAccountsByNumber
Method · 0.95
GetModifiedAccountsByHash
Method · 0.95
TraceChain
Method · 0.95
CodeAt
Method · 0.45
BalanceAt
Method · 0.45
NonceAt
Method · 0.45
StorageAt
Method · 0.45
CallContract
Method · 0.45
Calls
1
Set
Method · 0.45
Tested by
9
TestHandlerHelper_RemoveBlock
Function · 0.76
TestHandlerHelper_GetBlock
Function · 0.76
TestHandlerHelper_GetBlockIdentifiers
Function · 0.76
TestHandlerHelper_Number
Function · 0.76
TestClient_BlockByNumber
Function · 0.36
testStatusMsgErrors
Function · 0.36
validateReceiptsByManyPeers
Function · 0.36
TestGetBalanceAtMiddleBlock
Function · 0.36
Head
Method · 0.36