This commit is contained in:
Josh Harvey 2016-05-08 01:23:03 +03:00
parent 808a8ab4a4
commit c4e557e86d
3 changed files with 4 additions and 2 deletions

View file

@ -464,7 +464,7 @@ function monitorLiveIncoming () {
} }
function monitorIncoming () { function monitorIncoming () {
const statuses = ['notSeen', 'published', 'authorized', 'rejected'] const statuses = ['notSeen', 'published', 'zeroConf', 'authorized', 'rejected']
db.fetchOpenTxs(statuses, STALE_INCOMING_TX_AGE, function (err, txs) { db.fetchOpenTxs(statuses, STALE_INCOMING_TX_AGE, function (err, txs) {
if (err) return if (err) return
txs.forEach(processTxStatus) txs.forEach(processTxStatus)

View file

@ -3,7 +3,7 @@ var db = require('./db')
function singleQuotify (item) { return '\'' + item + '\'' } function singleQuotify (item) { return '\'' + item + '\'' }
exports.up = function (next) { exports.up = function (next) {
var statuses = ['notSeen', 'published', 'authorized', 'confirmed', 'rejected'] var statuses = ['notSeen', 'published', 'zeroConf', 'authorized', 'confirmed', 'rejected']
.map(singleQuotify).join(',') .map(singleQuotify).join(',')
var sql = [ var sql = [

View file

@ -3,3 +3,5 @@
- pull all unconfirmed txs - pull all unconfirmed txs
- for each tx: poll wallet plugin to check status - for each tx: poll wallet plugin to check status
- update db - update db
- translate back and forth between db fields and json fields of tx