Bitcoin Forum
April 24, 2018, 04:05:59 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Printf doesn't print to screen ?  (Read 1228 times)
Skybuck
Full Member
***
Offline Offline

Activity: 200
Merit: 100


View Profile
December 13, 2011, 06:08:10 AM
 #1

Hello,

I am trying to debug bitcoin 0.5 but nothing is being printed to screen ?

Is this perhaps bug, or is printf re-directed to something else ?

If so can I somehow redirect it to screen ?

(Visual Studio 2010)

Bye,
  Skybuck.
1524542759
Hero Member
*
Offline Offline

Posts: 1524542759

View Profile Personal Message (Offline)

Ignore
1524542759
Reply with quote  #2

1524542759
Report to moderator
1524542759
Hero Member
*
Offline Offline

Posts: 1524542759

View Profile Personal Message (Offline)

Ignore
1524542759
Reply with quote  #2

1524542759
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524542759
Hero Member
*
Offline Offline

Posts: 1524542759

View Profile Personal Message (Offline)

Ignore
1524542759
Reply with quote  #2

1524542759
Report to moderator
1524542759
Hero Member
*
Offline Offline

Posts: 1524542759

View Profile Personal Message (Offline)

Ignore
1524542759
Reply with quote  #2

1524542759
Report to moderator
Skybuck
Full Member
***
Offline Offline

Activity: 200
Merit: 100


View Profile
December 13, 2011, 06:22:33 AM
 #2

I see it has a hidden option:

    fPrintToConsole = GetBoolArg("-printtoconsole");

I shall try and use that Wink
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!