Bitcoin Forum
June 22, 2024, 08:02:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Bitcoin from Shell Script. Loading block index duration on: May 04, 2015, 05:26:50 PM
So there is no more elegant way?
Tried this, but until now I don'g get the error message stored in a variable. Should be solvable though.
2  Bitcoin / Bitcoin Technical Support / Bitcoin from Shell Script. Loading block index duration on: May 04, 2015, 04:41:57 PM
Hey everyone
I start and stop bitcoind inside a shell script. In between I'd like to pass some bitcoin-cli commands. Unfortunatly I have to wait at the beginning of the script for some seconds so that the block index can be loaded. Otherwise the return value for getblockcount (just an example) is error: {"code":-28,"message":"Loading block index..."}
With increasing block number the time to wait increases, too. Hardcoding the wait time with sleep is not an option.
Is there a way to run a command from script if the block index is fully loaded?
3  Bitcoin / Wallet software / Alternative clients in regtest mode on: February 06, 2015, 04:38:32 PM
Hello community,
I am working on a student project where I need to simulate the bitcoin network. For some tasks I need regtest mode, testnet is unfortunatly not enough. While bitcoind works fine I have trouble setting up alternative clients like Armory or Electrum. Has anyone experience with that?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!