Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/txthinking/brook
/ NextNonce
Function
NextNonce
nonce.go:19–23 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
17
import
"encoding/binary"
18
19
func
NextNonce(b []byte) {
20
i := binary.LittleEndian.Uint64(b[:8])
21
i += 1
22
binary.LittleEndian.PutUint64(b[:8], i)
23
}
Callers
4
Write
Method · 0.85
Read
Method · 0.85
Write
Method · 0.85
Read
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected