Bitcoin Forum
May 02, 2024, 03:26:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Confirmations over 1  (Read 887 times)
Volcrado (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
February 19, 2016, 06:08:45 AM
 #1

Is there any way to make Bitcoin node to inform me about 12 confirmations? By default, it informs me when the transaction popups and then when it hits the blockchain.

Any idea?
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714663597
Hero Member
*
Offline Offline

Posts: 1714663597

View Profile Personal Message (Offline)

Ignore
1714663597
Reply with quote  #2

1714663597
Report to moderator
1714663597
Hero Member
*
Offline Offline

Posts: 1714663597

View Profile Personal Message (Offline)

Ignore
1714663597
Reply with quote  #2

1714663597
Report to moderator
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1076


I may write code in exchange for bitcoins.


View Profile
February 19, 2016, 06:31:35 AM
 #2

grepping through bitcoin source, I think this may be what you want, "RecommendedNumTransactions".

tsp@computer:~/src/bitcoin/src/qt$ grep -ri recommendednum
Binary file qt_libbitcoinqt_a-transactiondesc.o matches
Binary file qt_libbitcoinqt_a-transactiontablemodel.o matches
transactionrecord.cpp:        else if (status.depth < RecommendedNumConfirmations)
transactionrecord.h:    static const int RecommendedNumConfirmations = 6;
transactiontablemodel.cpp:        status = tr("Confirming (%1 of %2 recommended confirmations)").arg(wtx->status.depth).arg(TransactionRecord::RecommendedNumConfirmations);
Binary file libbitcoinqt.a matches
Binary file qt_libbitcoinqt_a-transactionrecord.o matches
Binary file bitcoin-qt matches


Edit src/qt/transactionsrecord.h in your bitcoin source tree, line 83, change the 6 to a 12.  Rebuild.  Then send me a tip for finding that for you.

Cheers!
Volcrado (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
February 19, 2016, 06:38:37 AM
 #3

Welp, rebuilding all the way over?
Volcrado (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
February 20, 2016, 05:18:08 AM
 #4

I'd love to send a tip, but will it actually help me out?

I want the node to inform me 12 times (only informs me about two times) about the confirmations.
watashi-kokoto
Sr. Member
****
Offline Offline

Activity: 682
Merit: 268



View Profile
February 22, 2016, 05:46:53 AM
 #5

What you want, to avoid complex changes to bitcoin code


when you got the first or second confirmation,

simply do notification each time a block is mined, maybe from block explorer site.

You want 12 confirmations each time a block is mined (new confirmation added) aren't you?

EDIT: site like blockchain.info already plays sound when block is mined
jkminkov
Hero Member
*****
Offline Offline

Activity: 698
Merit: 500


View Profile
February 28, 2016, 11:56:37 AM
 #6

6 confirms is about one hour, so find a way to delay receiving those notifications by one hour Cheesy

.:31211457:. 100 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!