Commit 571b5463064bb7011993f1fde656c397d90988b9
oops, define waiting
Dominic Tarr committed on 9/24/2018, 8:19:39 AMParent: e887a2f3552a176ae45cf9b75e45edeb8fd723fa
Files changed
db.js | changed |
db.js | ||
---|---|---|
@@ -10,9 +10,9 @@ | ||
10 | 10 … | var db = Sublevel(require('level')(config.db, {valueEncoding: 'json'})) |
11 | 11 … | var rawdb = db.sublevel('raw') |
12 | 12 … | var sample = db.sublevel('sample') |
13 | 13 … | var meta = db.sublevel('meta') |
14 | - | |
14 … | +var waiting = [] | |
15 | 15 … | function hash (data) { |
16 | 16 … | return crypto.createHash('sha256').update(JSON.stringify(data, null, 2)).digest('hex') |
17 | 17 … | } |
18 | 18 … |
Built with git-ssb-web