Put puts the given key / value to the queue
(key []byte, value []byte)
| 59 | |
| 60 | // Put puts the given key / value to the queue |
| 61 | func (db *LDBDatabase) Put(key []byte, value []byte) error { |
| 62 | return db.db.Put(key, value, nil) |
| 63 | } |
| 64 | |
| 65 | func (db *LDBDatabase) Has(key []byte) (bool, error) { |
| 66 | return db.db.Has(key, nil) |