Post
Topic
Board Development & Technical Discussion
Merits 2 from 1 user
Re: How do I see the contents of the blockchain on a full node
by
bob123
on 08/06/2018, 13:46:51 UTC
⭐ Merited by ETFbitcoin (2)
Thanks bob. Yea I am busy learning this stuff. I basically want to monitor my wallet myself off my own node.

Ill check into these things you sent. Have a good one mate.

The information i have written was regarding gathering information using blockchain.info's API.

If you want to use your daemon, you can write a small script.


Simply edit your bitcoin.conf file and add blocknotify or walletnotify (depending on what you need):
Code:
blocknotify=/path/to_your/script.sh %s
walletnotify=/path/to_your/script2.sh %s

walletnotify will be called if:
1) You receive a transaction to one of your addresses
2) First confirmation of a TX to one of your addresses
3) You send a transaction

blocknotify will be called each time you receive a new block.


Then you can do whatever you want and implement any logic/logging in script.sh and script2.sh.