you can try , creating tx with 0 fees and try pushing it to relay nodes. so any nodes accepting 0 fees tx will accept it.,
but this wont qualify as fake tx, its just real tx with no fees, so it will take time to confirm.
how can i do it tough? go to any online tx creator .e.g https://brainwalletx.github.io/#txset fee 0.00 i.e. output = input enter input address and output address., both can be same, it does not matter. ,and push your tx hex to relay nodes., amacilin has shared , tool to push tx to nodes using just ips list., you need to use that. try looking in old threads. good luck
|
|
|
you can try , creating tx with 0 fees and try pushing it to relay nodes. so any nodes accepting 0 fees tx will accept it.,
but this wont qualify as fake tx, its just real tx with no fees, so it will take time to confirm.
|
|
|
would be cool to see someone actually achieve this could solve the Satoshi 1million bitcoin myth. what is this Satoshi 1million bitcoin myth ? you are talking about ?
|
|
|
A: At first - listing on exchanges. It’s not cheap, especially for the top exchanges.
how much does the top exchanges ask for listing ?
|
|
|
hash160 to btc address for p2pkh only
how to make it work with p2sh ? why p2sh 's hash160 gives p2pkh address upon conversion through hash160 to bitcoin address and not the p2sh addresss ?
Because, as Danny already told you, you don't hash a public key to get to get a P2SH address... it is a "Pay to SCRIPT hash"... you need to hash a "redeem script", not a public key. Read my answer in your other thread: https://bitcointalk.org/index.php?topic=2380374.msg24318230#msg24318230PS. don't create multiple threads for the same question, it'll fragment/split the answers and make things more confusing. Suggest you pick one thread and lock the other. okie., thanks , looking in to it., this is completely different thread than my other thread, here i am working on php code to get hash160 from btc address. while on other thread i am asking for how to create p2sh address and tx. thanks
|
|
|
As I understand you just need to Base58 decode it and strip off first byte (network byte) and last 4 (checksum bytes). That should give you your 160 bit number you are looking for. I found this PHP library for Base58 encoding/decoding for you https://github.com/stephen-hill/base58phpthanks looking in to it, and what about hash160 to btc address., where does the last 4 bytes we stripped off comes from ? while doinng hash 160 to btc address, i mean if we reverse the process.
|
|
|
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.
|
|
|
you know there are other ways to attack the bitcoin network., instead of spending money on each transaction.
|
|
|
looks like timing is bad for now, as unconfirmed tx queue keeps on increasing.,
i guess it will take some time, or it will be forgotten from the network, then you can spend it again.
|
|
|
maybe you are getting banned by network nodes, for relaying bad tx to often., have you whitelisted any node which relays bad txs ? try checking your debug.log file's last 200 lines., you will see what is happeing ., - I'm running a part time node
nope it does not matter , if you keep your bitcoin-core on for few minutes or few hours. this doesnt qualify for increasing banscore., nope, doesnt matter. - Political pressure means that I should decide to support one of the forks
i am not sure, what that means. - I have a low grade internet connection
doesnt matter, as long as you are connect to internet. try adding this line in your bitcoin.confthis line will make sure to get fresh new nodes, when you start your bitcoin-core from builtin nodes list.
|
|
|
Back in May/June this year, there were 175k unconfirmed transactions. See this: https://blockchain.info/charts/mempool-count?timespan=1year. There can be several things that have happened. 1. The network is under attack by a certain group. They make many small transactions in order to prevent other transactions to go through. 2. There are less miners mining blocks, meaning that less blocks are found, which results in transactions getting confirmed slower. The second part has to do with it for sure for a part, because the projected difficulty is 10% lower then the current one: https://bitcoinwisdom.com/bitcoin/difficultyabout 1st., why would someone , spend bucks just to slow bitcoin network down temporarily, i mean each tx has tx fees. i can understand setting 1sat/Byte fee, so avg fee would be 190-224 satoshis. so 0.00000224 Bitcoin equals 0.01 US Dollar , so its kind of cheap to flood network with low fees tx., but still high fees tx get priority. so whats the point ? or they are creating many high fees tx , it will surely cost them. i can understand about 2nd, being there are less miners mining blocks. so if they are not mining blocks, what are they doing ? thanks
|
|
|
All you need are the blocks and the chainstate folders.
does bitcoin-core version has to be same ? on my both machines ?
|
|
|
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 ?
|
|
|
idk how much hash power i need to mine 1 block ,
Right now, today, you need to calculate an average of approximately 4790315043600000000000 hashes to solve 1 block. There are 7 days in a week, 24 hours in a day, 60 minutes in an hour, and 60 seconds in a minute. Therefore, the number of seconds in a week is: 7 days X 24 hours X 60 minutes X 60 seconds = 604800 seconds If you want to be able to mine 1 block in an average of 1 week, then you would need to have a hash rate of approximately: 4790315043600000000000 hashes / 604800 seconds = 7920494450396825 hashes per second. That's just a bit more than 7.92 petahash per second (or 7,920 terahash per second). An Antminer S9 would cost approximately $1415 and can calculate approximately 13.5 terahash per second. You would need: 7920 / 13.5 = 587 AntMiner S9 units if you wanted to be able to mine an average of 1 block per week. That would cost you: 587 * $1415 = $830,605 So, after spending $830,605 of your own money on equipment (and thousands of dollars on the electricity needed to run that equipment), are you sure you don't want to maximize your revenue by only including the highest fee transactions in your block? That is VERY generous of you to run such an expensive charity. those are some good calculations ., thanks this clears my confusion., what happens lets say, we are mining a block of x transactions, but while we were mining, some other miner mines/creates block having 1 or few tx from our x tx's ? our miner then rejects that tx from our block and adds other non mined low fees tx ? or our miner starts all over again ? how does it work.
|
|
|
You could start another fork with lower fees and double the block generation ( halve the generation time). Reduced confirmation times and lower fees should make it popular. Theoretically yes. You can start mining by yourself and when (or better: if) you find a block you can include whatever transaction(s) you like. Therefore you only would get the block reward and almost no income from transaction fees. But first you need a mining farm to generate enough hashing power to be able to mine a block in a manly time. No miner would spare the TX fees. Money is money.
he doesn't need to start a fork. what he needs to do is invest on mining rigs and do just what bob123 said there is no rules on what tx that miners must or must not confirm but the logical (profitable) way to do is to include the highest fee/byte tx to blockchain and before that you have to compete with other miners to be the first to find the next block if most bitcoin users are in agreement pushing down the fee/btye by including low fees soon or later miners will have no choice than confirming those low fee txs than nothing at all but on reality, users are competing to get their txs in the blockchain immediately and willing to pay higher this is similar to buy and sell on trading... the best price on the market gets executed but there is limit on how many tx/size a block can contain , and new tx are keeps on increasing., so if everyone is out there fighting for high fee tx mining, there are low fee tx are lying around waiting to be picked and mined. so why not pick those tx and make a block and get block reward., idk how much hash power i need to mine 1 block ,
|
|
|
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.
|
|
|
|