texts: How can I hide my bitcoin transactions to protect anonymity from others?

texts:
Please take a look at this transaction link of bitcoin :
https://www.blockchain.com/btc/tx/blablablabla

My bitcoin address is :  blablablabla
You can see all of my transactions by this link :
https://www.blockchain.com/btc/address/blablablabla

My friend address is :  bc1qhkshfzwzm6cl8ezsg5fw7yhpsdqtp4r3vfzzzz
But you can't see all of his transactions by this link :
https://www.blockchain.com/btc/address/bc1qhkshfzwzm6cl8ezsg5fw7yhpsdqtp4r3vfzzzz

What is this address : bc1qhkshfzwzm6cl8ezsg5fw7yhpsdqtp4r3vfzzzz
And why is it undetectable?
How can i hide my transactions from others like that address?


texts: I invested in bitcoin mining. Is this legit?

texts: I invested 250.00 I was told by a miner I could make 3200.00 in profit . Once my profits were shown on blockchain, it read non spendable. I asked what it meant and he said I'd have to invest 500.00 more to qualify for the minimum withdraw. Is this legit?


texts: Which operating system would work best with pushpool?

texts: Which operating system would be best for pushpool?


texts: How to get address type(format). Need to calculate vsize and fee

texts:
Help me please. I need to calculate vsize and multiply it by the function result  estimatesmartfee.
To calculate vsize, I implement a formula like this https://jlopp.github.io/bitcoin-transaction-size-calculator/
byt i cannot getting address type from Bitcoin API.
Please tell me how to get the address type by API for implementing this formula?


texts: Why was an insecure merkle tree implementation chosen?

texts:
At risk of creating a "lets discuss politics" question, let me clarify that what I want to know is whether there is a known benefit to Satoshi's "duplicate the last hash" merkle tree implementation over the seemingly obvious "append zeros".

For those who don't know, the bitcoin merkle tree algorithm allows blocks to be mutated if a transaction can be duplicated which lead to CSV-2012-2459.


texts: How do I build bitcoin transactions graph?

texts:
I'm using blockchain dumps from http://dumps.webbtc.com/
in database schema in mentioned that result of script in pk_script should specify recipient of transaction. But how do I get amount of bitcoin sent and sender?


texts: why block minning not interrupted when block found?

texts:
I am working with bitcion version < ver. 0.13.0 which contains the setgenerate true functionallity.
I could see in some situations during minning process that when I find a solution, but the other miner has found it already before (and its already published),  I get the message: "ERROR: BitcoinMiner: generated block is stale".
My question is: why the minning process on a specific block not interrupted at the moment when a solution found by one of the other miners?


texts:
5 days ago some Pokerroom sent to my Bitcoin Core wallet a slight amount of bitcoin. I checked it on Blockchain, it's OK. But, unfortunately, still there is no bitcoins in my wallet. I've also sent email here - contact@bitcoincore.org with explanation of the problem.

Who's already gone through situation like this please give me advice on what to do.

Many thanks,
Kirill


texts: Does 'Mixing' in bitcoins really add up protection to my bitcoins?

texts:
I was researching on simple ways to protect bitcoins without using unknown/untrusted software or solutions. It took my attention to 'Mixing' in the bitcoins with a friend's bitcoins and transfer back the same amount of bitcoins back to my wallet. I understand that it will generate different set of inputs and outputs for my bitcoins transactions.

My question is, does this really add up considerable (or any) protection or privacy to my bitcoins in theft/backtracking or any other kind of so far known attacks?

Thank you.


texts: Can a desktop wallet be tracked using IP address?

texts: I'm wondering if I use a vanilla desktop wallet like MultiBit or Bitcoin Core to send and receive bitcoins, who can track my IP address and how?


texts: Is there a library to know the number of bitcoin mined at a given block number ?


texts: How can I convert bitcoin to any other new launched coins?

texts: I have a bitcoin wallet and need to convert all user wallet balance into new launched coin.


texts: How to see the entire history of my Ledger Nano S?

texts:
I followed the instructions from this Reddit post on how to find my xpub address and tapped the wrench icon button and then "Detailed logs" in Ledger Live.

The problem is that this xpub value works on neither blockchain.com nor blockchair.com. The Ledger Live historical chart looks nice, but it only shows up to one year of historical balances.

How can I see my entire history of Bitcoin transactions made with the Ledger Nano S?


texts: Using Bitcoin contracts to run a betting site without the need for deposits?

texts:
There are a couple of bitcoin betting sites, but they all seem to require making a deposit with them. Is it possible to somehow use the Bitcoin contract system to establish a distributed betting pool? Once the bet is decided one way or the other, the transactions would become active.

The problem of course is who decides which side won. That could be the betting site operator. This way, you still have to trust them enough to make a fair judgement call, but at least they cannot just take everyone's deposits and run. The worst they can do is declare the wrong side of the pool the winner. Or maybe stay inactive, thereby locking funds (though this could be fixed by a decision deadline in the original contract).

Or this could be distributed as well. Maybe a majority of pool members gets to decide by some kind of voting process (requires fair losers). Or the block chain miners get to decide by including one of the two possible transactions into the block, just like they decide on double-spending right now?

Does any of this seem feasible (and meaningful)?


texts: Where to find the data to compare the decentralisation of mining for different cryptos?

texts:
I'd like to compare the centralisation of BTC's mining / nodes / pools for BTC and other alts. Where can data be found on this?

Thank you!

David


texts: I formated my hard drive with bitcoin core on it

texts:
First timer here

...I downloaded bitcoin core a few weeks ago until last week where it still had not synced so i started all over...I was originally waiting for BTC CORE to synchronize(I missed the part in the installation that stated I needed 220+ gb of free space)...I had to format BOOT ssd(256gb..also where I originally tried to save BTC CORE)...thats why it was taking so long and I purchased 1tb samsung evo. I'm  wondering if my BTC address will be the same(since I never actually synced with the servers and since I am not using the same SSD where BTC CORE is being saved. However, it is the same SSD that windows is booting from but I had to reinstall windows.

I have now downloaded BTC CORE on my new SSD and it is synced. Unfortunately, I cant find my BTC and when I use a block explorer the funds are not there(I checked with a BE last week and the BTC was there... but pending or waiting to sync...now its not)

...did my BTC address change? will it ever sync with the older one so I can get my funds?

hope someone can help


texts: What is the story behind the "Linode problem"? How did the service become compromised and what has exactly happened because of it?


texts: How big would the transaction history be if all spent transactions were pruned?

texts: If the transaction history's Merkle tree were pruned to remove all transactions that have been completely spent, what would be the size of the transaction history in comparison to its current size?  (In percent of total size.)


texts: Is a distributed version of GLBSE possible? How would you design it?

texts:
GLBSE is a privately owned bitcoin-based stock exchange website.

Recently there has been talk about creating a distributed, open source version of it, without any single point of failure, possibly utilizing blockchain/Namecoin technology.

Would such a project work, technically? How would you design it?


texts: Where can I find research on wallet fingerprinting?

texts:
@raw_avocado asks on Twitter:

I remember reading at some point something about how you can identify
transactions made by specific wallets because they have a specific
fingerprint because of how they construct transactions.
Are there any public stats on this?

Where can we find more information on the unique fingerprints of wallets? Is there a website that tracks this information or maybe an academic paper?


texts: bitcoin-qt import private key doesn't seem to work

texts:
I follow this wiki guide and this thread. After executing the command importprivkey mylongprivatekey in the Console, I see a popup window saying
[MyWallet] Rescanning...

and that takes couple of hours to finish. When it's done, I do not see Address Book show up next to Transactions as in the wiki page.
I thought one issue may be that the wallet get locked after the 10 minutes allowance. But I tried longer time, like 4 hours. Same issue.
I'm using bitcoin-0.20.0.
This is what I expect to see,

This is what I see after it finishes rescanning,


texts: How to query all utxos of an address from a full node?

texts:
I am new in the blockchain field, and I am trying to build my own block explorer from scratch to really learn about Bitcoin. I am currently running a full node in a raspberry pi, and I have already decoded the chainstate/UTXO-set with a levelDB library for Node.js. The content of this database is not exactly what I found in the documentation around, but led me well enough to fully decode this database.

Basically, the keys are the transaction ids with the index of the output, and the values contain the height, wether it is a coinbase transaction or not, the amount, and the address (before the base58 encoding) of every utxo.

However, I don't really know how to query this database in an efficient way to get all the utxos for a specific address without scanning the whole chainstate. It took me about 10 minutes to get all the utxos of a single address which is totally unacceptable.

I guess my specific question is how do I query this database through the values instead of the keys? Or if there is a better way to do this, maybe through the blockchain itself? maybe to an RPC bitcoin-cli call?


texts: Unable to Install API for Data Availability

texts: I'm getting an error when attempting to install my API.


texts: Is there a mechanism to handle stale bitcoins?

texts:
Possible Duplicate:
  Why doesn't Bitcoin return lost coins back into the block reward?
  What could be the consequences of many bitcoins being lost out of circulation if people lose their wallets?

Okay, the first question has to do with stale bitcoins.  Say people lose their private keys.
Over time it just keeps building, and a large portion of the 21mm bitcoins are immobilized.
What happens?

The same scenario can occur for a different reason, say people start putting bitcoins in their
IRAs and there millions of bitcoins held immobile.  Also, how do I know that in 20 years they still will be good.  Maybe the network truncates the transaction log and my part falls off.


texts: The Generator Point (G) in Eliptic curve Cryptography

texts:
I am aware that the generator point (G) in Ecdsa is constant... But if I we're to calculate an equation using this number, I don't know if I should use the compressed or the uncompressed format of the generator point (G). And how should I apply the numbers to avoid these gaps on the numbers...

Compressed(G) :02 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798

Uncompressed(G) :04 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798 483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8


texts: do you think bitcoin futures exchanges (CBOE/CME) are a positive or negative for bitcoin price and why?


texts:
If Someone has bitcoin in a Wallet, then suppose that the company of the wallet get closed or finished work or destroyed, how could one restore his bitcoin?

Where exactly do the bitcoins exist? Are they "exist" in the blockchain and can be resored from there?


texts: Why do nodes trust other nodes to approve their transactions?

texts:
I know that the blockchain technology works so well, because everybody has basically a copy of the last ledger.
Therefore, if a transaction happens, everybody inside the network has to "approve" the transaction to do it.
These other participants are then seen as trusted sources.
However, what makes them into trusted sources? Let's say there are only three participants, two make a transaction and one has to decide if the transaction is acceptable or not (does the clearing). What makes him a trusted source?
Are these thoughts right or where am I wrong?
I appreciate your replies!


texts:
To me, banking is not a public thing. I don't want people to know what's in my bank account at what time, or who I sent money to.

I know that I can make a new address for each transaction, as addresses are 'free'. But this isn't the case for say, a coffee shop, which would want only a single address for people to send money to (usually in the form of a QR code printout hanging on the wall). I can effectively track the incoming and outgoing cash flow of a coffee shop by just tracing the blockchain, can't I? If I were a rival shop, this would be very useful to me.


texts: How to run the bitcoin client so as to only accept blocks?

texts: I read somewhere that running a full node at full functionality requires 200 GB/month bandwidth. Since that is too uneconomical in my country, I would like to run the client such that it simply adds the accepted blocks and does not take part in the rest of the p2p network activity. So is there an option to do that in Bitcoin-Core ?


texts: Why can't someone create a valid digital signature without knowing your private key?

texts:
I understand from the following two posts that private keys are not displayed by the sender when getting their transaction validated by the bitcoin miners:

What happens to Private Key on Payment

How can transactions be verified without the private key?

Instead a digital signature is provided that is based on the Private Key, and, as far as I understand, that digital signature is verifiable when "compared" to the Public Key.

Why then can't someone generate a verifiable digital signature using only someone else's public key?

Or put another way, quoting an answer from the first post listed above:

"A valid signature cannot be created without access to the private key" - why not?


texts:
I understand that the Bitcoin mining problem is to find a string s (hash of previous block + transaction hashes + nonce) such that sha256(s) has n leading zeros, where n determines the mining difficulty.

The result of sha256(s) is a 64-length hexadecimal string. Each position of 64 has 36 possibilities (a-z, 0-9). So, the expected number of guesses would be 36^n.

The hash of block #485891 is

0000000000000000007ea3c67381ecfcf8e44e9941dcef554e8b029068857b55

which has 18 leading zeros. Thus, the expected number of guesses is

36^18 = 10314424798490535546171949056.

This hash was found by Antpool which has a hash power of 1284.32 PH/s. Therefore, the expected time for Antpool to find the hash would be

36^18 / (1284.32 * 10^15) = 8.03104*10^9 s = 255 years.

This time is obviously incorrect. Is there anything I missed out?


texts: What could be the consequences of many bitcoins being lost out of circulation if people lose their wallets?

texts:
If for some reason many people lose their wallet files then many bitcoins are effectively taken out of circulation.

Seen as it's not possible to tell as far as i know if bitcoins are actually disabled in this way, so to speak, I'm wondering what are the implications for this.

I thinking of the hypothetical doomsday scenario whereby it's a significant percentage of the economy. Lets say it was enough to significantly reduce the volume on the markets.

For example a large group of people who hold a great many and live in the same city are subjected to a large EMP. :-)

Would this effect the value of bitcoin indirectly?


texts: Do miners prefer RBF transactions over non-RBF transactions?

texts: Given a replace-by-fee (RBF) transaction and a non-RBF transaction with equal fees, do miners prefer the RBF transaction over the non-RBF one? Or is this entirely up to the particular miner?


texts:
I know that when I create a new block in a Bitcoin network, I change the nonce value to generate a block.

The question is, do you randomly assign the values you assign to nonces? Or do you start with the number one?

Some people say that they are random,

Some people say they start with the number 1 using the hash cache algorithm.

Who is right?

If both of you are right,

In the case of solo mining, randomly assign a value to nonces,

In pooled mining, do you distribute the numbers among the participants and increase them one by one?


texts: I've read that one reason to use a new address for each transaction is because it hides the pubkey behind a hash, so that even if ECDSA is broken and someone is able to derive my privkey from my pubkey it would still be impossible to spend the output of the transaction, since they would need to be able not only to reverse the hash but reverse it into a valid pubkey. Assuming that's impossible, and assuming people use a new address for each transaction, what would be the full security implications for bitcoin if ECDSA were broken? How much protection does hashing the pubkey give from broken-ECDSA attacks?


texts: How to determine how many transactions are being processed by the lightning network?

texts: Is there a way to get an estimation of how many transactions are being currently (last hour or last 24h) processed by the lightning network? And by a specific node?


texts:
I have started mining using an nvidia gtx 670m GPU. I have compiled cudaminer and started mining on the slush pool. However, during mining I always get results similar to:

accepted: 0/X (0.00%), xx.xx khash/s (booo)
accepted: 0/X (0.00%), xx.xx khash/s (booo)
accepted: 0/X (0.00%), xx.xx khash/s (booo)

where X is an increasing counter and xx.xx is the hash rate(usually between 75.00 and 100.00 khash/s). Is this related to networking, more specifically port forwarding? I am asking because the bitcoin-qt client managed to synchronize with the network.


texts: How does the Bitcoin network checks if the miner has changed the mining reward?

texts: You know the mining reward is just a number in the code,what if a miner changed it?


texts:
I set up the bitcoin atom daemon on an Ubuntu server and I want to run it.

How can I do that?


texts: Can old wallets redeem segwit outputs it receives? If so how?

texts:
There's some conflicting information out there on whether this is true or not. I'm looking for a technical answer to this in the hopes of clearing up future potential confusion over the matter.

The main question is: Can old non-upgraded non-segwit aware wallets redeem a segwit output it receives?

Segwit output is defined as an outpoint having a P2WPKH or P2WSH structure as outline in bip141 in its scriptPub section.

As I understand it, when an old wallet receives a segwit transaction meant for it(assume tx is already mined in a block), it will see 0 <20-byte hash>(assuming P2WPKH) in the scriptPub from this segwit transaction. Interpreting this under non-segwit rules, old wallets will see this as anyone_can_spend -- the top of the script stack always evaluates to truthy regardless of what's provided in the scriptSig in the redeeming transaction.

The only way for the wallet to use/redeem this segwit output is to construct a transaction as outline in the bip. That is, it constructs the transaction specifying prev_txid and index as normal, an empty scriptSig and a witness program + witness hash. But a non-segwit aware wallet won't know how to construct the last part of this. Without that part, segwit validating nodes and miners will have to reject this transaction.

So from this, it naturally follows that old non-segwit wallets should not be able to spend segwit transactions.

Note, this question is not about:

old wallets sending non-segwit inputs -> to a segwit output.
segwit wallets sending segwit inputs -> to a non-segwit output.


texts:
If somehow I have an address with its corresponding private key but I have no wallet (well maybe I use some wallet to generate the address/key and then throw it), would it make sense to collect coins to that address and in the future redo the wallet with the addr/key to handle them?

Does that make sense? I am thinking of it as a security police to not have a wallet on a computer (neither connected to the net or not)


texts: Can I use Blockchain records to verify a purchase

texts: I am new in the Bitcoin field, but I wondered, if I paid bitcoins to a store to buy something from the internet, then if the store did not send what I purchased, is there a way I could use the blockchain to verify the transaction, say to sue the store?


texts: How to spend the change in a BIP32 super account?

texts: I am developing my own wallet in python for which I have already implemented BIP32 and BIP39. According to BIP32 documentation, change should be stored in different addresses as well as payments received. This is fine. However, how can I spend my bitcoins when they are stored in different addresses? Let's suppose I have 1000000 satoshis in 10000 different addresses that are derived from m/0'/1'/ path, and each address has 100 satoshis. If I need to send my 1000000 satoshis to XYZ address, can I build a single raw transaction to achieve this, or do I have to create a raw transaction for every single address that is storing my change? Isn't this very expensive?


texts: Hashflare: cannot go back to Not Reinvest

texts: Does anybody know why I can't go back to "Not reinvest" with hashflare ? Thanks.


texts: Configure esplora to point to the bitcoind servers ip address - Part 3

texts:
Continuing on from this post: Configure esplora to point to the bitcoind servers ip address - Part 2

Trying to run cargo run --release --bin electrs -- -vvv --daemon-dir ~/.bitcoin, but it kept saying - reconnecting to bitcoind: no reply from daemon.

The bitcoin.conf file has a rpcuser and rpcpassword set.  I have set the same username:password in in that format for the .cookie file for electrs.

Any idea why it's not connecting?

EDIT:

More details below:

I then create .cookie file in that location with the rpc username:password and then get this message: "no reply from daemon"


texts:
There are approximately 700,000 blocks as of March 2021 [1]. How comes the blockchain size is only ~350 GB [2] and not 700 GB given that the block size is 1 MB?
Thank you for your help.


texts: What could be a realistic future with Bitcoin?

texts:
I'm having problems imaging the future of Bitcoin. Because people usually is with radical ideas like: bitcoin will be the new global currency, will kill the banks and fiat money etc.
Is that a real thing? I don't see it possible at all, even more, I think could be a big problem, banks right now create money with loans, but because we need loans, is not a bad thing. Can you imagine the pandemic without being able to print money? So everyone without saving must die and that's all?
Right now Bitcoin (and crypto in general) is mainly a speculative market, and with huge manipulations. I think would be nice to collect some realistic visions of the future of Bitcoin, how will be used, regulated, in what areas could be really useful or needed, if it will kill some of the financial services used today, or change some rules in the economy or monetary system etc.


texts:
I'm setting up a regtest node on my Windows machine using bitcoin-qt. Here's my config:

regtest=1
txindex=1
server=1
[test]
rpcport=8332
rpcuser=ulu
rpcpassword=***

Next, I would like to run a transaction using RPC. However, I'm totally lost here:
 1. What is the BTC address I could use for creating a transaction?
 2. How do I "unlock" it to be able to send a transaction?
 3. How do I add some BTC to it to be able to send it and/or pay for the transaction?


texts: Best method for getting bulk address information (total sent, received, and final balance)

texts:
I need to go through a large list (about 100 000) of bitcoin addresses, and, if they have a final balance, find that as well as the total sent and recieved. I am working in python, and I have looked through the various API's, but so far I have found the best solution to be getting the JSON data from https://blockchain.info/

I use:

urllib.urlopen("https://blockchain.info/multiaddr?cors=true&active="+testStr)

where testStr is up to 23 addresses, separated by |

This returns a page which I dump into a json and parse for the data I need. I am just wondering if there is any faster method to get this information, rather than multiple calls to blockchain.info?
thanks


texts:
Just created a new wallet using Bitcoin Core v0.15.1 (Windows x64), encrypted it with a password, and created one receiving address. The size of this wallet is 1 Mb.

In comparison, my old wallet, with about a dozen receiving addresses and transactions, encrypted using the password of the exact same length, is only 100 Kb.

I thought the 1 Mb is too large and suspicious. What could be the reason for this size?


texts: Where off-chain transactions are registered afterwards?

texts: Reading the questions and answers on this StackExchange, i've learned that into Exchanges there's no transactions over public blockchains being performed, the funds are exchanged among accounts into the Exchange and a database seems to register and tracking the credited and debited funds of any internal transactions occurred. But, when one wants to withdraw his funds, move them to another exchange or move to a properly wallet, whether it being BTC or any other Altcoin, how does all that information are registered on Blockchain as a lot of other ones were done only internally on an Exchange?


texts: how to capture only one part of the getrawtransaction

texts:
I want to capture just one part of what Getrawtransaction returns, but it returns an array within an array that i can't seem to process.
I.e when

$txid =
'4f52e7769fe23059a4f0fa2b66ca0ba9595812654b90cc0526ddb9703a3e1b33';
$txidarray = ($rpc->getrawtransaction($txid,1));

then I can grab the whole "vout" array element(s) with  :

print_r($txidarray[vout])

;
i.e that returns :
> Array (
>     [0] => Array
>         (
>             [value] => 0.077
>             [n] => 0
>             [scriptPubKey] => Array
>                 (
>                     [asm] => OP_DUP OP_HASH160 efe11230ccff2380c3115e2826098931bb76ccef OP_EQUALVERIFY OP_CHECKSIG
>                     [hex] => 76a914efe11230ccff2380c3115e2826098931bb76ccef88ac
>                     [reqSigs] => 1
>                     [type] => pubkeyhash
>                     [addresses] => Array
>                         (
>                             [0] => 1NsN84QPXSXEdojiC482PnJUGNfx9XduQ6
>                         )
>
>                 )
>
>         )
>
>     [1] => Array
>         (
>             [value] => 0.02636684
>             [n] => 1
>             [scriptPubKey] => Array
>                 (
>                     [asm] => OP_DUP OP_HASH160 ae57d86c288389e086eadf1bc50998d86ad2828a OP_EQUALVERIFY OP_CHECKSIG
>                     [hex] => 76a914ae57d86c288389e086eadf1bc50998d86ad2828a88ac
>                     [reqSigs] => 1
>                     [type] => pubkeyhash
>                     [addresses] => Array
>                         (
>                             [0] => 1Gtqoz4tNTLYBR13AxypwsXupsevcy5QPq
>                         )
>
>                 )

But how can i grab ONLY  "1Gtqoz4tNTLYBR13AxypwsXupsevcy5QPq"  ???
I just want to get that address from the getrawtransaction for an txid !!
I tried :

print_r($txidarray[vout,0,scriptkey[0]);

but does not work, no clue as to what the correct syntax is !! anyone can help me ? many thanks !


texts:
Does the bitcoin transaction fee depend on the number of addresses in the proverbial from field or the number of transactions that led to the balance in the addresses in the from field.
eg:
I have 10 addresses each containing 1 bitcoin,is it better to send them from where  they are to another person or if I transfer all the bitcoins in every address to a single address and then sent the bitcoins from there. I am only talking about the transaction fee in the final send to the other person.


texts: What Opcodes are used to store a file within Bitcoin?

texts: At a block-to-block level, what is actually encoded at a byte[] level to encode a file stream?


texts: What is the alternative for an exchange which doesnt want to run a node of a coin traded?

texts:
It seems to be best practice for
an exchange to run a node itself for a
coin traded there.
But, is there an alternative?
A third party service? If yes, which are recommended and why?


texts:
The CBOE website features a report on Bitcoin futures containing:

 Symbol         Last        Change       Volume
 XBT/F8         18090.00    +1290.00     1515

I understand:
XBT is bitcoin, F8 means Jan 2018.
But what do “last 18090” and “volume 1515” mean? Does this mean that in Jan 2018 there will be 1515 contracts bought at 18090? Or does it mean that in Jan 2018 there will be 1515 contracts sold at 18090? How can I learn the percentage of long and short contracts from the report?


texts:
I have transfer bitcoin from zepay to BCC with the bcc receive address . BUT the BCC is not updated with the transfered amount.
Is there any way to track the transaction??


texts: can sign derived wallet transactions with master seed phrase private key?

texts:
I would like to sign a transaction from a wallet which is derived from a seed, and sign it with master seed private key, can I sign any tx of any derived wallet address after the master seed wallet?

thanks a lot.


texts:
i heard that miner who get bitcoin first gets transaction fees.

Then who gets the transaction fee right when mine at mining pool? The miner or The pool?


texts: I can see a recent blockchain.info "confirmed" transaction in a shared wallet, but I do not have a balance?

texts: I sent 1 BTC to a shared wallet address (15wGmQqaYHhBqB6bEFvrXz4CJGNeBhQkmv) at blockchain.info. It gave me a transaction id e76ccebaaf5bf63762829a92f31a065bc4c5d623df18a79626f4276d536a625e and I can see the transaction, however the "balance" is not reflected in my wallet anywhere. What gives? I have done this successfully before and it was fast and easy. TIA


texts: Bitcoin wallet has the option of creating a new wallet address for receiving payment. What about for sending? Isn't my "From" address always going to be the same?


texts: Can bitcoins be split up into greater than a billion parts?

texts:
I understand that, at time of writing, splitting a bitcoin into more than 10⁸ parts is not useful. However, say that in the far future enough bitcoins have been destroyed (through deleted wallets due to negligence or whatever else) that a billionth becomes too valuable for people to work with.

I know we're a long way off from this issue yet, but just say it were to happen.

Would the bitcoin spec easily allow you to further bifurcate these coin fragments into arbitrarily small values, thereby eliminating this sort of problem?


texts: How to check confirmations number programmatically

texts:
How can I check confirmations number for some bitcoin address programmatically? (I have eCommerce shop where each order has separate address).
I want to use blockchain.info API.

Here is an example of the API call, but I can't figure out what numbers should I check in API response:

https://blockchain.info/rawaddr/1JbBiCzQqzE2dW9TCzA6w7N27jVDXxwreD


texts: Bitcoin was sent to my wallet 7 days ago but it has not reflect in the wallet

texts:
I checked the bitcoin explorer to check if the bitcoin is in and Yes it is but it stays unspent but it has not reflect in the wallet of the main address for 7days now
d325c9a20df855cb1a051d6ed1cee6aea795f2cdd3befaa913855cd1d6128532
This is the transaction id


texts: Where does the entropy of BitcoinJS' makeRandom() come from?

texts: The library BitcoinJS (https://github.com/bitcoinjs) has a method called makeRandom(). Where does its entropy (randomness) come from? Is it as secure as the method from http://bitaddress.org/ (moving around the mouse), or even more so?


texts: How does the Smart Contracts work in a blockchain

texts:
I am relatively new to blockchain technology, and my only knowledge is relative to the way bitcoin blockchain works. I know it is based on mining and and transfer of value that gets scarce whenever more bitcoins get mined.

Next I got into the blockchain technology as a standalone technology away from the finance field of cryptocurrency. I found out about the usefulness of the unique tokens and how to link digital assets to these tokens.

One of the biggest adding to blockchain is the smart contacts which by my knowledge are contracts that don't require third parties as brokers.

The problem is that I still can't figure out how do these smart contracts integrate into blockchain technology. Any help? is there any concrete exemple I can read about ?

Thank you !


texts: Is it possible to use the same BIP39 list of seed words to create addresses for different crypto assets?

texts:
Currently, as a matter of convenience, I'm holding small about of crypto assets on various exchanges.

It's not ideal - I'd much rather store them locally, have access to the private keys, be in full control.

What worries me is that I treat any type of hardware as disposable and I'm worried I might mess up with creating 10+ different backups for each crypto asset.

(backups on Google Drive / Dropbox also don't seem attractive, although probably still better than me - these companies are in business of securely storing data and I generally trust them)

Is it possible to generate BIP39 compatible seed list and then generate private keys and addresses for each cryptocurrency out there?

In that way I'll only have to memorize 12 words and have addresses + private keys for each crypto.

Docs:

https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki


texts: How do I show my wallet from the command line?

texts: How can I show/open my wallet in gui-less linux version? I tried to show the contents with cat but it's only binary data (which makes sense). The --help option of bitcoin/bin/64/bitcoind also doesn't give me a hint.


texts: Hardware Wallets vs second mobile or airgapped computer

texts:
What are the advantages of a hardware wallet vs an airgapped mobile phone or computer? It is the memory quality so much different from a good RAID?
How are people with multiples of coins and over 100k storing their keys?


texts: I am willing to acquire bitcoin without transaction history (virgin bitcoin) at a premium. How do I tell that the bitcoins I receive do not have any prior transactions (except of the mining one)? What proof would the counterparty need to provide?


texts: Bitcoin sent to Bitcoin Cash address, How to Recover?

texts:
A friend asked for my Bitcoin Cash address to send some BCH, but after giving her my Bittrex Bitcoin Cash wallet address she instead accidentally sent Bitcoin and not Bitcoin Cash from her Blockchain.com wallet.
Of course the transaction has not shown up and she is now missing her Bitcoin. She and I have both emailed Blockchain.com Support and they have been unresponsive in helping to recover her missing Bitcoin so it can be sent to the proper address. Any help anyone may have is Greatly needed and Appreciated!! These mistakes can be very costly as Im sure, whoever may be reading this, already knows!! Thank you Anyone and Everyone for your time and support with help on this issue!!
Again, The Bitcoin was sent from Blockchain.com's wallet to a Bitcoin Cash wallet on the Bittrex exchange..... I have reached out to Bittrex customer support as well but still awaiting a reply! If recovered before someone has a chance to offer help, I will update this post with how it was done, but any and all help is GREATLY Appreciated!!


texts: Dumpprivkey or dumpwallet won't show my private key for the address in my wallet

texts:
Haven't opened my wallet in a while so it's not in sync with the network. 5400 blocks remaining as I write. The wallet is not encrypted.

Received some bitcoins to my address in this wallet. Now I want to get the private key of the address and import it to my wallet on blockchain.info

The output of pywallet's dumpwallet command shows a lot of address/private key pairs but none of them are the address I see on my address book which I received the bitcoins to.

Launched BitcoinQT's debug window, tried the dumpprivkey command. Result: Private key for address is not known (code -4)

Thank you.


texts:
I want to build a app which takes transaction id, source and destination address as input and need to validate the transaction (the specified amount is sent from address1 to address2.

What is the best solution can I relay on blockinfo or chain.com api's? or is it better to start own JSON RPC node and validate?

If its 2nd can someone help me to write java code to kick start the process.


texts:
I have a doubt with Proof of Stake. As I have watched some tutorial videos and websites, there is information that: with Proof of Stake, in order to make a double spending attack, a node has to own at least 51% stake of all the network.

Because with pure Proof of Stake, only a single miner can append a block at the same time. So what I wonder here is: with Proof of Stake, how can fork happen to make the double spending attack?

Thanks in advance :-)


texts: bitcoind not using correct directory inspite of datadir argument

texts:
I configured a non-pruned bitcoin full node on a RaspberryPi 3 using this tutorial - http://raspnode.com/diyBitcoin.html

I am using a 1TB external HDD to store the blockchain. I synced the full blockchain on my laptop and transferred it to this external HDD.

I am able to mount this external HDD as per the instructions in the above tutorial under the folder ~/bitcoinData and have also setup the automount.

However, even when I run bitcoind using the arguments bitcoind -datadir=/home/pi/bitcoinData -daemon, it still is using the default ~/.bitcoin (on the RPi SD Card) to download the blockchain from scratch even though the full blockchain is available in the mounted drive.

I tried to mount bind the two directories in /etc/fstab/ using /home/pi/bitcoinData    /home/pi/.bitcoin       none    bind    0       0
but still the same issue occurs. Any idea why bitcoind is not using the mounted drive to download the blockchain inspite of the argument datadir=/home/pi/bitcoinData?


texts: When adding funds to wallet via snapswap, what exchange rate is in place?

texts: I just added $1500 to my ripple wallet, but its showing up as XRPs in my wallet. Not only that, but the exchange rate is incredibly terrible, for 500 dollars, ripple gave me 500XRPs?  How is it that I only get 1500 XRP in my account when XRP is trading at $0.03???? How is this possible?


texts: Source for blockchain dump in machine readable format

texts: Where to get blockchain dump in machine readable format. Text files of JSON will be perfect . I found PSQL database at http://dumps.webbtc.com/bitcoin/ . Any other source?


texts: How should webapps handle addresses/wallets?

texts:
There is a ton of bitcoin information, but it's hard to find up to date best practices for making webapps. I am very comfortable making secure webapps, and I'd like to start some bitcoin related webapps, and using a merchant solution like bitpay is not an option. Could someone steer me towards the right keywords and concepts to do this?

When starting a bitcoin webapp, where each account can send and receive bitcoin, what are the best practices around bitcoin transactions? How are bitcoin transactions around accounts handled for online exchanges? Should each account be set up as a separate wallet? Or is it safe enough to give each account an address and record a balance and transaction history tied to each account? Is it necessary to use bitcoind or are there other methods for making transactions?

What kinds of security/safeguards should all bitcoin webapps have (i.e. is it necessary to have cold storage?, two factor auth, etc)?

Edit: I'd like to originate and also receive bitcoin payments. I want to make it easier for people to get started if they have friends that already have bitcoin. So a bitcoin holder can set up an account. Then s/he can email bitcoin to the friend via the app. The app then emails the friend the transaction details if they already have an account; otherwise it will sends an invitation to create an account along with some intro to bitcoin articles. Paying a X% processing fee doesn't make sense in this case where I expect most transactions to be small.


texts: Unconfirmed transaction / double spend warning

texts:
I transferred some coins from my Electrum Wallet to my Coinbase Wallet, however the transaction got stuck as unconfirmed (possibly because of low fees).  It has been already 19 days since the transaction, the coins are still showing as unconfirmed in Electrum wallet and I can not use them as well.

I am also getting a double-spend warning on BlockCypher.  How can I push this transaction through without losing my coins?


texts:
I'm trying to resurrect my simpleminer.py script, based on pyminer, for use with Bitcoin 0.13.2 but the changes to the code over the last few years are overwhelming. I found out how to use getblocktemplate using the excellent Python examples in the wiki (https://en.bitcoin.it/wiki/Getblocktemplate), but that doesn't explain what to do with the "segwit" stuff, e.g. the "default_witness_commitment" value.

can anyone point me to some documentation that has kept up with the code changes? right now it looks like I'm going to have to grok the source, and I'm not even sure I'm up to the task any more.


texts: solo mining payout maturity vs pool mining

texts: When I mine in pools there are unconfirmed coins, but it seems unconfirmed times are far less than immature status in *coind wallet app... Any advice how I can get my coins quicker instead of waiting for 100 blocks to pass?


texts: Does my bitcoin multiply with every fork?

texts:
Simply put, does your current bitcoin (pre-fork) multiply with every fork that bitcoin may experience?

For example if I have one bitcoin stored in a cold wallet for the next century and Bitcoin experiences 5 forks over that period. Will I have the original bitcoin and 4 new coins (differently named)? Assuming every new coin type is still going.

Also, if you have 1 bitcoin in a hot wallet or exchange, does the exchange then issue you with the new coin with every fork? What if your exchange does not support the new coin?

Sorry, lastly... Say your bitcoin is in cold storage. At what point do you see the new coin? Will an exchange automatically recognize it as a pre-fork bitcoin and issue you the new coin?


texts: bitcoin cash from fork no longer visible on blockchain.info

texts:
I had bitcoin before Aug 2017 on Blockchain.info.
After the fork there was a period of time that i could see my BCH balance in Blockhain.info's settings. i can no longer see it. how do i get access to my fork BCH?


texts: Do you pay verification fees in an exchange?

texts: In an exchange of cryptocurrencies (say an exchange of ETH to BTC on poloniex or kraken), do you still pay a fee to the miners to verify the transaction(s) or is it included in the exchange fees?


texts:
In Bitcoin core, when generating a new address for receiving a payment, you get this dialogue:

There is a tick-box for "Generate Bech32 address".

I understand that this is a relatively new feature not yet supported by all wallets. The tooltip help claims that

  Bech32 addresses ... are cheaper to spend from and offer better protection against typos"

How much cheaper than the "P2SH wrapped SegWit address"? (and why?)
Don't P2SH wrapped SegWit addresses include check-digits at the end?

I did find a 52-minute Youtube video where someone with a familiar name was giving a presentation on Bech32 but I'm hoping that it can be explained simply and concisely for the non-technical end-user wondering whether to click that check-box or not.


texts: What escrow system does the official Bitcoin bounty progam use?

texts:
There is a list of bounties on the wiki here:

https://en.bitcoin.it/wiki/Active_Bounties

How are the BTC pledges collated and eventually paid? I assume there is some kind of escrow system but I can't find out anything about it.


texts: What is the address format of a lightning network address?

texts: Are lightning network addresses the same as bitcoin addresses or are they completely different?


texts: How to get number of transaction confirmation from bitcoind?

texts:
I have a question,
How can I get the number of transaction confirmation by using bitcoind?

for example:
https://live.blockcypher.com/btc-testnet/tx/9fd745521000d1aadb1f4857e44817c3342d02585af93c83d19dc3f3f4425594/

you can see the number of CONFIRMATIONS on that page

thank you in advance!


texts:
In the what’s new in Bitcoin Core 0.9.0 notes there is a reference to a refund address. I tried to look it up in the forums and the wikis but I came up with nothing.

How can I set a refund address when sending money from the QT client?
How can I retrieve the refund address for a transaction from bitcoin-cli?


texts: how a system based on a blockchain would deal with exponential growth of informations carried in it?

texts:
I was reading this article about the difference between a blockchain and centralized servers and a question came up to my mind: if I understand well the difference stands in the fact that in a blockchain there isn't a centralized server that maintains online a version of the informations based on it and protects them from corruption. I'm thinking for instance about wikipedia. Every "miner" instead has a copy of the informations - of the blockchain - and that is why it is so difficoult to alter a blockchain.

But what if these informations, and with them the blockchain itself, became too heavy to be supported by little private servers? My question is how a system based on a blockchain deals with exponential growth of informations.

I hope to ask in the right place, if it isn't I beg your pardon!


texts: Preventing the exposure of public addresses on a website

texts:
Rather than having a single, fixed address, I want to generate a new address on my website every time a user request comes in.

I'm concerned about google or another web crawler indexing my website and tying my Bitcoin address to my website address.

I've thought about pregenerating the addresses, storing them in a database, and only showing one to each user. I think there's probably a better way.

I use node.js, so a solution using bitcoinjs or another node.js package would be preferable.

I would prefer to use multisignature addresses.

I would rather not depend on blockchain.info or an exchange - it introduces a single point of failure.


texts: convert private key to bitcoin address using python or php

texts:
I have private key like this 5JYJWrRd7sbqEzL9KR9dYTGrxyLqZEhPtnCtcvhC5t8ZvWgS9iC how to convert to bicoin address using python or php?

example bitcoin address
18V7u8YNHKwG944TCkzYYj32hb6fdFPvQf


texts: Does a Stellar ledger contain all the state of the world? How does it scale?

texts:
So, I'm new to Stellar and trying to make sense of the (somewhat) confusing terminology here. It sounds like a Ledger is like a block in Bitcoin, in the sense that it opens and closes every so often.

A block in Bitcoin only holds the list of bitcoin transactions that were made in the last iteration, which is why you need to track all the blocks to know the complete state of the world (in Bitcoin). However -

According to the docs,

  A ledger represents the state of the Stellar universe at a given point in time. It contains the list of all the accounts and balances, all the orders in the distributed exchange, and any other data that persists.

so, if that's true, is this scalable? how?


texts: How to decode raw transaction which has 00 in '#TxIn' slot?

texts:
These are two raw transactions I got from Testnet, using bitcoind -testnet.

01000000000101dc82cf0b892b325413ec7b3237e1a122c3114002ccd6e0f0157c8851144c00200100000017160014a530e459b62406b99aa75091bd9eb833a20698a3ffffffff0290f4f700000000001976a9143eabc5342434987e43e5c49f42462689d969c56288ac67baa26f2e00000017a9144d62bfc7376858c8d601c50dc08d8dc8491b27a8870247304402206998883f24133677c46a70e01e70cd9f69ee9059a4d5d82e891b82e797f125000220760a3af0836a9068de63ca0a4cedbb68bc8ea2d067f5cdaf92f2cd4d31703e18012103d8421b44b3d21151a5a2660662bc6ef69a0ef2266bf68b8c56eea715b23a596500000000

0100000000010151df0e2bb6bd3ffa19ae03330b7f89a4a8d6ad93bc204ec7d8cd367e58a10b580100000017160014a03506f19e6851264f21f373bae14023d247d760ffffffff02bc733400000000001976a9143d19e810138ebcb0033c462cf2b5e62a9d7af24588acc4ecca632e00000017a9142f877141344c0202e2f6eb979025d9e3f4f38c6a87024730440220342f74d49243d342a8cd3818e48d8aaf94c71fa41a96863dd986057992650bc202202a7cbe1541941e55abf06fee496c890cce9a2d2fcbb0710fb24342f3b513cd0a0121029e3868ce4a192e0b47f29090c243764e68b4c2c18aa0476272a61b62e3a3804c00000000

When I try to parse these transactions using new bitcore.Transaction(serialized) via Bitcore library, the return value either results in Buffer error or malformed Transaction.

When I refer the Bitcoin doc, the first 4 bytes are assigned to be version, and the following bytes are assigned to be the number of inputs, in the variable length integer format. Variable length integer has the value of uint8_t when its value is less than 0xFD, according to the doc.

Following the rule, above two raw transactions should indicate that these transactions have zero input because it has 01000000, thus 1 in little endian (so it means version 1), which is followed by 00, thus 0 (so it means 0 input) according to the doc.

But when I decode these raw transactions either at BlockCypher or by bitcoin-cli decoderawtransaction, it clearly shows that it has some input and the result seems to be valid. (By querying the tx id or addresses, I can get a valid result too.)

Is there any other way to decode these kind of raw transactions?


texts: Bitcoin cash signraw "Input not found or already spent"

texts:
I've created raw transaction with non-spent inputs and already exist in Bitcoin cash abc 0.16.2, But when I try to sign that raw transaction I get Input not found or already spent

RawTransaction

  02000000012a6b8e40c82f2a428ea6fb1b355832fe01319235393a9ca2cbf5bfbe3a342e290000000000ffffffff0280969800000000001976a914fe7cba7f798d378abffa4d5620f80d22adfbe1b088ac20091409000000001976a9147aec53c51184a7cf5413a919674bf5efffc0ad6088ac00000000

if you decode this transaction you see the input I used and it's "not already spent"

when I call Bitcoin-cli listunspent I see used input exist in the wallet.

{
    "txid": "292e343abebff5cba29c3a3935923101fe3258351bfba68e422a2fc8408e6b2a",
    "vout": 0,
    "address": "n1V7R2SadYSRqBg3AzFxiokDRm8LG85tdX",
    "account": "",
    "scriptPubKey": "76a914db094c026ee745ed8c65af3a692411a9766022f288ac",
    "amount": 1.62500000,
    "confirmations": 6,
    "spendable": false,
    "solvable": false   },

When i follow the same steps to create/sign a transaction on Bitcoin core or litecoin it works.

I heard that I should add used inputs when calling signrawtransaction


texts: How do I read a script? How does the processor separate "data" from "commands"?

texts:
I'm trying to understand how a script works but am having trouble reading a script (the output of one Tx... and the input of a second Tx) and figuring out how the computer (bitcoin-qt) knows which input in the script is data and which is a command.

Please correct my assumption:

The script is read left to right and is the concatenation of the output of a preceding Transaction to the input of a consuming Transaction
A script output can have only one corresponding transaction script that consumes it.
There are several script commands and several are disabled in the current version of the client
The script can not rely on outside information (stock ticker) but can rely on an Oracle for these dependencies.
The script commands that are "commands" require certain data to be on the stack in order to function correctly
There are "standard scripts" (but I'm unclear if this means non-standard scripts may never get incorporated into a block)
If the concatenated evaluation of a preceding Tx Output and a subsequent Tx Input evaluates to true, then the transaction is valid.

Question

Can anyone tell me if those thoughts about scripts are correct?
How does the forth like processor know the difference between data on the stack and commands on the stack?
Does the processor think everything is just data until it hits data that matches a known "function"


texts: Solving PyCrypto 2.6.1 errors for Python 3.4 (Windows7 x64)?

texts:
Whilst there's less of an issue with Python 2.7, Python 3.4 relies on the pycrypto library for numerous wrappers/APIs/tools such as BlockTrail, pycoin, pybitcointools, etc etc.

The error I'm getting:

building 'Crypto.Random.OSRNG.winrandom' extension

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

error: Unable to find vcvarsall.bat

It's an issue with the gcc C++ compiler for Windows, I understand, however the binaries offered in that solution, sadly, don't cover Python 3.4 (version for 3.3 won't cut it, unfortunately).

A solution - other than installing pseudo-Posix (ie Ming32) - would be very useful for those transitioning to Python 3.xenter preformatted text here


texts: Does OP_EQUALVERIFY have a return value?

texts:
The Bitcoin wiki has a page that summarizes OP_EQUAL and OP_EQUALVERIFY:

OP_EQUAL

Opcode (Hex): 135 (0x87)
Input: x1 x2
Output: True / false
Summary: Returns 1 if the inputs are exactly equal, 0 otherwise.

OP_EQUALVERIFY

Opcode (Hex): 136 (0x88)
Input: x1 x2
Output: True / false
Summary: Same as OP_EQUAL, but runs OP_VERIFY afterward.

OP_EQUALVERIFY is listed as having a return code, when it doesn't seem like it should. (OP_EQUAL OP_VERIFY wouldn't leave anything on the stack.)


texts: How or why "a Bitcoin address is a single-use token"?

texts:
In the address wiki page it says that "a Bitcoin address is a single-use token". Do I have to understand one address is (or should be) used only once?

More over, the Address reuse page seems to confirm that. But when reading some information here, this address 1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX has 641 transactions. Could you please tell the points I misunderstand.


texts: To what degree can Bitcoins on a hard disk be protected against hacking?

texts:
This is a question that came to my mind after reading this other question from someone who had "found a heap of BTC" on a hard drive. In that persons case they had originally been purchased many years ago.

The questions I wanted to ask is about a possibly scenario where the exchange from which he bought these Bitcoins has since been hacked.

The questions I have:

Isn't Bitcoin always also somewhere online and not just solely
on the hard drive?
If Bitcoin is always also online (e.g. at some exchange /
repository), and the online repository has been hacked, could that
guy in the other question get his BTCs back based on the data he has
on his hard disk (or: what data would he need to have on the HD in
order to be able to get his BTCs back in the event they are stolen
from the online repository)?

Update: with the reference to "repository" I did not mean that there is a central repository. Just that when BTCs are purchased through exchanges such as Coinbase, the BTC is often stored at a repository at such an exchange. The question was about what happens to the BTCs if the exchange is hacked, as happened to e.g. Yapizon and Bithumb.


texts: How to search for TXs using only the PublicKey linked to those TXs?

texts:
The quest is to define a method for searching TXs on the Bitcoin blockchain using only a PublicKey in HEX format - as opposed to searching TXs by popular terms like  wallet ID, txid, hash, etc.

I haven't found any such method. Does it exist?

Scenario:

Bob holds a compressed PublicKey of the form

02af31b067645ffe4eb534d609da80332e5c5747543fd97385e832c6fdf2d4b4bf

Hypothetically, Bob has no other info at his disposal and he wants to query the Blockchain to find all TXs associated with the above PublicKey.

If Bob succeeds, he finds this Transaction

Is this type of searching the blockchain possible?


texts:
I'm an IT consultant in Australia and I'm pretty green when it comes to BitCoin and wallets and the like.

I've been contacted by a client with a MacBook Pro that cannot be repaired and he is looking to switch to a Windows laptop.
He says he has a MultiBit wallet on the Mac which contains all his 'Private Keys'... What I would like to know is if all of this data can be transferred onto a Windows environment with minimal fuss...  Can this be done?

He also says he has a "bridge" into his "trezor" that he needs as well.  Being an older client, he might not be pronouncing things right or his understanding might not help him convey exactly what he means.  But I'm assuming the "bridge" is some sort of VPN or browser add-in that creates a link between the "trezor" service he's using.
If I cannot boot the Mac, how would I determine where and what data this is and how to transfer it across to Windows as well?

Thanks in advance


texts: How to Generate an Extended Private Key from Command Line?

texts:
I'm trying to create an extended private key so I can create multiple public addresses that can be controlled using a single master key.

I have a library which handles most of what I need, but I need to provide an extended private key.

How can I generate an extended private key? Ideally I'd like to do it from linux command line.


texts: Bitcoin-Qt wallet shows outgoing transaction as "Offline (0 confirmations)"

texts:
What is the meaning of a transaction status of "Offline (0 confirmations)" as opposed to "Unconfirmed (0 confirmations)" ?

Does it mean that the transaction has not even been sent to the network yet?
If so, why would that happen, and can I force it to retry?

The wallet is online (13 active connections to the network), but out-of-sync (catching up very slowly, last received block was 1100 days ago).


texts: Which Bitcoin thin client that can execute on restricted IoT devices?

texts: I am trying to find a suitable Bitcoin thin client for IoT devices with Linux OSs. IoT devices will act as peers as thin clients, and the selection criteria for the thin client is least CPU, memory and storage requirements. Which Bitcoin thin client protocol would be the best choice for such system?


texts: Bitcoin exchange where you can set your own wallet instead of using one provided by the exchange

texts:
I'm looking for a European based Bitcoin exchange where I can buy bitcoin and have them delivered straight to my private wallet. I basically want to avoid the extra cost of transferring the recently purchased coins from the exchange's to my own private wallet.

I know Coinmama works in such way (you have an input field where you fill the account you want the Bitcoin to be delivered to) but it's quite expensive and only take card payments.

Does anyone knows about such a platform?


texts: Why does Avast and other antivirus' detect gpu miners as viruses?

texts: For example I was downloading the latest cgminer and Avast blocked the download saying it was a virus. Is this true or is it a false positive? I've had other antimalware (I think Malwarebytes) detect cgminer as a virus.


texts:
In the REST API documentation, I didn't see an option to create an account. Obviously then, the code snippet here to create an account has to be front-ended by some other API so that a request to create an account can be catered to. I am not sure why this is so. Is there a HTTP POST REST API to create an account?

Also, normally, to build a REST interface, one starts with identifying all 'resources' whose state changes over time and can be changed in a state-less operation. Then, for every such resource, the CRUD operations are implemented. For example, in Stellar, the resources could be account, anchor, trustlines, transactions, etc.


texts: Verify that WIF corresponds with bip32 extended public key

texts:
I have a bip38 encrypted private key that I lost the password to, and I have its corresponding extended public key. I want to brute force passwords as I have an idea of what it might be, but I need to check if the decrypted private key is valid. This is for a multi sig 2 of 2 wallet. One of the keys is bip39 which I have the mnemonic seed for, the other is the bip38 which I do not.
const decryptedKey = bip38.decrypt(encryptedPrivateKey, "some password generated by brute force");

What do I do with this decrypted private key in order to validate that I used the correct password during decryption? I know I cannot just convert it to bip32 and then check if the xpubs match, but is there a way I can validate this so I know if the password is correct?


texts: How are bitcoins generated during mining?

texts:
I know that when someone is able to find a block and hash that can be attached to the chain, he will be awarded with "newly found bitcoins"

However, isn't mining simply finding the hash? Where do these new bitcoins come from?


texts: Where can I find a list of reliable Bitcoin full nodes?

texts: I already know about this list  but it does not seem to be reliable or even up-to-date. Is there any other place where I can find a better list?


texts:
I am running the docker version for c-lightning 0.7

On a raspberry I need to clone the blockchain, but it needs version 0.17.1

Looking at the docker-compose.yml file I see:

version: "3"
services:
  bitcoind:
    image: nicolasdorier/docker-bitcoin:0.16.3
    container_name: bitcoind
    ...

How can I upgrade to 0.17.1?


texts: How do I reset my TFA token in Coinbase?

texts: I would like to move my Coinbase Two-factor authentication token from one device to another. I cannot find a location on their website to disable TFA once it has been set up, or to move the token to another device. What am I missing?


texts: When a create a wallet, lets say with blockchain, do I have to check my wallet always with blockchain, or can I also check my wallet with different providern of wallets, where I did not established my wallet. Some provider of wallets link directly to blockchain, and some not. Therefore I could a bit confused.


texts: Where can I find the transaction volume?

texts: I want to find the trading volume to do some trend analysis.But I can't find


texts: I was wondering where I could see how many unique addresses currently exist in the blockchain, and especially how many of those have a positive balance. Is that data available somewhere?


texts: What other lightning nodes are there besides Eclair Core for running a full node lightning?

texts:
I realized that in order to receive lightning payments from others, you need to first run a lightning full node. I found this one from Eclair: https://github.com/ACINQ/eclair

Are there other full node lightning implementations like Eclair node that are just as reliable?


texts: I created a wallet with bitcoin core in an offline way without download 350 GB of info, is there any risk for mentioned wallet?

texts:
I created a wallet with bitcoin core (form this link https://bitcoin.org/en/download)
in an offline way without download 350 GB of info of bitcoin core (I just download and install bitcoin core without connecting to the internet and created a wallet)
is there any risk for this wallet by the mentioned method?


texts: How do I determine an optimal or above average fee to gain priority in the network during a transaction?

texts:
I am using the blockchain.info API to send btc from my blockchain wallet to about 3000 addresses. I'm using their send to many API/Service to do this.

My problem is that I need to make sure the send doesn't get stuck or go to limbo. The amounts I'm sending are about 150USD to each of the 3000 addresses.

The API call lets you set a custom fee to pay. What fee should I pay to gain priority in the network and ensure the transaction goes through fast and easy as possible?


texts: What is the different between BitcoinCore and other full node wallet?

texts: As I understand, BitcoinCore is implementation of Bitcoin protocol. And within BitCoinCore is wallet functionality located in wallet.cpp/h. My question is, if I have some other wallet that has complete copy of a blockchain (full node wallet) how it will be different from BitcoinCore? Which parts of the code that other wallet wont have in it?


texts: How does SatoshiDice operate with 0 confirmations?

texts: I understand they use your bet as an input, but what does that mean and how do they do it? Can they use the standard bitcoind as a server against which to run the API from?


texts: Is there an API to get data for multiple blockchains? Most blockchain explorers already offer an API but I'd like to be able to get information for different blockchains through the same API.


texts:
this my php code.
but the result returned is false!
How can i do it?

I want to pay more bitcoin at a time.


texts:
At the moment I'm trying to add flags to my custom Ripple transactions that I submit through JSON RPC. However, when I send my request:

{
   "id":1,
   "method":"sign",
   "params":[
      {
         "secret":"sxxxxxxxxxxxxxxxxxxxxx",
         "tx_json":{
            "Account":"rfESTMcbvbvCBqU1FTvGWiJP8cmUSu4GKg",
            "Amount":"31000000",
            "Destination":"rUD9V5kvnCpwN9HbZQqCwziMv3vtGgswZF",
            "Flags":2.147483648e+09,
            "LastLedgerSequence":7824714,
            "Sequence":63166,
            "TransactionType":"Payment"
         }
      }
   ]
}

I get such responses:

{
   "result":{
      "error":"invalidParams",
      "error_code":27,
      "error_message":"Field 'tx_json.Flags' has bad type.",
      "request":{
         "command":"sign",
         "secret":"sxxxxxxxxxxxxxxxxxxxxx",
         "tx_json":{
            "Account":"rfESTMcbvbvCBqU1FTvGWiJP8cmUSu4GKg",
            "Amount":"31000000",
            "Destination":"rUD9V5kvnCpwN9HbZQqCwziMv3vtGgswZF",
            "Flags":2147483648,
            "LastLedgerSequence":7824714,
            "Sequence":63166,
            "TransactionType":"Payment"
         }
      },
      "status":"error"
   }
}

Indicating that Flags is a bad type. Is it due to Flags in my request being sent in a float format (even though the response properly interprets it), or is it something else?


texts: Bitcoin CreateMultiSig in PHP always returning FALSE

texts:
I am using bitcoind 0.8.5 with JSON to try and implement multisignature addresses locally on my server.
But when I try and create one from my code, it keeps returning FALSE.

$create_multisig = $bitcoin->createmultisig (2, '[ "02e280809f7a7e0fabb7404d68ef89b66e9cf63ecfffd37ef2c78d06c51d2247f6", "02f22be70ae35432c82e7b05846eeab1fec5b09ebe523bb98d6d6bbf1ff29d96c3"]');

var_dump($create_multisig);

I have tried variations of the quotes, I tried putting the public keys into variables, etc.. Can somebody tell me what I am doing wrong here? It won't create the multisignature address.

EDIT:

$pubkey_str = "";

$pubkey_str .= "\"02e280809f7a7e0fabb7404d68ef89b66e9cf63ecfffd37ef2c78d06c51d2247f6\",";

$pubkey_str .= "\"02f22be70ae35432c82e7b05846eeab1fec5b09ebe523bb98d6d6bbf1ff29d96c3\",";

$pubkey_str = substr($pubkey_str, 0, (strlen($pubkey_str)-1));

$pubkey_input = "'[$pubkey_str]'";

var_dump($pubkey_input);

$create_multisig = $bitcoin->addmultisigaddress (2, $pubkey_input);

var_dump($create_multisig);

And the resulting output

string(141) "'["02e280809f7a7e0fabb7404d68ef89b66e9cf63ecfffd37ef2c78d06c51d2247f6","02f22be70ae35432c82e7b05846eeab1fec5b09ebe523bb98d6d6bbf1ff29d96c3"]'"

bool(false)


texts: Review of "equitable" proof-of-work systems

texts:
One major criticism against usual SHA-based proof-of-work systems in main cryptocurrencies (except the ecological concerns) is the fact that, years after years, it's more and more dominated by a minority having developped specific hardware (CPU -> GPU -> FPGA -> ASIC), making it impossible for the average user with a laptop to solve a single proof-of-work problem in a lifetime.

What are nowadays' solutions to this problem?

I heard about Equihash, a memory-hard proof-of-work scheme, linked to the Generalized Birthday problem
are there other (working) attempts? what are they based on?


texts: What happens to the overall value of Bitcoin when a huge amount of coin is lost?

texts:
My question is 2 part:
1. How does somebody know that a set of bitcoins is lost? Merely declaring that I've lost my private key and hence bitcoin makes the coins lost?
2. What impact(and why?) would be on the price of bitcoin if I lose a huge amount of bitcoin today? Say 1 billion?


texts: Will the block reward continue halving beyond 1 satoshi if bitcoin precision goes beyond 8 decimal places?

texts: If bitcoin precision is increased beyond 8 decimals, will the block reward continue halving forever instead of eventually going from 1 satoshi to 0 satoshi?


texts: is there a way to find the wallet that my address goes to ?//

texts:
I two years ago had a cash out from a casino and i went to myapp store and downloaded what I was coinbase wallet which it was the cold storage wallet that really has no ties beside a wallet connect to coinbase I later figured out. I was brand new to btc and knew nothing about 12 words that i was to immediately write down. I did make an account at wallet.coinbase.com/kristymoser2018 is what I thought was it. I later on saw the money come into my wallet from the casino and at that point it shut my phone down and erased eveything.. when I came back online I found out that I no longer had an account at wallet under the credentials I thought were right
I guess what I am asking is there any other way to figure out where the wallet is cause it still has the money in it and is there any program I can use that may help me figure out where it is and if my private key is in cloud storage?
I have tried to recreate the same scenarfio and have never been ABLE TO understand this


texts: Is the scriptPubKey of a previously unseen transaction in an incoming block checked? If so, where?

texts:
Today I was reading bitcoind src, and trying to find out where scriptPubKey is executed when a node received new block with transaction, for example transaction from new block may not be exist in mempool.

Find function that execute script:

https://github.com/bitcoin/bitcoin/search?utf8=%E2%9C%93&q=EvalScript

src/script/interpreter.cpp   in this file source code of EvalScript function

Used only in this 2 files:

src/policy/policy.cpp
src/script/sign.cpp

Review sign.cpp

Evalscript -> CombineSignatures -> /src/bitcoin-tx.cpp: MutateTxSign -> MutateTx -> CommandLineRawTx -> main

This functions used when we create new transactions
Review   policy.cpp

Evalscript -> AreInputsStandard -> /src/main.cpp: AcceptToMemoryPool

AcceptToMemoryPool

src/main.cpp   later
src/wallet/wallet.cpp   -> CommitTransaction    -  this is create own transaction functional
src/rpcrawtransaction.cpp -> sendrawtrnsaction - rpc function send rawtx
src/txmempool.cpp  -> no calls only comments

Last one is  src/main.cpp

AcceptToMemoryPool -> ProcessMessage  on message  "tx" , new single tx to pool received
  AcceptToMemoryPool -> DisconnectTip

DisconnectTip -> InvalidateBlock    invaludate block and send all transaction back to pool with all verifications and script eval

DisconnectTip -> ActivateBestChainStep :

  // Disconnect active blocks which are no longer in the best chain.
bool fBlocksDisconnected = false;
while (chainActive.Tip() && chainActive.Tip() != pindexFork) {
    if (!DisconnectTip(state))
        return false;
    fBlocksDisconnected = true;
}

If we have orphan take out transactions from orphan to pool with all verifications

NO more other links found

From this I can conclude that in case node with bitcoind received new block
with transactions that not in mempool we add this tx to blockchain without scriptPubKey executing.

Consequently if same "honest" miner include tx with invalid script, at example incorrect signature that spent same one coins, all bitcoind nodes add it to blockchain without eval script and not detect this

It is not possible to be true!  Where is my error?


texts: Nano Ledger s shows BTC when sending BCH

texts:
I find this weird..

I have the nano ledger S
I open the Bitcoin app on the Nano Ledger S (so not the "Bitcoin Cash" app)
I open the Ledger wallet Bitcoin program on my computer
the propram asks me what bitcoin chain I want to use, I choose "Bitcoin Cash"
the program asks me to select my wallet (Main / Split), I choose "Split"
I now see my BCH balance
I click on Send
a popup appears which let's me select an adress and an amount of BCH to send
when I click Send, on the display of my Nano Ledger S I see "Amount 0.025 BTC"

Is this a bug in the nano ledger s?
Is my useage of Bitcoin cash without the "bitcoin cash" app wrong?

What am I sending.. BTC or BCH ???


texts: I know that there is a github public repo, but I'm not seeing a license file. The Android client is GPL3. Anyone know about licensing for the main site's code?


texts:
Currently there is a wave of articles claiming the Lightning Network is shrinking. If you look at official statistics, like on p2sh.info, this seems true.

I was told that some of it might be an effect of more and more Lightning nodes using Tor. Imho it is insane to run a LN node at home without Tor, so this might be a good explanation.

But there are some questions left ...

Why do tor nodes don't show up in the statistics? I failed to find a good answer to this.
If tor nodes don't show up in statistics - can non tor nodes route payments over them? Someone mentioned you need bridge nodes for it. Why? And what do bridge nodes do? Are they publicly known, do they have a special setup?

Thanks everybody. Looking forward for your answers.


texts: Do electrum fully support Hierarchical Deterministic Wallets?

texts:
I'm curious if electrum fully support Hierarchical Deterministic Wallets (BIP32). I have seen in source code that some part of implementation is done. But there are also as I think some electrum specific algorithms.

So when I create new wallet in electrum will it be BIP32 compatible?


texts: Improving transaction handling in shops: Is sending "prepared/approved/signed" transactions to a shop owner possible?

texts:
I am quite new to the idea of bitcoin but I have understood one of the main problems:

Sending money with Bitcoin takes approximately 10 minutes, by design. For use at the counter in a shop this is very much too slow, also the amount of transactions in 10 minutes (about 2000) is not suitable for planet-wide in-shop use.

My idea. Would this be feasible?

1. Create a signed, pre-approved transaction

So, as the customer at the counter, what if I could prepare a transaction of the required amount, from my wallet-app on the phone, somehow approve it/sign it/authenticate it, but not send it to the bitcoin network yet.

2. Hand out the transaction

Instead, I send the transaction to the shop owner, via bluetooth, QR-Code, NFC whatever. The shop owner takes this transaction, validates it against the current amount on the contained address/es. The idea is that this should guarantee to the shop owner that he or she will actually be able to retrieve the amount on a later time.

3. Collection of the transaction's value

At the end of the day, the shop owner takes all collected transactions, blends them into an new single one (to save bytes) and now sends this transaction to the bitcoin network. This single transaction should be cheap and more efficient compared to single transactions from all day's clients.

Is such transaction bundeling feasible? Or already in place somehow?


texts: Where can the Coinbase referral link be found?

texts: I got the coinbase bonus signing up in an Italian site. I'm wondering if I can do the same promoting Coinbase to someone I know. I heard I can receive the bonus and they can get the bonus too. It sounds pretty good. But how can I have my link to give to my friends?


texts: How do I make multisig transactions using hardware wallets truly trust minimized?

texts: I am experimenting with multisig transactions using hardware wallets. Is there some general guidance on what I should and shouldn't do to make the process truly trust minimized?


texts: Import bitcoin core generated multisig public address to electrum multisig wallet for watch(2/3) and sign(1/3)

texts:
I have 3 Machines, and I want to create (2/3)multisig wallet. Sign with other machines safely.

I have;
xpub1, xpub2, xpub3
xpriv1, xpriv2, xpriv3

Machine-1: In electrum:
New/restore->Multisig Wallet->Use a master key->2/3->Cosigner1: xpriv1, cosigner2: xpub2, cosigner3: xpub3,
for watching (2/3)multisig wallet and partially sign(1/3).

How to import machine-2 generated public addresses to Machine-1 for watch(2/3) and partially sign(1/3)?

The electrum wallet database is look like json formatted. Am I need manually enter there(json["addresses"->"receiving"]) or any other way to import a corresponded addresses


texts: Given a set of transactions, and other parameters required to create a block, how many candidate blocks are possible per second? How many of them are valid?


texts:
I have a question that I have been wanting to ask.

Let's say somebody got lucky having some bitcoins years ago and now it is worth $2 millions or more obscene numbers.

How do you cash that into USD?


texts: What is the most important parts of the video card in Bitcoin mining?

texts: For example, obviously it doesn't matter what type of adapters a video card offers when it comes to Bitcoin mining? Is the GPU speed or the amount of RAM the most important part in terms of megahashes per second?


texts: What is the difference between Exchange & Offer in the Monetary System for NXT / Ardor Platform?

texts:
When creating a new monetary system coin on the NXT/Ardor platform. What is the difference from Exchange and Offer?

What does the following mean in the Exchange Window?

Minimum Rate
Effective Rate

What do the following mean in the Offer window?

Buy units (Initial)
Buy units (Limit)
Buy Rate per unit
Sell units (Initial)
Sell units (Limit)
Sell Rate per unit


texts: How do you exchange bitcoin for real money?

texts:
I have been wondering this question for a while now, so I am using NiceHash and my bitcoin address should be going to my bitcoin wallet but I want to know are there any legit sites that give you real money (AUD) in exchange for bitcoin since there is a lot of scam sites that don't actually give you money instead take your bitcoin, so if anyone knows a site that is NOT a scam and is legit for exchanging.

(NOTE: I would like to exchange to something like a credit card or PayPal)


texts: As transactions are getting increasingly slow and expensive, how can Bitcoin compete against newer better currencies?

texts:
If I understand correctly, every transaction needs new blocks to be created (mined), which is becoming increasingly hard, slow and expensive. Not mentioning the massive energy consumption, already raising environmental issues.

On the other hand, any new better currency would offer exactly the same service, except faster and cheaper.

Then how can Bitcoin compete against it, in long term?


texts: Given a set of consecutive HD private keys, can you generate the next private key without knowing the master private key?

texts:
I'm wondering whether disclosing a consecutive number of HD private keys derived from a given master key would allow someone to compute what the next private key in the sequence would be before it is revealed?

So given HD-derived private keys n, n+1, n+2, ..., n+m, can one figure out what is the private key n+m+1?


texts: What is the correct way for an Etsy shop owner to sell their items using bitcoin? Does Etsy even allow it? Will they freeze my account?


texts: How do I accept bitcoin payments at a real world store?

texts:
From what I understand, there are some requirements for using bitcoins at a physical store:

Both the store owner and the client must have Internet access
The client must have a cellphone or a laptop to issue the payment
The seller must have a way to confirm that the coins were sent.

The biggest problem is the confirmation. Since it is risky to accept transactions with 0 confirmations, it will take around 10 minutes before a single confirmation occurs and allows the real world transaction to be completed.  The more confirmations that occur, the less risky it is.

That said, what is the best way for a store owner to securely accept bitcoins?


texts: full node bitcoin, l have a 32 bit pc,can I run a node with an SSD?

texts:
full node bitcoin
I have a 32-bit Windows 7 PC, can I run a node with an SSD?


texts: Is mining essentially just a way to randomly select the next winning miner?

texts:
I know it's not really a completely random selection because some miners have more hashing power so their odds are increased.

But let's assume for a moment that all miners are about equal in hashing power.

The way I see it, whoever solves the current block is (almost) completely unpredictable and thus mining is just a way to randomly select a winning miner.

I understand about decentralizing and the need for a decentralized way of selecting this winner without trusting a higher authority for this random selection.

Let's imagine for a moment that there was this "god-like" machine somewhere, completely trustworthy and incorruptible, impossible to bring down or shutdown and completely fair.
Let's say this machine would select the winning miner that would create and sign the next block and get the reward and fees.

Would there still be a need for mining in that case?


texts: When people talk about possible changes to how Bitcoin works they sometimes say a particular change can be implemented as a soft fork. What does that mean? How does this compare to a hard fork?


texts: How could I make my own API to query the blockchain

texts:
I'm looking to access transaction history for some specific coins directly from the blockchain. The main reason is that most of current API are not free or don't provide information for the coins I want.
I'm interested in the Bitcoin block chain but in the BSC as well. And for both I'm having issues understanding if I need to run a node myself in order to retrieve transaction or if some "public" node allow people to query them for information.
On top of that, I can't find any information related to what would be the way to request information from the node, like using REST or something.
Same goes in the case I want to run the node myself, not much information on what the exposed interface would be etc...
Doesn't anyone already tried to build his own API on a chain ?


texts: Transfer wallet from Armory to Bitcoin-Qt

texts: I have a wallet with Armory which I'm not happy with and I'd like to manage my wallet with Bitcoin Core. Is there way to "transfer" the wallet between the clients? I'm currently running OSX 10.11.1.


texts: Multibit wallet says my balance is unconfirmed, even though I've not sent a transaction in months

texts:
I haven't sent any transactions for months, but my Multibit HD wallet says my entire balance is unconfirmed. I've used Wallet > Repair Wallet several times. I've close it and opened it. There is only about 1% of the balance confirmed, and it changes each time I repair the wallet.

I see that very old transactions from 2015 are showing as unconfirmed (but they are).

I tried to install version 0.1.1 and that restored the balance, but the highest fee possible is 10,000 satoshis/KB and the current fees are 400,000 satoshis/KB so I cannot send any transactions with it.

Multibit 0.5.1


texts: HD Wallet with BIP44 - workaround of deriving public keys knowing only a xpub

texts:
My goal: I don't want to require a private key to hierarchically derive new addresses.
Sure, I can create a batch of addresses, given a private key, at first. But once I have surpassed that batch I'll require the private key again to generate more addresses.
I want to derive addresses knowing only a public key. I know this is possible with BIP39, but understand there can be security concerns involved with this, ie. if an attacker stumbles upon an xpub and xprv they can derive as many addresses as they want and be able to sign transactions using them.
Attempting to derive from a HD public key with BIP44 results in a exception stating a hardened path requires a HD private key. However, I have found a workaround, but I fear it is cheating and might sacrifice the benefits of path hardening in BIP44.
Here's an example:
// It starts off with a `userCode` that represents a BIP39 Mnemonic code.
const codeUser = new Mnemonic('select scout crash enforce riot rival spring whale hollow radar rule sentence')

// Convert to HD private key...
const hdUserPrivateKey = codeUser.toHDPrivateKey()

console.log(hdUserPrivateKey.hdPublicKey.toString())
// Gives: `xpub661MyMwAqRbcEngoXGfFNahZ5FzSDGqY8pWKTqo6vtXxK15otDNLXJmbeHV7DUjvPc7CAFhYp6hzBiTanr8rgoHPHf6NSgZAyejK5bk8MiW`
// But we won't use it...

// Instead, I can then derive a BIP44 without the `change`, `address_index` segments from `hdUserPrivateKey`...
console.log(hdUserPrivateKey.deriveChild(`m/44'/0'/0'`).hdPublicKey.toString())
// Gives: `xpub6CsrEMgU2f8uEGfFMvsPjKB9ekHuZiesLqSHLwCJuNFkP2uJGm7WjTo2gy95S4KEBc4etdodNQXAvn5Vsf4kupJQ1DKR4DMfcHwKdhQ3k6h`
// This is the xpub I can use to derive addresses without requiring the initial private key.

// So knowing this, I can build a HD public key given that xpub...
const hdPublicKey = Mnemonic.bitcore.HDPublicKey('xpub6CsrEMgU2f8uEGfFMvsPjKB9ekHuZiesLqSHLwCJuNFkP2uJGm7WjTo2gy95S4KEBc4etdodNQXAvn5Vsf4kupJQ1DKR4DMfcHwKdhQ3k6h')

const derivative = 0

// We can derive from it this path, but what is this path defined as? Are we back in BIP39 territory now?
const publicKey = hdPublicKey.deriveChild(`m/0/${derivative}`).publicKey

const address = new Mnemonic.bitcore.Address(publicKey)

console.log(address.toString()) // 12XyHwtmoq5w4VQ5mzcu6BQzdLqCLxUv5e

...and of course, I can increment the derivative as many times as I wish to create new addresses from the public key.
Whenever I wish to sign a transaction...
const codeUser = new Mnemonic('select scout crash enforce riot rival spring whale hollow radar rule sentence')
const hdUserPrivateKey = codeUser.toHDPrivateKey()
const derivative = 0

// BIP 44 derivation path for private key...
const privateKey = hdUserPrivateKey.deriveChild(`m/44'/0'/0'/0/${derivative}`).privateKey

Is this approach valid or am I dodging BIP44 standards?


texts:
I have a small amount of money in Bread which I got a year ago. I see the money when I log into Bread.

Now I have installed Blockchain. As far as I understand, my bitcoin cents are somewhere in the big block chain and are not bound to a specific app.

How do I connect the Blockchain app to my existing wallet which I see in Bread? Is it even possible?


texts: Tracking a specific Bitcoin to make it represent something else, which could then be traded without trust

texts:
Imagine if one could follow the movements of a specific Bitcoin (or fraction thereof) in the block chain. Then that would mean that I could make that specific Bitcoin represent something else, which people could then freely trade just as other Bitcoins.

For example, I could mark 100 Bitcoins and define that these represent 100% of the equity of my company. I could then put them up for sale for something I felt was reasonable given the value of my company + the value of the Bitcoins themselves. People would know that they could freely and almost anonymously resell the equity of my company without trusting anything else than what the Bitcoins represented. No need for lawyers, no need for contracts regarding selling and buying of equity, no need to meet at all to do the exchange. My company could also pay the owners dividend, because I would always know which wallets owned the special Bitcoints.

My question is therefore: Is this currently possible, given all the nice scripting features in Bitcoin. And if not, then are there currently any plans to modify Bitcoins to enable such a feature?

Needless to say, I believe that there is a huge potential in this, because one could basically mark the owner of billions of things (virtual or not) by assigning something like 0.00000001 Bitcoins to each thing. This way one would always know who was the true owner of that specific thing.


texts: Is there a way to stop someone from giving me bitcoins to an address that I own

texts:
I know I should be thankful for free money. But sometimes it might come from an undesirable source. Is there a way of preventing unwanted credits?

I suppose I could look at the block chain and pay it straight back...


texts:
I've checked with my electricity provider, and I have been told the following:

Unit Rate (per kWh) = 0.1399USD
Standard Charge (per day) = 0.1645USD

While mining, if my computer is using 100w (which is a reading my electric monitor is giving me).

How do I work out how much this miner is costing me per hour in terms of electricity usage?


texts:
I am doing a PhD in economics and I am currently working on bitcoin. I am trying to understand how senders decide how much fee they include in transactions. Since in a couple decades miners will be rewarded mostly with fees, I think this is an important question. It would be great if I could have data on all the unconfirmed transactions. This would enable me to see, for each transaction, how much fee it includes given the available information, that is how many transactions are already in the mempool and how much fee do those include. Of course I can see those transactions on blockchain.info, for instance, but is there a way I could save them on a file?

Thanks to a very clear video on you tube I can receive the transactions on my browser's console log using blockchain.info's websocket but how can I print, let's say a couple hundred thousands of them, in a textfile?

Could anyone help me? Thank you very much!


texts: Looking for bitcoin and other cryptocurrency intraday prices

texts: I've come across some datasets that include every trade made but I'm just looking for the price of bitcoin at a high frequency. Every minute would be ideal.


texts: Can I see which bitcoin node sent cli command

texts: If I am running a bitcoin node, and for example I run a sendtoaddress cli command, is it easy for anybody to see what IP that command came from initially


texts: Aren't the Bitcoin receive addresses the public keys?

texts:
These public keys are easy enough for anyone to obtain from a Bitcoin address.

Source: https://youtu.be/h7baD335hCw?t=598
... What? Aren't the receive addresses in fact the "public keys"?


texts: How many unit test should be run after building a node?

texts:
After building Bitcoin ABC and running make check, I get this:

# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

Is that correct?


texts:
Need Help,
Transaction invalid: some outputs that it attempts to spend have been already spent or are no longer valid.
This is the message appearing on the Summary report from block chain. It was process last January 08,2021 and the result until right now is Invalid and no progress at all. How to fix the issue.
Thanks in advance...


texts: What goes in the tx hash preimage when signing with 0x83 (SINGLE|ANYONECANPAY)?

texts:
I have script to create a P2WPKH to P2WPKH transaction (1 input, 1 output) and sign it with the sighash type 0x01 SIGHASH_ALL.

Which fields would I need to change in the tx digest preimage to turn the signature into one with a sighash type of 0x83 (SINGLE|ANYONECANPAY)? I'm having trouble understanding the documentation in bip_143.

For reference, the tx digest preimage:

  Double SHA256 of the serialization of:
       1. nVersion of the transaction (4-byte little endian)
       2. hashPrevouts (32-byte hash)
       3. hashSequence (32-byte hash)
       4. outpoint (32-byte hash + 4-byte little endian)
       5. scriptCode of the input (serialized as scripts inside CTxOuts)
       6. value of the output spent by this input (8-byte little endian)
       7. nSequence of the input (4-byte little endian)
       8. hashOutputs (32-byte hash)
       9. nLocktime of the transaction (4-byte little endian)
      10. sighash type of the signature (4-byte little endian)


texts: Prioritizing BTC transactions using Bitcore APIs

texts:
I’m planning to give a feature in my application where a user can select type of priority (Fast, Average or Slow) for their transactions.

How can I get fee required for each type? Does Bitcore API provides any feature that handles priority of transactions?


texts: What causes seemingly normal transactions to not be confirmed?

texts:
I seem to be having an issue with transactions lately. Here is the most recent one. I paid 0.0004 BTC in fees, and I see there are quite a few inputs, but this seems like a normal transaction and should clear. However, I submitted it through a Multibit wallet about 15 hours ago and it has still not been included in a single block. Two other transactions I attempted recently have also been rejected, not even showing up in blockchain.info. What is the problem?

What, generically, is going wrong here and how can it be prevented?


texts: How to extract all the bitcoin addresses with bitcoin-cli?

texts:
I am trying to get all existing addresses on the bitcoin blockchain with bitcoin-cli.
It seems that I can get addresses from vout that are of type "pubkeyhash".
If the type of vout is "pubkey" there are no addresses.
pubkeyhash type:
  "vout": [
    {
      "value": 0.00000001,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 b04e3fb6f6c96ba23233c809e42d8e6a0e0e31ca OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914b04e3fb6f6c96ba23233c809e42d8e6a0e0e31ca88ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "1H5DfbDtCnKUdke9xH9svwwxqga41Z5xbz"
        ]
      }
    }

pubkey type:
  "vout": [
    {
      "value": 50.63517500,
      "n": 0,
      "scriptPubKey": {
        "asm": "04b0bd634234abbb1ba1e986e884185c61cf43e001f9137f23c2c409273eb16e6537a576782eba668a7ef8bd3b3cfb1edb7117ab65129b8a2e681f3c1e0908ef7b OP_CHECKSIG",
        "hex": "4104b0bd634234abbb1ba1e986e884185c61cf43e001f9137f23c2c409273eb16e6537a576782eba668a7ef8bd3b3cfb1edb7117ab65129b8a2e681f3c1e0908ef7bac",
        "type": "pubkey"
      }
    }

Is there an easy way to get ALL the addresses on the blockchain?


texts: What are fee_method and fee_level in Electrum's getfeerate RPC call?

texts:
I couldn't find any documentation on this.
I found that the options for fee_method are eta, static and mempool by reading the source code. But it's still not clear to me how fee_level relates to the fee_method, does it have something to do with configuration? If that's the case, the configuration isn't documented either. What is to be set? How does it work?


texts: Is a loss of trust in USD necessary for the success and mainstream adoption of Bitcoin?

texts:
Considering that Bitcoin will succeed if it gets to become a widely adopted store of value and means of payment, current fiat currencies' role would be taken by BTC and the value of those fiat currencies will be much lower than today's, if BTC succeeded..

And if that USD crises ends up happening, wouldn't a collapse of global economy probably come next?

Am I missing something? I don't think I like my conclusions as much as I'd like BTC to actually success...


texts: Which exchange rate should I use for calculating Bitcoin exchange rates?

texts: I'm using the Blockchain exchange rate API to add a Bitcoin exchange rate calculating function to one of my apps.  I'm not sure which value I should be using.  For each currency type (USD, EUR, etc.) four different rates are returned: "last," "buy," "sell," and "24h."


texts: MtGox API Overview and explanation of steps required to create connection

texts:
I am trying to write a simple app that uses the Mt Gox. (bitcoin exchange) API.

It's very simple to use the price API it's just a http request that returns a .JSON string.

However now I want to do more with my app, I was thinking it would be good to be able to log into the users mtgox account and show their balance of bitcoin.

I have an API key (you can generate one on their site) but I'm finding it really hard to understand whats required to generate a connection and pull the balance.

Is there anyone who might be able to point me in the right direction?

I have researched quite a bit and turned up very little information - API Overview: https://bitbucket.org/nitrous/mtgox-api/overview

In the above link they have some python code, but i'm finding it difficult to translate into Objective C.

So if anyone can:

A. Give me a highlevel overview of the steps required to log in and get a bitcoin balance using the API.

B. Give me some pointers on how to turn their Python example into Objective C I would really appreciate it.

I understand to use the API I need to use this URL to Get my current balance    mtgox.com/api/0/getFunds.php -- however first I need to get a "nonce" parameter to the post data (which must be an ever-increasing interger, for example with PHP in 64bits: (int)(microtime(true)*1000000)) and two HTTP headers: Rest-Key (your key) nad Rest-Sign (a signature generated by doing a sha512-hmac on the POST data with the secret as key, encoded in base64).

I found this documentation: bitbucket.org/nitrous/mtgox-api/overview -- still not clear however, how to code in Objective C thanks


texts:
Okay, I cloned a Dash source (learning)

Compiles fine on Linux/Win, I have peers and it was mining blocks fine during the initial launch. 200 Blocks mined, all peers sync'd up fine, sent Tx between one another. Everything works perfect.

I killed mining on it as there was no need for me to keep mining it (just learning) but I have found that since then, It will not sync, at all. Is constantly showing "catching up" What I have tried:

Rescan
Reindex
Tried a different machine
Let it sit for hours.

Nothing moves sync wise and it no longer will load any blocks after reindex (stays at zero). I figured it was related to no hashrate but I can't mine anything on it since the wallet isn't synced (i'm assuming). The error i get trying to mine is

json_rpc_call failed w/cpuminer

setgenerate will only show 0 hash