MCPcopy Create free account
hub / github.com/ElementsProject/elements / Sequence

Method Sequence

src/leveldb/db/write_batch.cc:90–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90SequenceNumber WriteBatchInternal::Sequence(const WriteBatch* b) {
91 return SequenceNumber(DecodeFixed64(b->rep_.data()));
92}
93
94void WriteBatchInternal::SetSequence(WriteBatch* b, SequenceNumber seq) {
95 EncodeFixed64(&b->rep_[0], seq);

Callers

nothing calls this directly

Calls 2

DecodeFixed64Function · 0.85
dataMethod · 0.45

Tested by

no test coverage detected