Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ GenDataTransactionKey
Function
GenDataTransactionKey
validator/db/key_prefix.go:59–64 ·
view source on GitHub ↗
(hash common.Uint256)
Source
from the content-addressed store, hash-verified
57
}
58
59
func
GenDataTransactionKey(hash common.Uint256) *pool.ByteBuffer {
60
key := keyPool.Get()
61
key.WriteByte(byte(DATA_TRANSACTION))
62
key.Write(hash.ToArray())
63
return
key
64
}
Callers
2
GetTransactionBytes
Method · 0.85
saveTransaction
Method · 0.85
Calls
4
WriteByte
Method · 0.80
Write
Method · 0.80
Get
Method · 0.65
ToArray
Method · 0.65
Tested by
no test coverage detected