ruimarinho / bitcoin-core

A modern Bitcoin Core REST and RPC client.
477 stars 186 forks source link

sendMany command is not processing transaction #74

Closed ghost closed 4 years ago

ghost commented 5 years ago

I tried the following command client.sendMany('test1', { mjSk1Ny9spzU2fouzYgLqGUD8U41iR35QN: 0.1, mgnucj8nYqdrPFh2JfZSB1NmUThUGnmsqe: 0.2 }, 6, 'Example Transaction');

No transaction is initiated How can I see log for this command?

pedrobranco commented 5 years ago

You can see bitcoin-core logs by defining the environment variable as DEBUG=bitcoin-core and see if it helps.

You can use bunyan to parse those logs:

DEBUG=bitcoin-core node your_script.js | bunyan