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

Method SetSequence

src/leveldb/db/write_batch.cc:94–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void WriteBatchInternal::SetSequence(WriteBatch* b, SequenceNumber seq) {
95 EncodeFixed64(&b->rep_[0], seq);
96}
97
98void WriteBatch::Put(const Slice& key, const Slice& value) {
99 WriteBatchInternal::SetCount(this, WriteBatchInternal::Count(this) + 1);

Callers

nothing calls this directly

Calls 1

EncodeFixed64Function · 0.85

Tested by

no test coverage detected