|
@ -100,8 +100,8 @@ namespace dev |
|
|
{ |
|
|
{ |
|
|
class WriteBatchNoter: public ldb::WriteBatch::Handler |
|
|
class WriteBatchNoter: public ldb::WriteBatch::Handler |
|
|
{ |
|
|
{ |
|
|
virtual void Put(ldb::Slice const& _key, ldb::Slice const& _value) { cout << "Put" << toHex(bytesConstRef(_key)) << "=>" << toHex(bytesConstRef(_value)); } |
|
|
virtual void Put(ldb::Slice const& _key, ldb::Slice const& _value) { cnote << "Put" << toHex(bytesConstRef(_key)) << "=>" << toHex(bytesConstRef(_value)); } |
|
|
virtual void Delete(ldb::Slice const& _key) { cout << "Delete" << toHex(bytesConstRef(_key)); } |
|
|
virtual void Delete(ldb::Slice const& _key) { cnote << "Delete" << toHex(bytesConstRef(_key)); } |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|