Bitcoin Forum
September 25, 2018, 12:25:54 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
  Home Help Search Donate Login Register  
  Show Posts
Pages: [1] 2 3 »
1  Other / Meta / why is my post getting deleted ? on: April 19, 2018, 05:06:57 PM
why is my post getting deleted ?

Quote from: Bitcoin Forum
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 .

2  Bitcoin / Development & Technical Discussion / Why sometimes it takes longer for new block to be made ? on: February 22, 2018, 02:52:56 AM


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 ?
3  Bitcoin / Development & Technical Discussion / How to use brainflayer on each cpu core ? multithreaded ? on: February 05, 2018, 08:10:47 AM

hi 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   - (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 ?


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., .
4  Economy / Trading Discussion / Is ItBit exchange any good ? on: January 26, 2018, 04:09:50 AM
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 ?

5  Bitcoin / Development & Technical Discussion / which file in bitcoin core src handles chainstate db ? on: January 25, 2018, 03:42:28 AM
i am trying to find out which cpp file in bitcoin-core src, is handling stuff related to chainstate db.

Thanks for your time.
6  Bitcoin / Development & Technical Discussion / Block #503198 what is it ? on: January 09, 2018, 06:13:29 PM
i am parsing blockchain and came to this strange block.

Block #503198


and 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.

7  Bitcoin / Development & Technical Discussion / How to speed up json/rpc calls ? to bitcoin core on: January 09, 2018, 12:54:08 PM

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.

8  Bitcoin / Development & Technical Discussion / bitcoin PHP json rpc error "JSON value is not an integer as expected" on: January 03, 2018, 12:01:02 AM
i am trying to connect to my local bitcoind using php json library specified in

i 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


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;'

i am getting proper output, so its not issue with bitcoind., but looks like php library.
9  Bitcoin / Development & Technical Discussion / why are developers not increasing blocksize ? on: December 17, 2017, 02:55:11 AM
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 ?

10  Bitcoin / Development & Technical Discussion / What is best way to get all blockchain data in mysql ? on: December 12, 2017, 12:58:06 PM
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.,

11  Bitcoin / Bitcoin Discussion / I found WIF key of 1BitcoinEaterAddressDontSendf59kuE on: December 08, 2017, 01:37:29 AM
Hi, all

I found WIF key of Bitcoin eater address i.e. 1BitcoinEaterAddressDontSendf59kuE


and It start with 5

12  Bitcoin / Development & Technical Discussion / Is there minimal cpp code which can generate bitcoin WIF and address from sha256 on: December 03, 2017, 10:19:10 AM
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.

13  Bitcoin / Bitcoin Discussion / Simple Question for bitcoin traders on: December 02, 2017, 02:39:55 AM
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.
14  Bitcoin / Development & Technical Discussion / In the beginning days when people were mining with CPU on: November 23, 2017, 01:54:37 PM
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 .

15  Bitcoin / Development & Technical Discussion / i need Help in learning how p2sh addresses and tx works. on: November 09, 2017, 07:20:30 PM
i have had discussion here ,

ill 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 :

post id 11 :

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\
hash160                      : 751e76e8199196d454941c45d1b3a323f1433bd6
 uncompressed                : 91b24bf9f5288532960ac687abb035127b1d28a5
Bitcoin address              : 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
Bitcoin address uncompressed : 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm
Bitcoin segwit address       : p2y59b9U5YTUAYEDBr5zwSHFoM8pn3ozAhRD

post id 12 :

from 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:

Furthermore, you could create 2160 different P2SH bitcoin addresses.  Here are a few of them:

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 .


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

            "tx_output_n": 17,
            "value": 109619902000,
            "value_hex": "1985daf630",

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

         "script_string":"OP_DUP OP_HASH160 f26ba6c2e4fe4bc4a1cac44d0e2c9f525195cb03 OP_EQUALVERIFY OP_CHECKSIG",

what next ?
is this correct so far ?

Thanks for your time.
16  Bitcoin / Development & Technical Discussion / How to convert btc address to hash160 and other way around in PHP ? on: November 09, 2017, 06:16:43 AM
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

i tried contacting him, but he is no mood to share the code.,

even blockchain does it on the fly ,

Address   14CFVhgRnd94q9Bq6uMigptDfwtKnMPVZs
Hash 160   23090d78bc991026455285f511c5563e6765f03d

any other guys have php code ?

Thanks for your time.

17  Bitcoin / Development & Technical Discussion / why 74k unconfirmed transaction ? on: October 28, 2017, 03:08:11 PM
is bitcoin network under attack ?

or its getting really popular ?

idk when was the last time i saw 74k unconfiremed transactions.


18  Bitcoin / Development & Technical Discussion / how to move bitcoin-core from linux to windows ? on: October 26, 2017, 02:52:10 PM
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
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 ?
19  Bitcoin / Development & Technical Discussion / can i mine only tx having low fees ? on: October 25, 2017, 12:10:27 AM
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


so 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 ?


i am thinking about getting only block reward and not the tx fees.
20  Bitcoin / Development & Technical Discussion / why my double spend transaction is not getting confirmed ? on: October 19, 2017, 12:35:28 PM
okie, i tried double spending transaction.

here is the 1st tx.

Inputs and Outputs
Total Input $ 71.87
Total Output $ 67.94
Fees $ 3.93
Fee per byte 313.412 sat/B
Fee per weight unit 78.353 sat/WU
Estimated BTC Transacted $ 67.94

and here is the 2nd tx aka. double spend.


Inputs and Outputs
Total Input $ 71.87
Total Output $ 59.16
Fees $ 12.70
Fee per byte 1,000 sat/B
Fee per weight unit 250 sat/WU
Estimated BTC Transacted $ 59.16

there is not much time delay while broadcasting the tx. its 1 second late, than the first one.
but still the first oine got confirmed ,
why is that ?

even my double spend tx's fees were higher that the 1st one.

Pages: [1] 2 3 »
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!