Bitcoin Forum
November 22, 2017, 10:55:02 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [CLOSED] Fix bitcoind-ncurses and earn 0.015 BTC  (Read 232 times)
bitpop
Legendary
*
Offline Offline

Activity: 2184


https://keybase.io/bitpop


View Profile WWW
February 26, 2016, 01:21:46 AM
 #1

It's all I use to monitor my nodes and 0.12 broke it! Help Sad

I will pay 0.015BTC if you post a fix here, I don't think he's around to accept a PR but post one if you can or fork.

https://github.com/azeteki/bitcoind-ncurses

Traceback (most recent call last):
  File "bitcoind-ncurses/main.py", line 59, in <module>
    interface.main(interface_queue, rpc_queue)
  File "/root/bitcoind-ncurses/interface.py", line 79, in main
    error_message = loop(state, window, interface_queue, rpc_queue)
  File "/root/bitcoind-ncurses/interface.py", line 58, in loop
    error_message = process.queue(state, window, interface_queue)
  File "/root/bitcoind-ncurses/process.py", line 253, in queue
    elif 'getnetworkhashps' in s: getnetworkhashps(s, state, window)
  File "/root/bitcoind-ncurses/process.py", line 78, in getnetworkhashps
    monitor.draw_window(state, window)
  File "/root/bitcoind-ncurses/monitor.py", line 125, in draw_window
    window.addstr(index, 1, "Est (" + str(block_avg).rjust(4) + "): ~" + "{:,d}".format(nextdiff))
  File "/usr/lib/python2.7/decimal.py", line 3662, in __format__
    spec = _parse_format_specifier(specifier, _localeconv=_localeconv)
  File "/usr/lib/python2.7/decimal.py", line 5978, in _parse_format_specifier
    raise ValueError("Invalid format specifier: " + format_spec)
ValueError: Invalid format specifier: ,d

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
1511391302
Hero Member
*
Offline Offline

Posts: 1511391302

View Profile Personal Message (Offline)

Ignore
1511391302
Reply with quote  #2

1511391302
Report to moderator
1511391302
Hero Member
*
Offline Offline

Posts: 1511391302

View Profile Personal Message (Offline)

Ignore
1511391302
Reply with quote  #2

1511391302
Report to moderator
1511391302
Hero Member
*
Offline Offline

Posts: 1511391302

View Profile Personal Message (Offline)

Ignore
1511391302
Reply with quote  #2

1511391302
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511391302
Hero Member
*
Offline Offline

Posts: 1511391302

View Profile Personal Message (Offline)

Ignore
1511391302
Reply with quote  #2

1511391302
Report to moderator
1511391302
Hero Member
*
Offline Offline

Posts: 1511391302

View Profile Personal Message (Offline)

Ignore
1511391302
Reply with quote  #2

1511391302
Report to moderator
1511391302
Hero Member
*
Offline Offline

Posts: 1511391302

View Profile Personal Message (Offline)

Ignore
1511391302
Reply with quote  #2

1511391302
Report to moderator
achow101
Staff
Legendary
*
Offline Offline

Activity: 1218


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
February 26, 2016, 03:08:42 AM
 #2

Here: https://github.com/achow101/bitcoind-ncurses

It should work.

My address is in my profile.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
bitpop
Legendary
*
Offline Offline

Activity: 2184


https://keybase.io/bitpop


View Profile WWW
February 26, 2016, 03:58:03 AM
 #3

Sent!

Crazy just 2 letters https://github.com/achow101/bitcoind-ncurses/commit/5207a5d7e844ad84b3c4890012760a1ed4fd825e

 I'm guessing it's the large diff number. Now the decimal is too long but it works.

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
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!