-walletnotify on 6 confirmations instead of 1?

6

1

Pretty straight forward. Right now im using -walletnotify to run some node.js code when i get an incoming transaction and when theres 1 confirmation. However, after reading around, i found out that 1 confirmation is not secure, which now makes me want to execute this confirmation code when theres at least 6 confirmations.

TL;DR, Is there a parameter or an equivalent for -walletnotify to run on N confirmations?

caxco93

Posted 2015-09-28T20:21:26.263

Reputation: 93

Maybe you can use -txconfirmtarget ?jonasl 2015-09-29T09:25:31.850

Not out of the box with core.Frankenmint 2015-09-30T18:43:57.550

I had opened issue - https://github.com/bitcoin/bitcoin/issues/10021 on bitcoin github

Alex 2017-03-17T09:16:54.957

Answers

2

This is not possible with the current version of Bitcoin-Core (0.13.1).

Consider opening a issue (feature request) https://github.com/bitcoin/bitcoin or start implementing it yourself.

Jonas Schnelli

Posted 2015-09-28T20:21:26.263

Reputation: 5 465