Show Posts
|
Pages: [1] 2 3 »
|
Hi, i am running bitcoind version v0.15.1 on centos el7.x86_64 bitcoind is crashing soon after i start it. here is my debug.log 2019-03-10 13:54:25 Bitcoin version v0.15.1 2019-03-10 13:54:25 InitParameterInteraction: parameter interaction: -listen=0 -> setting -upnp=0 2019-03-10 13:54:25 InitParameterInteraction: parameter interaction: -listen=0 -> setting -discover=0 2019-03-10 13:54:25 InitParameterInteraction: parameter interaction: -listen=0 -> setting -listenonion=0 2019-03-10 13:54:25 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1 2019-03-10 13:54:25 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures. 2019-03-10 13:54:25 Setting nMinimumChainWork=000000000000000000000000000000000000000000723d3581fe1bd55373540a 2019-03-10 13:54:25 Using the 'standard' SHA256 implementation 2019-03-10 13:54:25 Default data directory /root/.bitcoin 2019-03-10 13:54:25 Using data directory /root/.bitcoin 2019-03-10 13:54:25 Using config file /root/.bitcoin/bitcoin.conf 2019-03-10 13:54:25 Using at most 100 automatic connections (1024 file descriptors available) 2019-03-10 13:54:25 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2019-03-10 13:54:25 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements 2019-03-10 13:54:25 Using 8 threads for script verification 2019-03-10 13:54:25 scheduler thread start 2019-03-10 13:54:25 HTTP: creating work queue of depth 128 2019-03-10 13:54:25 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation. 2019-03-10 13:54:25 HTTP: starting 128 worker threads 2019-03-10 13:54:25 init message: Verifying wallet(s)... 2019-03-10 13:54:25 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2019-03-10 13:54:25 Using wallet wallet.dat 2019-03-10 13:54:25 CDBEnv::Open: LogDir=/root/.bitcoin/database ErrorFile=/root/.bitcoin/db.log 2019-03-10 13:54:25 Cache configuration: 2019-03-10 13:54:25 * Using 56.2MiB for block index database 2019-03-10 13:54:25 * Using 8.0MiB for chain state database 2019-03-10 13:54:25 * Using 385.8MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2019-03-10 13:54:25 init message: Loading block index... 2019-03-10 13:54:25 Opening LevelDB in /root/.bitcoin/blocks/index 2019-03-10 13:54:25 Opened LevelDB successfully 2019-03-10 13:54:25 Using obfuscation key for /root/.bitcoin/blocks/index: 0000000000000000 2019-03-10 13:54:30 LoadBlockIndexDB: last block file = 1539 2019-03-10 13:54:30 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=59, size=58031043, heights=564293...564421, time=2019-02-23...2019-02-24) 2019-03-10 13:54:30 Checking all blk files are present... 2019-03-10 13:54:30 LoadBlockIndexDB: transaction index enabled 2019-03-10 13:54:30 Opening LevelDB in /root/.bitcoin/chainstate 2019-03-10 13:54:30 Opened LevelDB successfully 2019-03-10 13:54:30 Using obfuscation key for /root/.bitcoin/chainstate: 26026def1b5ceee9 2019-03-10 13:54:30 Loaded best chain: hashBestChain=000000000000000000086df0b3424771f04c9726fd2a12f94fda7b19e8cfe8b5 height=564347 date=2019-02-23 17:14:30 progress=0.989791 2019-03-10 13:54:30 init message: Rewinding blocks... 2019-03-10 13:54:32 init message: Verifying blocks... 2019-03-10 13:54:32 Verifying last 6 blocks at level 3 2019-03-10 13:54:32 [0%]...[16%]...[33%]...[50%]...2019-03-10 13:58:26
here is my bitcoind config file /root/.bitcoin/bitcoin.conf daemon=1 server=1 txindex=1 rpcuser=user rpcpassword=password maxconnections=100 listen=0 forcednsseed=1 rpcworkqueue=128 rpcthreads=128 rpctimeout=220 there may have system crash due to sudden power outage in the past. how can i fix this ? Thanks
|
|
|
why is my post getting deleted ? A reply of yours, quoted below, was deleted by a Bitcoin Forum moderator. Posts are most frequently deleted because they are off-topic, though they can also be deleted for other reasons. In the future, please avoid posting things that need to be deleted. As for me it`s not possible to get all the addresses given that many addresses rn`t known on the network (think paper wallets). Until an address has done a transaction on the network or a key is published online it`s not possible to know the balance of that address.
that is so wrong. all transactions till date are on blockchain. blockchain is open to public. there are no such things as hidden address having balance. if it has balance , its on blockchain. so if you parse blockchain for address having balance, you get all 100% of addresses having balance. none are left. is this not adding value to the site ? what needs to improve ? i was the one who quoted and replied to the post. tell me what i did wrong ? this is 2nd post of mine getting deleted in 2 days . i am not sure what else should i have posted .
|
|
|
ref: https://btc.com/i am watching how often new blocks gets generated., imho i read somewhere , it stated new block gets generated every 8-10 minutes. but sometimes it takes 30 minutes for new block to appear and sometimes more than 1 block gets generated in 5 minutes., why is that ? who is controlling it ? isnt there enough hash power already to generate blocks. ? what am i missing here ?
|
|
|
ref: https://github.com/ryancdotorg/brainflayerhi all., i am trying to use brainflayer., but its single threaded app and runs on single core., while other cpu cores are at idle., the author says Unfortunately, brainflayer is not currently multithreaded. If you want to have it keep multiple cores busy, you'll have to come up with a way to distribute the work yourself (brainflayer's -n and -k options may help)
help says Usage: /root/brainflayer/./brainflayer [OPTION]...
-a open output file in append mode -b FILE check for matches against bloom filter FILE -f FILE verify matches against sorted hash160s in FILE -i FILE read from FILE instead of stdin -o FILE write to FILE instead of stdout -c TYPES use TYPES for public key to hash160 computation multiple can be specified, for example the default is 'uc', which will check for both uncompressed and compressed addresses using Bitcoin's algorithm u - uncompressed address c - compressed address e - ethereum address x - most signifigant bits of x coordinate -t TYPE inputs are TYPE - supported types: sha256 (default) - classic brainwallet sha3 - sha3-256 priv - raw private keys (requires -x) warp - WarpWallet (supports -s or -p) bwio - brainwallet.io (supports -s or -p) bv2 - brainv2 (supports -s or -p) VERY SLOW rush - rushwallet (requires -r) FAST keccak - keccak256 (ethercamp/old ethaddress) camp2 - keccak256 * 2031 (new ethercamp) -x treat input as hex encoded -s SALT use SALT for salted input types (default: none) -p PASSPHRASE use PASSPHRASE for salted input types, inputs will be treated as salts -r FRAGMENT use FRAGMENT for cracking rushwallet passphrase -I HEXPRIVKEY incremental private key cracking mode, starting at HEXPRIVKEY (supports -n) FAST -k K skip the first K lines of input -n K/N use only the Kth of every N input lines -B batch size for affine transformations must be a power of 2 (default/max: 4096) -w WINDOW_SIZE window size for ecmult table (default: 16) uses about 3 * 2^w KiB memory on startup, but only about 2^w KiB once the table is built -m FILE load ecmult table from FILE the ecmtabgen tool can build such a table -v verbose - display cracking progress -h show this help
i dont understand how to use the -k and -n flags., anyone have experiecne in this ? Thanks p.s. i am trying to break the wallet's which are open for challenges and bitcoin eater address , if you are so concerned about . if i use it like this /root/brainflayer/./brainflayer -v -I 0000000000000000000000000000000000000000000000000000000000000001 -b example.blf -f example.bin -k 1 -n 4
i get this Invalid '-n' argument, remainder '4' must be <= modulus '0' so what am i missing here ? i tried asking him i guess, but he is super busy., .
|
|
|
hi, am wondering if Itbit exchange is any good ? or genuine.
its ranked around 50th on coinmarketcap.
there are 2 threads of about how they delay bitcoin withdrawal but they are pretty old.
so i would like to make sure before i jump in and send them funds.,
i wont be doing bigger transaction at first, but still.
anyone here does trading at Itbit ?
Thanks
|
|
|
i am parsing blockchain and came to this strange block. Block #503198
ref: https://blockchain.info/block/00000000000000000011b4db68e2f052572fdfd93c8293257b7727429f5418b9and lots of questions came to mind. why this block has only 1 tx ? its not like beginning days of bitcoin when only 1 tx used to be there in a block, there are backlog of 100k+ tx and why this block only has 1 tx ? all previous and later blocks has 1k+ tx in them, then why is this block empty ? what am i missing here ? thanks for your time.
|
|
|
hi,
i am trying to load bitcoin blockchain in mysql., and going through the simple json/rpc way.
at current speed , it will take about 1 year+ to process all blocks till today and all transactions.
i am using php to query data.
is there way to speed up the process ? by using multiple threads ? i can do that.
how many parallel/multiple threads the bitcoin-core json/rpc can handle ?
anyone tried this approach before ?
Thanks for your time.
|
|
|
i am trying to connect to my local bitcoind using php json library https://github.com/aceat64/EasyBitcoin-PHP specified in https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#PHPi am trying to get block data. e.g. $bitcoin = new Bitcoin('user','password'); $blockhash = $bitcoin->getblockhash('502284') ; i am getting JSON value is not an integer as expected
on further debuggng $curl_error = curl_error($curl); ( [result] => [error] => Array ( [code] => -1 [message] => JSON value is not an integer as expected )
[id] => 1 ) this happens only with blockheight 502284 and not with other blocks., if i do this in command line using bitcoin-cli , then i can get proper output., but calling from php json/rpc i am getting warning and no result. how can i fix this ? thanks for your time.[/code] EDIT 1 :on further inspection it seems this is only affected to getblockhash as it returns output in int instead of string., and while json doesnt works properly if int starts with 0 ., so it gives warning ., thats what i think. EDIT 2 :if i do this [root@localhost ]# curl --user user:password --data-binary '{"id":"curltest", "method": "getblockhash", "params": [502284] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/ {"result":"0000000000000000001345b1216c6dfa6e3bdd2774d67c7a85ea6552e2245c08","error":null,"id":"curltest"}
i am getting proper output, so its not issue with bitcoind., but looks like php library.
|
|
|
i mean ,current unconfirmed count is 150k and its stable at that point , means new high fees tx are only getting mined.
amd network is very slow and congested., it take around 30-40 minutes to get 4-6 confirmations for single tx having 420 sats / byte fees. and its very high fee.
why not increase blocksize , and allow more tx to fit in a single block, and make it quicker to send btc like it was before.
its really pain in the ass, sending btc from one place to another and this another place requires 6 confirmations to verify the payment., and it takes around 40- 45 minutes sometimes 60 minutes for tx to show on .
bitcoin is already popular and new people are jumping in to it..,
so tx count / second is gonna increase, eventually, why not get ready for it ?
who decides what will be block size ?
code developers ? consensus ?
will all miner's code needed to be modified ? even ASIC ?
|
|
|
i am looking for best available way to get all blockchain data in mysql.
best as in, a single program should parse blk files and insert data in mysql , insteading of creating dump file and then me, importing that dump file in DB
so i can further process data.,
i will be running full bitcoin node ,
i can see there are multiple options/projects on github but idk which works best and isnt abandoned project.
what you guys are using ?
Thanks for your time.,
|
|
|
Is there minimal cpp code which can generate bitcoin WIF and address from sha256 private key? I am trying to generate Bitcoin WIF key Bitcoin Addresses from sha256 HEX private key. but all i see there are bulky libraries and software packages. I am looking for lightweight small, fast, cpp code which can generate I need this WIF KEY : 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf Bitcoin Address : 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm Bitcoin Address Compressed : 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
i have this sha256 HEX key : 0000000000000000000000000000000000000000000000000000000000000001
Thanks for your time.
|
|
|
from what i understand , in trading btc.
buy low and sell high.
but i have a question, i have account at poloniex.,
and when i want to sell,
sell against what ?
i mean what should i get/buy when selling btc. as polo doesnt deal with fiat currency.
so what is out there which is not as jumpy bitcoin, i.e. stable.
imho, usually people sell bitcoin and get USD.
or should i open account at some other exchange which offers exchange with fiat currency., i.e. real life money
what am i missing here ?
what i dont want is, lets say, i sold btc and got ripple or any other crypto then if its value goes down, my investement goes down too., i hope you are getting what iam trying to say.,
sorry for my bad english.,
thanks for your time.
|
|
|
did people started with only cpu ? and not with gpu ?
when did gpu mining started ? i mean how many months/years after initial cpu mining started
what i am trying to understand is,
when majority of people were mining with cpu., did some people started mining with gpu and didnt tell anybody just to mine as much as possible in short time., so that only they will benefit from it ?
did something like that happen ?
because gpu mining is just a piece of software and whoever made it public,only after that people came to know about gpu mining, there is chance that people were already mining with gpu but secretly.
if thats the case.,
what is stopping from people to mine even faster than ASIC, and not tell anybody ? i mean keep it secret., or have we reached at the point, that its not easier for averrage joe to get more speed than ASIC ?
sorry for so many questions and bad english., this struck me while i was trying to find the fastest way to create bitcoin address from sha 256 private key .
|
|
|
i have had discussion here , https://bitcointalk.org/index.php?topic=2294855ill resume it here in this thread. i was under impression that address starting with 3 needs more than 1 private keys to send funds. but looks like that is not the case from : https://bitcointalk.org/index.php?topic=2294855.msg23374174post id 11 : https://bitcointalk.org/index.php?topic=2294855.msg23374174#msg23374174 from 1 sha256 private key i can create WIF private key and public kay pair which is 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm
how would i get p2sh address for something like that ?
or am i missing again something .,
does the p2sh address's private key also falls in
int range 1 - 115792089237316195423570985008687907852837564279074904382605163141518161494336
if so then how can i generate a pair ?
lets say , so far i have these
input : 1 network : Bitcoin mainnet netcode : BTC secret exponent : 1 hex : 1 wif : KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn uncompressed : 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf public pair x : 55066263022277343669578718895168534326250603453777594175500187360389116729240 public pair y : 32670510020758816978083085130507043184471273380659243275938904335757337482424 x as hex : 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 y as hex : 483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8 y parity : even key pair as sec : 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 uncompressed : 0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\ 483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8 hash160 : 751e76e8199196d454941c45d1b3a323f1433bd6 uncompressed : 91b24bf9f5288532960ac687abb035127b1d28a5 Bitcoin address : 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH Bitcoin address uncompressed : 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm Bitcoin segwit address : p2y59b9U5YTUAYEDBr5zwSHFoM8pn3ozAhRD
post id 12 : https://bitcointalk.org/index.php?topic=2294855.msg23375280#msg23375280from 1 sha256 private key i can create WIF private key and public kay pair which is 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm
That is NOT a public key. That is a bitcoin address. Specifically, that is an uncompressed key P2PKH bitcoin address. From that SAME WIF private key, you could also generate a compressed key P2PKH bitcoin address: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH Furthermore, you could create 2 160 different P2SH bitcoin addresses. Here are a few of them: 38fEX6RbBBMmpu3nbbuULku1xyrrzqqqnE 3Q2iKGxFppUJEZUTUMmahjwUoLNRqDY9o3 3CZj1DTSHD4vhr3zALL3pgs6acyw1deYDt how would i get p2sh address for something like that ?
Build a bitcoin output script. Hash it. Concatenate a byte value of 0x05 in front of the hash value. Encode the result with base64check encoding. or am i missing again something .
Probably. does the p2sh address's private key also falls in
int range 1 - 115792089237316195423570985008687907852837564279074904382605163141518161494336
if so then how can i generate a pair ?
P2SH means "pay to script hash". It doesn't necessarily need a key, but is it is safer to build a script that requires a signature (in which case a signature would be required). so how can i spend this output https://blockchain.info/unspent?active=3LmzcN7f4M8dnvTnoHV3BF8n8i1mLE1udr&format=html{ "unspent_outputs":[ { "tx_hash":"3435869ad5a272e7d14306e73ea563d763ac65f28fc7672d1e16e47497950253", "tx_hash_big_endian":"5302959774e4161e2d67c78ff265ac63d763a53ee70643d1e772a2d59a863534", "tx_index":284855121, "tx_output_n": 17, "script":"a914d15b5f90ef9d3120c3704dac91055b35d180c36b87", "value": 109619902000, "value_hex": "1985daf630", "confirmations":7624 } ] } tx_hash_big_endian : 5302959774e4161e2d67c78ff265ac63d763a53ee70643d1e772a2d59a863534 tx_output_n : 17 value : 109619902000
out address : 1P6oVB6r1KKZYNQQVS1QqJy6tFDrHMLCt6
createrawtransaction i get this { "result": "02000000013435869ad5a272e7d14306e73ea563d763ac65f28fc7672d1e16e474979502531100000000ffffffff0100e87648170000001976a914f26ba6c2e4fe4bc4a1cac44d0e2c9f525195cb0388ac00000000", "error": null, "id": null }
if i decode tx i get this { "lock_time":0, "size":85, "inputs":[ { "prev_out":{ "index":17, "hash":"5302959774e4161e2d67c78ff265ac63d763a53ee70643d1e772a2d59a863534" }, "script":"" } ], "version":2, "vin_sz":1, "hash":"2b05faacb73e30da3166e5c932f429c8b34c78ed6a0981c6366fb6357f2bfc45", "vout_sz":1, "out":[ { "script_string":"OP_DUP OP_HASH160 f26ba6c2e4fe4bc4a1cac44d0e2c9f525195cb03 OP_EQUALVERIFY OP_CHECKSIG", "address":"1P6oVB6r1KKZYNQQVS1QqJy6tFDrHMLCt6", "value":100000000000, "script":"76a914f26ba6c2e4fe4bc4a1cac44d0e2c9f525195cb0388ac" } ] }
what next ? is this correct so far ? Thanks for your time.
|
|
|
i tried looking for ways to convert btc address to hash160 hex and other way around, i have found few tools iwritten n c++, which works on command line., but i am trying to implement it in my own php code. but i couldn't find any php code to convert btc address to hash160 address or the other way around. this guys has the code http://bitcoinvalued.com/tools.phpi tried contacting him, but he is no mood to share the code., even blockchain does it on the fly , https://blockchain.info/address/14CFVhgRnd94q9Bq6uMigptDfwtKnMPVZsAddress 14CFVhgRnd94q9Bq6uMigptDfwtKnMPVZs Hash 160 23090d78bc991026455285f511c5563e6765f03d any other guys have php code ? Thanks for your time.
|
|
|
i have linux dedicated server., its working as full node., no pruning, all the blk files are downloaded and up to date. now i have windows machine at my home. what is the best way to move all required files for working bitcoin-core on my windows machine., so after installing bitcoin-core on windows , it wont download all the blk files again. i have these directories and files on my linux machine., [root@.bitcoin]# ls -lah total 30M drwxr-xr-x 5 root root 4.0K Oct 26 10:43 . drwx------ 27 deploy deploy 4.0K Oct 15 22:05 .. -rw------- 1 root root 37 Oct 25 05:43 banlist.dat -rw------- 1 root root 5 Oct 16 10:26 bitcoind.pid drwx------ 3 root root 68K Oct 25 17:01 blocks drwx------ 2 root root 56K Oct 26 10:44 chainstate drwx------ 2 root root 4.0K Oct 16 10:26 database -rw------- 1 root root 0 Oct 12 22:56 db.log -rw------- 1 root root 24M Oct 26 10:48 debug.log -rw------- 1 root root 243K Oct 16 10:26 fee_estimates.dat -rw------- 1 root root 0 Aug 9 10:00 .lock -rw------- 1 root root 112K Oct 16 10:26 mempool_not_needed.dat -rw------- 1 root root 4.3M Oct 26 10:43 peers.dat -rw------- 1 root root 1.4M Oct 26 10:26 wallet.dat
what is bare minimum requirement for running bitcoin-core ? so that i can create a zip of those files and directories and download on my windows machine., and act like full node within few minites., i am doing this, because i am on slow connection/8 mbps at home and on top of that it has usage limit per month 100 gigs., thanks for your time., have any of you tried something like this ?
|
|
|
i see, miners are going after high fees transaction and everyone is competing with each other. so there are tx with low fees are left. there are many unconfirmed transactions 22311 a of now ref https://blockchain.info/unconfirmed-transactionsso is it possible for someone with modified code to get only tx having low fees and create a block of those tx ? or this does not works like that ? is nt the miner decides which tx to include in block ? thanks. i am thinking about getting only block reward and not the tx fees.
|
|
|
|