texts: Could CHECKSIGADD be used on new ECDSA multisignatures instead of CHECKMULTISIG?

texts:
The proposed Taproot soft fork (BIP 342) defines the new opcode OP_CHECKSIGADD to verify Schnorr multisignatures whilst OP_CHECKMULTISIG (and OP_CHECKMULTISIGVERIFY) are disabled for Taproot spends (SegWit version 1). Could we use the OP_CHECKSIGADD opcode for verifying new SegWit version 0 ECDSA multisignatures? Obviously you don't get the same batch verification benefits if the individual signatures are ECDSA but it would still be more efficient to use the counter system of CHECKSIGADD?
For an explanation of how the opcode CHECKSIGADD works see this presentation from James Chiang. Or see Tapscript BIP 342.
"The opcode 186 (0xba) is named as OP_CHECKSIGADD"
"OP_CHECKSIGADD is functionally equivalent to OP_ROT OP_SWAP OP_CHECKSIG OP_ADD"


texts: To create a blockchain using MySQL database

texts:
I want to create local blockchain for my application. New blocks should be created while giving reference to previous block. But I am not getting exactly how will I do it in MySQL? I got some idea from http://blog.theodorejb.me/sql-linked-lists/
. Now I want to retrieve top block every time I create a new block. But Is it possible in MySQL to retrieve Newly inserted row's primary key? Or Is is possible to implement stack(with reference) in MySQL ? So that I can retrieve top block.


texts: Trading bot - what is the maximum load an exchange server can take?

texts:
I did create my own altcoins trading bot in Python3. The bot trades on the minute market and is multi-threaded. Which makes that a lot of requests are send to the server of the exchange.

I'm (was) using Bittrex as exchange. Although it did works, the bot required some more fine-tuning. I was in that process when Bittrex blocked my account, without explanation. I guess I was demanding a bit too much from the servers, as the threads addressed as much as 10 requests per seconds.

Now the question is: in order to avoid being blocked, what is an acceptable request rate for such a server ?

TIA

Christophe


texts:
I continue to receive text messages on my mobile advising I've got 1 bitcoin in my account, to go to: http:// (etc) to confirm my account.  However, when I follow the link, there's nothing relevant
Can you help please?


texts: I've been mining Monero using my sgminer. I pointed it at https://moneropool.com/, but i when i visit the site to see my stats i see that my address is not found. Is my miner not working?


texts:
I noticed this article and was thinking about the possibilities of the U.S. Post Office seriously considering Bitcoin.

http://www.bloomberg.com/news/2014-02-07/could-bitcoin-be-answer-for-profit-starved-post-office-.html

Too Soon?   Too many people don't understand crytocurrencies?


texts: Using btc-e in the United States and depositing/withdrawing USD into btc-e?

texts:
I am located in the United States, and was wondering about the complications of using btc-e to make trades in the USA, such as the complications in depositing and withdrawing money in the form of USD.

When I try to deposit USD into btc-e, almost all the options there to deposit money are not supported for US residents such as Perfect Money, OKpay, EgoPay. The other options are Interkassa and Payeer but these sites are in Russian and hard to navigate. There is one more option of wire transfer, but this requires a $2000 minimum. Does anyone have any advice in relation to depositing USD?

Even if we get over the hurdle of depositing USD funds by bypassing it and buying a bitcoin from coinbase and transfering it over to btc-e, and then buying other currencies such as ltc and nmc, eventually when I sell these for USD on btc-e, am I going to have trouble taking the USD out of btc-e? I ask this because it was so hard putting USD in, that I am wondering if it is the same way taking it out?

If anyone in the USA has been using btc-e lately, please advise me on the difficulty or liklihood of depositing USD but more importantly withdrawing USD from btc-e, and how? Thank you.

I guess a second question would be if BTC-e is hard to use in the USA, is there any other exchange in the USA for trading alternative currencies such as LTC, NMC, etc...?


texts: I was wondering if there is a coin that can be mined in a browser? So I can remove the dreaded ads from my website.


texts: How long would it take a large computer to crack a private key?

texts: I am doing a presentation on Bitcoins and I was looking for some calculations to make people feel safe about the private key encryption.  Please first answer, how long in bytes the private key is, then how many combinations of numbers it will contain, and then what is the fastest computer or network of supercomputers and how long it would take to crack a private key using that computer.  I think the result would be very educational based on my own calculations.  Thank you.


texts: How is data in a blockchain stored? Structure of block and blockchain

texts:
I'm trying to build a blockchain-based application and I have a problem with understanding some crucial issues.
What exactly is a block? I mean, I've seen application where blocks were just String structures and a blockchain was an ArrayList of these String structures. But my question is, does it work like that in real blockchains? Are blockchains just ArrayLists or maybe they are stored in some files that are distributed among a P2P network?


texts: Importaddress taking a long time to run / does not work

texts:
When I try to run importaddress using the core client it takes a long time to execute, over 10 minutes, even though I have supplied a "false" argument for rescanning. For example:

bitcoin-cli importaddress "32jdC23ABv86M2ptiqMzFzCaufBtE2NCdN" false

When I run this, it takes so long to compute that it times out with "unable to connect to server error". If it is not rescanning, what is it doing? Why is it taking so long just to add an address to the wallet?

(note that adding a label field makes no difference, it still hangs)


texts: Verify Mycelium still has private key for spent address

texts:
I just realized that when I sent BTC from Mycelium, it split the value from a source address into two target addresses, but the BCH of course stayed at the original address. I'm concerned that I can't verify that the private keys Mycelium tracks cover the spent address. If I export my Mycelium keys to a wallet that supports BCH, will it still be able to access the BCH that was at the spent address?
The spent address (public key) is 1FfbdfD6bfwy1HXLTznGnUVsBTxZGMXDod and I can see Mycelium knows about the unspent output address that it still has, but I can't see what addresses it's private keys cover.


texts: How can I get the list of all bitcoin transactions?

texts: I am currently thinking of doing a research project on Bitcoins. I want to download the list of all transactions of bitcoins. I was wondering what are the ways to do this? I believe I can scrape, but is there a better and faster way to do this?


texts:
I've seen SPV client mentioned in several places.
What exactly is a SPV client? How is it different from a standard client?


texts: Tracking transactions on different wallets. Coinbase

texts:
How to track each transaction to each wallet that creating for users in website? when i am trying to get data from all transactions i am getting information that includes only global coinbase account id and nothing about that this transaction was to user wallet
  id: 'id from',
  type: 'send',
  status: 'completed',
  amount: { amount: '0.00100000', currency: 'BTC' },
  description: null,
  created_at: '2021-03-25T21:46:10Z',
  updated_at: '2021-03-25T21:46:10Z',
  resource: 'transaction',
  resource_path: '/v2/accounts/globalAccountId/transactions/idFrom',
  instant_exchange: false,
  network: {
    status: 'confirmed',
    status_description: null,
    hash: 'hash',
    transaction_url: 'https://blockchain.info/tx/hash'
  },


texts: Discussion community for rapid automated trading

texts: Are there any discussion communities specifically focused on rapid and automated bitcoin trading and speculation? I'm talking about analysis of algorithms for making trades every few seconds in response to market fluctuations.


texts: What happens if the commitment tx fee is too low?

texts:
How often are commitment tx fees negotiated?
Is it every time a payment is made and a new commitment transaction is formed?
What about if there are no payments but both nodes see that the on chain tx fees are rising, do they renegotiate and update their previous commitment txs?
If Bob goes offline and never returns, but the latest commitment tx is very old and the tx fee is too small to be included in a block, is there anything Alice can do to force close the channel? (anything other than getting directly involved with mining).
I believe "Child Pays for Parent" wouldn't work to help a force-close situation because the local output is encumbered by a to_self_delay relative to the time of it being mined, so the same miner couldn't include the "Child" in the same block. Is that correct?


texts: What does the -server option do in bitcoin node? https://en.bitcoin.it/wiki/Running_Bitcoin says 'Accept command line and JSON-RPC commands'. However I can't see any difference whatsoever. In both cases I'm able to curl my request as well as use the cli.


texts: Bitcoin transaction 0/3 confirmation. How do i check on this?

texts: Bitcoin transaction received Nov. 10 and is still 0/3 confirmation.  How do i check on this?


texts: How many different destinations can a single transaction have?

texts:
I am building a web-app that needs to send money to different customer's addresses. I would like to minimize transaction costs and avoid unnecesary traffic, therefore I would like to pay all of them at the same time. How many different destinations can one single transaction have?

Cheers!


texts:
Good Day. Please i have an Account with BlockChain but i notice my account has a withdrawal of all my BTC which was not done by me. It has Replace-By-Fee

What might have happened?
How can i get my Money Back?

Sent BTC
May 21 2020 @ 2:22 AM
Replace-By-Fee
To: bc1q52vem2cnzps34reymhw0v07wgzme8gq92dzc5p
From: My Bitcoin Wallet
$3,461.91
0.38223108 BTC
Description
Add a description
Value When Sent
$3,645.37
Sent From
159qFcZvv46Vz861PFxUNLPzjpTZw2oiPj
17BoVBrrkZ13DWNEBdew8QL3CCq6mv3722
1PnBQwZhiMMtb2XptpTBzBFa658iWm4gzd
1ahi6h2WMaGCpbrs2d7cr2o9Fo1m2Mu4J
1LcXKTF7TwNBw9jH4pTMHJRTMWGxo55syD
1CkJkCBVJt11Cj41SY9SQ7hu8318tcc19s
Received By
bc1q52vem2cnzps34reymhw0v07wgzme8gq92dzc5p
Status
Transaction Confirmed
Transaction Fee
0.00113524 BTC
(
$10.28


texts:
How I feel this.

Every transaction, 1 address -> 1 address, take a 0.0000 0001 BTC.

Attacker try to flood network with transactions. Presuppose, he have 1 BTC. Flood could looks like 1M of addresses. 1 000 000 * Fee( 0.0000 0001 ) = 0.01 BTC. Attacker could make 100 attacks with 1M addresses, thereafter he out of money.

Will network of bitcoin overloaded ? What a math behind current Fee?


texts: Problem In Creating Genesis Block Twister-Core using Ubuntu and (Qt Creator IDE)

texts:
I am trying to create a genesis block in twister-core using Ubuntu and IDE Qt Creator. I have compiled the twister-core successfully, I have changed the these parameters for creating the genesis block pszTimestamp, genesis.nTime   and  genesis.nNonce. Then I re-compiled it successfully. When I am executing twisterd in the terminal using this command

./twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1

this error occured:

  Terminal Error :
  Assertion `hashGenesisBlock == uint256("b24b7a9c568b4ae288c0be34699c4c79fc22848e7c346afd5f63901e41ed8640")' failed.
  Aborted (core dumped)

When I run it On Qt-Creator same error occur Error:

  twisterd: ../twister/src/chainparams.cpp:216: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("b24b7a9c568b4ae288c0be34699c4c79fc22848e7c346afd5f63901e41ed8640")' failed.
  The program has unexpectedly finished.
  ../twister-qt-Output/twisterd exited with code 0

Please help me to resolve this problem.


texts: Get Historical Bitcoin Prices on GDAX in CSV Format

texts:
I'm looking for minute by minute historical Bitcoin price data for the past year in format: time, open, high, low etc.

I code in Java and I'm not familiar with other programming languages (such as python and PHP).

I've read this (and this) thread with the following suggestions:

https://min-api.cryptocompare.com - I do not see GDAX listed as one of the supported exchanges (based on this link https://www.cryptocompare.com/api/) (unless the data from Coinbase is exactly the same as the data from GDAX? I know GDAX is the parent company of Coinbase but not sure if trading data is exactly the same..) Also, I tried using this API and it seems to limit the history to several days. I was not able to get a year's worth of minute by minute data for Bitcoin USD pair.
https://github.com/ccxt/ccxt - this seems to be trading library written in python and PHP (but no Java support). Also I'm not sure if this allows you to retrieve historical prices or only place trades via various exchanges.
https://bitcoincharts.com/t/trades.csv?symbol=gdaxUSD&start=1312174800 returns 404 not found error.
http://api.bitcoincharts.com/v1/csv/ - I do see Coinbase listed but not GDAX (unless they are one in the same?). Also this is tick by tick data, not minute by minute correct?

Some of the other threads I read are about mtGox not gdax or only provide daily reports so I'm not including them.

If I missed any other resources I would much appreciate if you could point me in the right direction.


texts: Can you reset 'used' addresses that were actually never used?

texts:
Bitcoin RPC command getnewaddress returns a P2PKH address from the keypool, and marks it as "used" so it will not be returned by the same RPC call again.

I'm going to be doing a lot of testing on that RPC command but will not actually send any money to those addresses - is there a way to "reset" the status of addresses in bitcoind's wallet?


texts: How to generate a very secure wallet with Electrum?

texts:
For a poor-mans glacier protocol, looking for:
One private key – an alphanumeric string used to secure the funds
The cold storage address – an alphanumeric string designating the virtual “location” of the funds
The “redemption script” – an additional code needed to access funds, shared by all private keys.

but can I accomplish something similar with the Electrum wallet?  Based on IRC discussions, I've been pointed to libsecp256k1 for generating the keys.
see also:
https://github.com/spesmilo/electrum-docs/blob/master/libsecp256k1-linux.rst
Where I get stuck is with the what, precisely, to write down and what medium to use.  Because writing down a private key in its entirety seems a questionable endeavor, at best.  so, it's a matter of noting the "words" used to deterministically re-generate the private key?

In that context, how do I use electrum to generate a wallet approaching the security provided by something like the glacier protocol?  Assuming all else is equal, particularly with regards to quarantined hardware et. al.

additional context:

There are two types of digital wallets: hot wallets and cold wallets.
Hot wallets are connected to the internet while cold wallets are not.
Most digital wallet holders hold both a hot wallet and a cold wallet.
Hot wallets are most often used to make quick payments, while a cold
wallet is generally used for storing and holding your money, and has
no connection to the internet.[citation needed] Another difference
that is apparent when comparing the types of digital wallets, or
e-Wallets, is the price. While most hot wallets are free, cold wallets
can be expensive.[citation needed]

https://en.wikipedia.org/wiki/Digital_wallet#Types


texts: I know you can make a transaction across the blockchain to move your Bitcoins from say Bitcoin-QT to Multibit, but is it possible to import my wallet.dat file from Bitcoin-QT to another desktop wallet without preforming a transaction?


texts: why is the header for the JSON RPC interface text/plain? vs application/json?

texts: the bitcoin core docs call out that RPC HTTP requests must include a Content-Type header set to text/plain and all the example commands confirm this header. why is it text/plain instead of application/json?


texts: Getting wallet balance with BitcoinJS + Bitcoin-lib (client lib)

texts: I have server with BitcoinJS and Bitcoin ExitNode running. I try to fetch wallet balance from client with code from manual on wiki page. I have send money on client generated address, but app says that balance still 0 BTC. Please, see the code: http://jsfiddle.net/a6xfP/3/.


texts: Have I lost all my Bitcoin, having sent them to a Bitcoin Cash wallet?

texts:
I made a pretty big mistake of sending my Bitcoin that I had on Coinbase to a Bitcoin Cash wallet that I own on my Exodus wallet instead of the Bitcoin wallet. I can see on Coinbase that the address it went to is the Coinbase Cash wallet that I have on Exodus and the transaction has now been completed, but nothing appears in Exodus.

I understand that sometimes this can be ok depending on the address format and I'm not entirely sure how long it is supposed to take until you see it. Do I take it that I've just lost all those coins since they haven't appeared at all? Also if so where do those coins go?


texts: Tool for calculating profitable coin trading

texts:
I want to know that if I buy 200$ worth of BTC that when I trade to other coin I'm not trading for less than 200$ worth of that coin. This way making sure I'm never loosing money.

I'm doing this manually right now but it takes forever and is not productive. Is there a tool out there to do this faster? Where I could input the amount of BTC I have and how many of the other trading coins I would get and their value in $?

I'm sure there's a term for what I'm looking for but I don't know it. Hopefully you'll get my example :)


texts:
One article I am reading said that proof of work system is used in Bitcoin to prevent double spending. More particularly:

Imagine we are protecting against double spending in following way. When Bob receives transaction from Alice saying that "Alice transfers some 1234 BTC to Bob", bob would broadcast this to entire network to ask them to verify whether this is a legitimate transaction. In the mean time say if Alice had sent also same message to Charlie (saying that she is transfering same 1234 BTC to Charlie), Charlie would have also broadcast this message and other nodes on the network would spot that Alice is trying to spend same 1234 BTC with two persons, and they would let Bob (or Charlie) know that this is invalid transaction. Or if all is ok Bob or Charlie would wait till some nodes send acknowledgment that this is valid transaction.

SOCK PUPPET ATTACK: Above scheme would work but Alice could cheat in the following way. She could create say one million fake identities on network, and they would lie to Bob and Charlie that the transactions was valid- making them accept payment.

Now comes my question. It seems proof of work was introduced in Bitcoin to prevent exactly the above kind of sock poppet attack. But I fail to see how proof of work helps protect against above sock puppet attack. Why would Alice not be able to introduce those fake 100000 identities on the network anymore?

Can someone ealaborate and explain?

ps. I know what proof of work is, this question is more related how and why it prevents above mentioned sock puppet attack.


texts:
Has there been content published which provides an overview of how the Bitcoin-Qt software is architected?

I would like to dive into the source code, but going from scratch is somewhat taxing. Can someone help me?


texts: Is there a way to create 9995000 spendable BTC on regtest?

texts: I'm doing to a large stress test on 1000 node network where each node sends transactions to one another at a specific rate, and I need a way to create the funds for running it, enough so that each transaction is above the dust limit. I need a way to generate 9995000 spendable bitcoins to distribute to each address. At some point, 120 transactions will be sent per second on the network, which is why a lot of bitcoins are needed. Is there a way to get these many bitcoins to each node, which has its own address (~9800 BTC for each node, which each has one receiving address) without generating a lot of blocks and changing the subsidy variables in the source code? I'm unfamiliar with Core/bitcoind's codebase, and I might break something. Any simple solution would be appreciated.


texts: Action taken when data of a block gets tampered with

texts:
Let's say we have a Blockchain consisting of 10 blocks, indexed from 0(Genesis Block) to 9(The last block).

If the data of a block, say block 5, is changed(maliciously), the data stored on the block, as well as subsequent blocks, becomes invalid.

What happens next?

It is impractical to drop the blockchain entirely. It is also impractical to recalculate all the hashes, in case of larger chains.

So, how is data of the current block, as well as that of other blocks, preserved in the event of an attack on a single block?


texts:
I was just wondering if it is possible to mine BTC using my laptop.

If so, what sort of graphics card should I get for this computer and
what could I expect to mine in bitcoins a day with a single graphics card.

I would really appreciate your advice!


texts: Is there any concrete evidence that Wright & Kleiman were involved or not involved in the creation of Bitcoin?

texts:
Is there any cryptographically verifiable evidence that one or both Wright & Kleiman were or were not involved with the Satoshi Nakamoto character?

Looking for information related to Bitcoin keys, addresses, PGP keys, or any other type of cryptographic evidence. Information that disproves their involvement also welcome (faked PGP keys inserted into documents, etc), also welcome.


texts:
Headers-first sync is defined somewhat by BIP 130 and expanded upon with compact block relay in BIP 152. I believe this is the commit in which it was added to Bitcoin Core.

The result is that Bitcoin Core nodes never send getblocks messages anymore, they get headers first with getheaders, then after some verification, they request full blocks with getdata.

My question is, do SPV nodes need to follow this scheme as well? They certainly could, they'd just open the peer connection with a filterload so when they getdata they get merkleblock messages back instead of full block or cmpctblock messages.

This is an implementation-specific question, but I am actually hoping for examples. For one, Breadwallet seems to have a custom network protocol in which both getheaders and getblocks are used.

Are there any other examples of SPV applications using getheaders and getblocks in this way?

Do most SPV clients just use getblocks or do they try to sync headers-first, even though they'll never request full blocks?


texts: Correct breakdown of the name of secp256k1?

texts:
sec Standards for Efficient Cryptography
256 256bit prime
k1 Koblitz curve no. 1
?


texts: I want to move some coins from a wallet to an other, so I found move command which is supported in Bitcoin Core 0.17.0 RPC but not in 0.19.1. Is any other command has been added instead of move?


texts:
Hopefully this is not too specific..

Which mining software/script provides the greatest MHash/sec and power efficiency balance? (I'm currently using an old version of phoenix miner)

Preferably for the 5xxx series of cards, but if some mining programs are generally more efficient than others in terms of MHash/sec to power usage ratio, those are also welcome.

Thanks


texts:
I am using bcoin for a project.

I would like to retrive TXs in reverse order.

In the documentation I read that I can do that through the "reverse" query string parameter.

Anyway, the documentation doesnt provide any example of how I can pass this paramenter to the javascript API in the getTXByAddress(address) method.

If that's not an option, also the cURL way is fine.

Any suggestions?

Thanks a lot


texts: Has the Bitcoin network surpassed the total computing capacity of all the general purpose computers in the world?

texts: I would estimate there are roughly 2 billion computers in the world, with an average hashrate of 10 MegaHash. That equals to 20,000 TerraHash or about 20 PetaHash. The Bitcoin network is around 20 PetaHash now. Does this mean that the network cannot be attacked using regular computers anymore?


texts: How to get BTC transfer amount from raw tx using bitcoinjs

texts:
Suppose I have following object

console.log(bitcoinjs.Transaction.fromHex(rawTx));

The output

Transaction {
  version: 2,
  locktime: 1655960,
  ins: [
    {
      hash: <Buffer dc 4d aa 10 db 80 36 52 24 49 7c c5 7c bc c5 bc df be e1 2d 58 61 70 e1 0c 7b 76 a7 35 cc 7c 3a>,
      index: 21,
      script: <Buffer 16 00 14 5f f3 9b e6 42 af a9 f3 59 25 34 e7 6a dd b2 ee e3 41 82 15>,
      sequence: 4294967294,
      witness: [Array]
    }
  ],
  outs: [
    {
      value: 1000000,
      script: <Buffer a9 14 14 ea 69 2e 87 76 ec c6 2e 6a aa a1 7d cc d2 8f f3 30 b7 46 87>
    },
    {
      value: 3299775,
      script: <Buffer a9 14 73 e2 99 78 43 31 1e cc 32 b5 ac 38 ef c9 9b b3 ae 54 bc 7c 87>
    }
  ]
}

How can I decode transfer amount (in BTC) from this object?


texts:
I understand how Proof of Work (PoW) works now, and am beginning to look at different Proof of ... systems like these:

Proof of Stake
Proof of Ownership
Proof of Existence
Proof of Space

From what I have read so far, it sounds like the term "Bitcoin Mining" means Proof of Work in the Bitcoin system. But then I'm not sure if mining is an inherent part of all these other systems and if it works in a similar way. If not, I'm wondering what the general meaning of mining is across these different "Proof of ..." systems.


texts:
I'm trying to get the outpoint for a transaction but I don't find how to.

The pages here and here look like saying that the outpoint must have 36 characters, of what 32 are the TXID and 4 are the vout.

However I can't find any example or further information about how to get/calculate it. I'm trying with bitcoin-cli listunspent and it gave me:

[
    {
        "txid" : "4bbf676731987cce1e4639ec28d1219f065ab2aa5e9deb323c0b56bd0482d499",
        "vout" : 0,
        "address" : "1CfdQ5eHhPmUPemNStYmSG4RTYEq2Hc1a2",
        "account" : "",
        "scriptPubKey" : "76a9147ff792d99c99e5d89b8dbb54a5f962ccaeec404088ac",
        "amount" : 0.00100000,
        "confirmations" : 1866,
        "spendable" : true
    }
]

The txid is 65 characters long, and the vout is 1 character long (should I left-pad it to 4 characters? If yes, what happens after 10.000?)

Or I am not understanding anything? :s In this case, please provide me reliable and complete sources about this matter, as the docs seems to be very superficial about it.

I'm using bitcoin-cli.


texts: Is it possible to determine BIP39 keys are related

texts: Is it possible to determine if public or private keys generated with a single same BIP39 phrase are related to one another?


texts:
I am trying to understand how secure the green wallet is. I thought of a few scenarios where my funds might be in danger:

If GreenAddress service becomes unavailable, they have a nlocktime transaction that allows me to recover the funds after 90 days. My funds should be accessible after 90 days.

If GreenAddress service gets hacked and it automatically cosigns malicious transactions. My understanding is that I should be able to use the recovery tool (https://github.com/greenaddress/garecovery) to send the coins to a new wallet independent of GreenAddress. Is this right?

I lose access to both my phone and seed phrase.

Are there other possible scenarios that would result in a loss of my funds due to an error on the Green Address side?  How secure really is the green wallet? How much funds should one trust it with? Thanks!!


texts: How does your account get credited when you send bitcoins(ex. Coinbase)

texts:
This question might have already been answered. If so, can someone send me the link to it.

Let's say I create a blockchain wallet. It gives me a bitcoin address to deposit coins. Once I send bitcoins to the address that is given how does the system know what account is associated with that bitcoin address.

I wanted to develop a site where you can deposit bitcoins into your account and I want to know how that is done.


texts: Is it any open source Bitcoin exchange available

texts: Is it any open source Bitcoin exchange code is available


texts: What are the pros and cons of premined altcoins?

texts: When starting an altcoin from scratch, how would distributing premined coins to a certain community affect the currency?


texts: New Bitcoin-Qt install but can't set passphrase

texts: I have installed bitcoin-qt version 4.6.2 through the ppa:bitcoin/bitcoin ubuntu repository.  I can't set a pass-phrase because it requires a value as the old pass-phrase.  I have never created an old pass-phrase though.


texts: I've read that bitcoin addresses are never destroyed, but do they get recycled/reassigned?

texts:
What happens to old bitcoin addresses? I've read that they never get destroyed, but do they get reassigned?
The story is I sent some bitcoin to an exchange using an address I've used with them before, but then found out that they had just retired/stopped using that address. I saw the transaction coming through though. Where did the bitcoin go?? Is there an official network that manages bitcoin addresses? Please help, it is a rather large sum.
Address in question:
12aAEnfc6192cm4KLfV5eY13jYRqy684Ym
transaction ID:
0db1e2f9f4233592b5f6ac5c881727e3c5694cfbd21af1744bfb11d069a1ae2d


texts: Deposit Litecoin into bitstamp from coinbase

texts: I have been having an issue trying to transfer my Litecoin from Coinbase to Bitstamp Litecoin deposit. I think I am correctly following all the steps. When I am in the Bitstamp Litecoin deposit page I copy the address, paste it into the Coinbase transfer recipient address, fill in the amounts and hit send.  I then get an error message to use a valid litecoin address. I then try using the old non M* LTC Multisig address, fill in all details and the error message this time is that I do not have enough funds. But I do have these funds.


texts: Are mastercoin transfers transparent on the blockchain?

texts:
The mastercoin specification (https://github.com/OmniLayer/spec) details an obfuscation process, but doesn't provide the motivation for implementing this obfuscation.

Why does mastercoin use this type of obfuscation, and what data does it inhibit onlookers from determining?


texts: Must my wallet be connected to the internet to receive payments?

texts:
(This question applies to private wallets, stored in a local computer. Not so much for online wallets, which are supposed to always be connected to the internet)

Let's say I have a wallet with several addresses. Somebody (maybe even myself) makes a transfer to one of my addresses. My impression is that my bitcoin client (the one managing the wallet to which the address is associated) must be running and connected to the internet in order for this transfer to be executed.

I say this because, since a wallet has real money, the bitcoins (those unique bitcoins that have been transferred) must arrive to the wallet somehow. But if my wallet is not connected, this is impossible.

So here my questions:

what happens if the wallet is not connected to the internet? Where are the bitcoins? Are they in a "bitcoin limbo" until they are transferred to my wallet?
How is this managed from the blockchain point of view? Are transfers marked as "done" when the money has been transferred to a wallet?
is there any kind of timeout? What happens if I do not connect my client for a day / month / year / ever? Are the bitcoins lost, or is the transfer cancelled?

Maybe I am misunderstanding what an address / wallet really represents.


texts:
I am working in an artistic/visualization project that analyses Bitcoin transactions. I have a Bitcore instance with insight API and from a Python script I query through the REST API so the queries are returned in json format. For the project I use a macbook pro and with its internal ssd drive I get around 70 queries per second, using an external NTFS (fuse drivers) driver I get as little as 5 per second.

I would like to know if there is a faster way to query transactions by transaction's hash even if it is more complex to code.

What would be the fastest way to query for a certain txid to get its inputs?


texts: Export from Bitcoin — import to Bitcoin Cash

texts: I have address 3GXXiZhq1MZFeWtM6wFUWDA9wSLQh2NU6E, generated by my Bitcoin Core v0.20.0. Accidently I sent Bitcoin Cash there. I use dumpprivkey 3GXXiZhq1MZFeWtM6wFUWDA9wSLQh2NU6E console command and get private key. Then I switch to BCH Unlimited v1.9.0.0-96d2de8d0 and do importprivkey ...... It imports as qqexcx5vkel7lcvny2nm7hq439cd4xvpdvuddlu0fh with zero balance. But address must be pz3tax8neurguwsdn538eh7hfyxmy2pznsgt5ajpk2. Same problem if I import it in blockchain.com. How to access my BCH at 3GXXiZhq1MZFeWtM6wFUWDA9wSLQh2NU6E now?


texts: I want to create a MultiSig address where user A sends the public key of its bitcoin address (gets saved in the database). User B gets notified that he must send his public key to create the 2-3 MultiSig address. The third address is provided by me as a mediator. My concern is that if the server is hacked, the hacker can change my source code (PHP) so that 2 of 3 public keys are in his possession. Any ideas on how I can secure this 2-3 MultiSig address creation scenario?


texts: Is Bitcoin truly decentralized? Explanation below

texts:
I am new to cryptocurrencies so if there is something I said isn't true please let me know.

To win a Bitcoin you must mine a new block, and the chances to be successful are pretty low. That's not bad because it is distributed equally based on with how much computational power you mine. So for example, if you have a 20% of the total computation power mining you are going to produce a block every five (in the long run).

But if your chances are low, for example, 0.01%, you will produce one block every 10000 blocks. Estimating that the average time to produce a block is ten minutes you will have a block every 100000 minutes or 1666 hours (in reality there are lower chances, I am not sure). The problem with this is that there is people who needs to get cash daily to live, therefore they can’t waIt so long to get the money so they stop mining to stop paying the electricity that cost to run all the computers. Which in consequence produce transaction to be much slower, therefore getting us back to the problem for the one that some people choose Bitcoin (cryptocurrency) over Dollar (tradition bank, physical currency).

So it would be better if you would get a part of the reward for collaborating with the mining more than only if you were the one to produce it, and for that reason, mining pools were invented.

The problem with mining pools is that to solve what I mentioned above and get bigger chances to produce a block there should be a small quantity of them. And if this happens the control of mining stop being decentralized and starts being centralized, having a new kind of ‘banks’ controlling the flow of transactions in Bitcoin (cryptocurrency).

Is Bitcoin, or will be in the future, after all centralized?


texts:
I was looking for an API to download block chain data in real-time so I use the transaction data for analytics.

Is anyone aware of a good API for this?


texts:
I am trying to recreate the Ripple address from Account Family wiki page and I am having some problems.

I have the private generator of 7CFBA64F771E93E817E15039215430B53F7401C34931D111EAB3510B22DBB0D8, and the hex public generator of 0388E5BA87A000CB807240DF8C848EB0B5FFA5C8E5A521BC8E105C0F0A44217828.
I start generating the " the hash of (the 33-byte public generator + 32-bit sequence number in big-endian order + the 32-bit sub-sequence number in big-endian order".
I try 71ED064155FFADFA38782C5E0158CB260000000000000000, which generates 9F407F7EC35B9AB44831BF0D47CDDAEF7BC11107CE1D10A65368A12B9338F82E - this result is bigger than the generator, so I increment the sub-sequence
I try 71ED064155FFADFA38782C5E0158CB260000000000000001, which generates 3545C8FE25A89E83287B79D186018D8600A7D5249673FB6D44A77FB12062203B - which is good.
I add private generator 7CFBA64F771E93E817E15039215430B53F7401C34931D111EAB3510B22DBB0D8 to what I just generated 3545C8FE25A89E83287B79D186018D8600A7D5249673FB6D44A77FB12062203B, and I get the result B2416F4D9CC7326B405CCA0AA755BE3B401BD6E7DFA5CC7F2F5AD0BC433DD113
The compressed public key corresponding to that is 02FA95E05F5DA5A433F7B1EE4682DAB44AF28FBC04B485993EC2E516C1D3C30D73, but in the example the compressed public key is 03fa25b68da6ff6832e4462fdfb9a2aaa58888c0ed17285ffe92e4465e0c6e782a

Where did I make a mistake?


texts:
I've been trying to get my head around the process that stops transactions from being malleable on a system built using Bitcoind. I'm pretty sure, that out of the box, right now, I'm not doing anything to solve this problem.

So I thought I would look it up, but could not find any tutorials, or even a good explanation of the technical steps you need to take in order to stop or prevent transaction mailability.

Are there any protocol level tutorials on the subject?
Or, do you have any personal experience with this that you could share with me?

Thanks in advance for your help.


texts:
Where can I get intraday orderbook BTC/USD?

Hey there, I am searching for intraday orderbook BTC/USD of any exchange for at least one day. I have found that it's available only for some money. Is there possibility to get any for free?


texts:
There is a finite amount of Ripple tokens (XRPs). If I recall correctly the amount is 100 billion XRPs.

Opening an account requires 200 XRPs.

So, are there only enough for 1/2 billion accounts, ever? Can the numbers be tweaked later on? Could XRPs be divided below 1 XRP?

Was this problem discussed anywhere? (E.g. on the Ripple forums)


texts: Is it possible to copy transactions between Bitcoin's forks blockchain?

texts:
Do Bitcoin forks share the same transaction protocol after the fork? If so, is it possible to copy/ duplicate a transaction that uses common input transactions in the other blockchain?

Let me explain what I mean:

Let's say, I have 1 BTC in an unspent transaction which happened before a fork (Bitcoin Cash for example).
So after the fork, I own 1 BTC in Bitcoin blockchain and 1 BCH in Bitcoin Cash blockchain.
Then, I send that 1 BTC to another person.
At this point, can that person copy my transaction code and re-send it in Bitcoin Cash network so that he gets 1 BTC and 1 BCH?


texts: Bitcoin Core compiled "bad91-dirty" version

texts:
After compiling Bitcoin Core following their guidelines I get a "dirty" version as seen in the screenshot below.

git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
sudo git checkout 0.15
sudo ./autogen.sh
sudo ./configure LDFLAGS="-L/root/bitcoin/db4/lib/" CPPFLAGS="-I/root/bitcoin/db4/include/"
sudo make -s -j5
sudo make install

I also am unable to get the node listed on https://bitnodes.21.co and I presume it's because of this? Using the normal Bitcoin Core node bitcoin.org has already compiled works fine in that regard.

Why is it doing this and how can I compile a normal version? It does the same if I compile 0.14


texts:
Hoping someone can help me! I'm pretty new to all this.

I sent a payment about 12 hours ago, but it's still marked as 0 confirmed. I was fairly sure the address I sent it to was correct, but it won't send and I'm a bit lost as to what to do.

Is anyone able to shed some light on it? There's a transaction fee included so didn't think I'd be put on the bottom of the pile.

Transaction ID is: 12c3cfa1ecdfbed226c8d2f48767ff7e6845d31850eaae6ea8ad31977521ca1e-000


texts:
As the title of this question states, how much bitcoin is 'lost' (the private keys are not stored by any individual, and so will theoretically never be spent again)? I'd be looking for a percentage per year, ideally. Are there any stats on this anywhere?

Does it matter that Bitcoin is a deflationary currency, since bitcoins can be lost but cannot created again? It seems like this might encourage hoarding.

Does it vary much from other coins? Is if very different from the amount of fiat currency lost or destroyed unintentionally?


texts: Creating a Deterministic Keychain from BIP32 master public key

texts:
I'm trying to create a bitcoinj determinstic key chain from a BIP32 master public key. This is the code that I have written so far:

val xpub = "xpub661MyMwAqRbcGiwzoCu93MuL6H91qANYUoYBwD4xSH8bRKJVNXsP1FUnNYiWUiu4trHbs3tavhbr4ih9bwNeVBmdQAnrA5SwSEVVCFza8dy"
val keyChainSeed : DeterministicKey =  DeterministicKey.deserializeB58(null,xpub, MainNetParams.get)
val w = Wallet.fromWatchingKey(MainNetParams.get, keyChainSeed)

but I get the following error:

No key found for absolute path M/0H.
java.lang.IllegalArgumentException: No key found for absolute path M/0H.
    at org.bitcoinj.crypto.DeterministicHierarchy.get(DeterministicHierarchy.java:94)
    at org.bitcoinj.crypto.DeterministicHierarchy.deriveChild(DeterministicHierarchy.java:152)
    at org.bitcoinj.wallet.DeterministicKeyChain.initializeHierarchyUnencrypted(DeterministicKeyChain.java:590)
    at org.bitcoinj.wallet.DeterministicKeyChain.<init>(DeterministicKeyChain.java:384)
    at org.bitcoinj.wallet.DeterministicKeyChain.<init>(DeterministicKeyChain.java:393)
    at org.bitcoinj.wallet.DeterministicKeyChain.watch(DeterministicKeyChain.java:444)
    at org.bitcoinj.wallet.DeterministicKeyChain.watch(DeterministicKeyChain.java:436)
    at org.bitcoinj.wallet.KeyChainGroup.<init>(KeyChainGroup.java:115)
    at org.bitcoinj.core.Wallet.fromWatchingKey(Wallet.java:260)
    at com.suredbits.core.bitcoin.WalletTest$$anonfun$2.apply$mcV$sp(WalletTest.scala:84)
    at com.suredbits.core.bitcoin.WalletTest$$anonfun$2.apply(WalletTest.scala:80)
    at com.suredbits.core.bitcoin.WalletTest$$anonfun$2.apply(WalletTest.scala:80)

I'm not sure why this isn't working, as bitcoinj supports BIP32. Can anyone spot what I am doing incorrectly?


texts: What redeem script is used in bitcoin core wallet when generate the address?

texts:
I'm trying to generate the address 38DGj87axzmQiZeAd1w1y5FEmuu5a7pfBa in my bitcoin core wallet with code.

First, I dump the private key from the address, then I calculate the address from the private key. As the address is start form m, which is of P2SH bitcoin address type. And the P2SH address is constructed as

base58-encode: [one-byte version][20-byte hash][4-byte checksum]

Here I don't know what the script used to calculate the [20-byte hash] in the bitcoin core wallet?


texts: Would it be possible to convert low-end ASICs designed for mining Bitcoin into Litecoin mining rigs?

texts: My friend and I have been discussing trying to mine Bitcoins or an altcoin. We've come to the conclusion that at the current difficulty one gigahash per second Litecoin mining will net ~$5 USD a day. Now, there are some low-end Bitcoin ASICs out there (such as ASICMiner Block Erupters which get 333 MH/s) that would literally take years with the current Bitcoin difficulty to regain the cost of the machine mining Bitcoin. Would it be possible to configure an ASIC of this type to mine Litecoin? Would the hardware be capable of supporting that?


texts: How to find address that holds the balance in Bitcoin Core?

texts: I am unable to find the address that holds my balance in Bitcoin Core. All receiving addresses has a balance of 0. But there is a balance in the wallet. How do I find the address that holds that balance?


texts: I am new at this and I was given a bitcoin from a miner, how do I know what it is worth and how do I put it in my wallet?


texts:
Now that bitcoin has been recognized as a medium of exchange, rather than a commodity subject to certain taxation in Japan, is it the only such one other than the Yen?

Since the pronouncement of course falls far short of declaring bitcoin legal tender, does it in effect mean anything other than it is now legal to operate an exchange?

Edit: I reworded the original question, as I had incorrectly equated the terms "form of payment" and "medium of exchange".


texts: how do I create and encrypt a dogecoin wallet?

texts:
I've looked at the dogecoin wiki, but don't see any resources explaining how to actually create a wallet and encrypt it.

I'm running dogecoin-qt on Linux.

Under "much receive" on the GUI, I can add addresses.  But there's no option to encrypt which I see.

The "wow" tab says wallet, 0.000 doge (which I expect).

Where is the wallet info to read?  Is it encrypted?  How do I encrypt it?

I can find the file itself well enough:

thufir@dur:~/dogecoin$
thufir@dur:~/dogecoin$ locate wallet.dat
/home/thufir/.dogecoin/wallet.dat
thufir@dur:~/dogecoin$

but I'm trying to use the GUI.


texts: How do I verify a unconfirmed transaction using JavaScript ?


texts: Statistics on Multisig Bitcoin Accounts by type of multisig

texts:
I am looking for statistics on Bitcoin addresses in use by number of multisig addresses.  Specifically, I would like to know how many accounts exist that use 1 of 1, 1 of 2, 2 of 2, etc.  Is there a place where this information exists?

Ideally, it would be nice if there was a threshold for amount of bitcoin associated with the address that could be set.

I would like to see something like https://www.coindesk.com/year-multisig-so-far or https://medium.com/@alcio/some-stats-about-bitcoin-multisig-915f0787ef2f, except these are rather old and they are measures of transactions and not used addresses.


texts: How can get balance for btc/bch address and block?

texts:
How can get balance for btc/bch address and block ?

Similar to web3.eth.getBalance for Ethereum


texts: How to create a partial signed multisig transaction with pybitcointools (Electrum)

texts:
Looking to create a partial signed transaction with pybitcointools that is recognized and accepted by Electrum GUI client. I have tried to do so for a 2 out of 2 multisig transactions, but so far failed get a partial signed transaction with pybitcointools.

With the commands mktx, multisign and apply_multisignatures I was able to create (2/2 signed) multisig transactions, accepted and ready to broadcast by Electrum GUI client once loaded from text.

When using apply_multisignatures with only one of the two multi signatures I expected a (1/2) partial signed transaction that could be imported/loaded into the Electrum GUI client. However, the Electrum GUI client didn't recognize this transaction.

How to apply only one signature with pybitcointools in a way that is compatible with the Electrum GUI client?


texts:
I think I understand the main parts of the Bitcoin blockchain. While I was explaining the concept to my girlfriend she asked me why groups of transactions are actually stored in a block? Every transaction is verified by every node, so why do we need blocks?

I had no answer to her question, so maybe a greater mind than me can explain why the blockchain needs the transactions to be stored in blocks?


texts: Is https://wincoindc.com is a scam website?

texts: I was scammed by https://wincoindc.com. One of whatsapp user from China asked me for investment on CDC coin in wincoindc.com wallet. So I sent her BTC and she gave other coin in wincoindc.com wallet. But when I tried to withdraw my coin, my all coin got freezed. How can i get my money back?![enter image description here]


texts: How do explorers like https://www.walletexplorer.com/ recognize all addresses in one wallet? What is the relationship between addresses in wallet?


texts: Are incoming connections required for mining?

texts:
I am setting up a RPi3 Mining node for fun. I know that it will have less than 8 connections that are outgoing.

I know that if I was able to configure my network and router to allow incoming connections on port 8333 it would make my node work better.

My question is whether the incoming connections is required in order for the node to mine at all.

Will the outgoing connections that I make allow those peers to send my node transactions as those nodes get them, or is incoming connections the only way to get transactions that can then allow my node to mine blocks?


texts: What is service or entity broadcasts transactions with OP_RETURN data starting with "LP..."?

texts:
There have been quite a few OP_RETURN transactions recently where OP_RETURN data in the scriptPubKey starts with 4c 50 which is LP as ASCII.

For example these transactions:
 - ccce20a2b4c79d80fe57bd4008c398c548cefc7f353e71044353432f434d8e6a
 - 2d02e75f6f72a1e633e4f1b36066428f1904ca5859bc6a711806961b8b6fbfd3
 - f85a0efd449f193605048b73dd7bb0287c7a331ab92755497b4d77806090849e
 - b193bb721f21e2efc9dcfd9bb8ab8753f9a70f6ff7ce8bbffb0a173a45adf6b0
 - ... and a lot more (6447 in the last two hours at the time of writing this)

Since the first bytes are usually used as an identifier (e.g. omni for OmniLayer) I'd be curious if anybody happens to know where this could originate from.


texts: How does bitcoin find the block locator hashes in the leveldb database?

texts:
I am trying to understand how bitcoin core builds the list of block locator hashes needed for sendheaders and getheaders messages. I have looked on the wiki and I have seen that after the 10 most recent block hashes, it goes back exponentially until the genesis block.
So it seems that I have to get a block hash knowing its index in the blockchain. But how can bitcoin core find a block hash by its index? From my understanding leveldb lets you query data only by a key, and in this case the key is what I want.


texts:
I'm trying to generate a mnemonic seed, and everything that goes with that. I'm using c++ / libbitcoin, using the following code - https://github.com/libbitcoin/libbitcoin-system/wiki/Examples-from-Addresses-and-HD-Wallets

When I compile & run the following code - get this output

Address, WIF, Wallets:
13ggzjqKyFGQZtxNWUoG4BFDPAgdBijUe4
L5PbbAgFUENjW7XjzPBSMUwtVpV8S62cXq14cwUGDdCq1xt1SiNU
13ggzjqKyFGQZtxNWUoG4BFDPAgdBijUe4
L5PbbAgFUENjW7XjzPBSMUwtVpV8S62cXq14cwUGDdCq1xt1SiNU
1

Mnemonic Word Lists:
family episode combine ask flee weekend sword spatial vibrant leg style fancy

When I take that generated mnemonic and put it in this site - https://iancoleman.io/bip39/

I am getting completely different paymeny addresses.

Digging through the source code of libbitcoin it has very little function documentation & this is the only code sample I could find. So can someone help me generate a wallet in libbitcoin where the data is recognized by other wallets/services? Thanks.


texts: Why OP_RETURN should be used instead of raw data?

texts:
I've read this great Explanation of what an OP_RETURN transaction looks like and now I have only one question. Imagine that someone want to store some data in Bitcoin's blockchain. Why should he use OP_RETURN?

I mean, I know that it's impolite to store a lot of data in blockchain as it is, because it makes blockchain bigger, pollutes it, etc. But in fact, is there any hindrance, which makes it at least difficult?

For example, is it possible to store string like >>> "123123" * 100 in transaction locking script field? Why?


texts: How to request a list of blocks using bitcoin-cli?

texts:
I'm trying to figure out how to use bitcoin-cli effectively to request a list of 50 blocks.

As far as I am aware, bitcoin-cli getblock list  does not work. Also how to best extract information out of the getblock output.


texts: What does the debug output look like when a new block is found?

texts: In the Bitcoin-QT client, what does the debug.log look like when a new block is found?


texts: What happens to Bitcoin wallet / Bitcoins if PC is stolen

texts:
I am a beginner and just starting to explore the possibilities of Bitcoins. So I would be very grateful if somebody could help me with this question.
Is there a risk that my Bitcoins are lost if the PC with the bitcoins resp. with the Bitcoin wallet stored on it is stolen or has crashed? Thank you very much.


texts: Risks involved choosing my own seed mnemonic?

texts:
I reading that 'humans are bad at randomness' and one should always let an algorithm choose your seed for you.

While I agree that maybe it's not advised to make my brain wallet 'zoo' x 23 + checksum as an easy to remember phrase, but besides the obvious, what real risks are there to choosing your own seed?

I've also read that if you use the date as your seed's seed (akward phrase, the seed of the random function that my nmemonic seed is created from) then if that is known by an attacker they can use that to crack my wallet really easily.

What else could go wrong? for instance if i decide to use all the food words out the list, but change 1 of those to an easy to remember alternative, then I've a bunch of food words and one randomly out of place non-food word (seams ok to me). Are there brute force algorithms that could take advantage of that?


texts: Does mining a block force others to restart their work?

texts: Does mining a block mean that anyone else who was working on mining a block loses their progress and must restart?


texts: New wallet per customer, or new address?

texts: So I'm in the process of starting a new service, but want to make sure I build the foundation correctly from the start. When customers deposit to their user account on my service, I need to understand whether I should be using one giant wallet with a new address for every customer and assign that address in the database against their user, or if I should generate a new wallet (with, presumably, new seeds) on signup for every customer, so each customer has their own unique wallet. What is the best course of action here? One thing to be aware of is how the backup process will go, and any potential race conditions (say someone generates themselves an address and sends coins, but the server gets wiped out and the backup doesn't have that last 10 seconds of activity, so the address that was generated can't be tied back to the appropriate user).


texts: I made a transaction yesterday to my wallet,vthrn sent it to someone. It is showing pending. Can I cancel the transaction and have it go back to my wallet and send out again


texts: My spv node received in a nTx = 2 in headers message

texts:
I am coding an spv node for dogecoin. I am syncing the headers and I am exceping to have nTx=0 for all the headers received but for one of the headers i have a nTx = 2 and some weird data following...

{ version: 6422786,
 previousHash: 'b7ac5cc3ca94d8b154661cba795fc4912f3b6ce83a3c5669053e7f677b360dab',
 merklerootHash: 'd55d5c789080a64707a528ce06c80b36708910d80126f0b0f5c5a73534333354',
 time: 1407228150,
 nBits: 503697504,
 nonce: 0,
 hash: '47cf9eaf17f37672ef610c15c6aeb5257c318e76943b809d79c6fb486fd36115',
 transactionCount: 2 }

I am doing something wrong ?


texts:
I'm trying to set up a test network consisting of 3 nodes, each with different bitcoin.conf. I've constructed the directory and the .conf-files similar to what is the state of the art in qa/pull-tester/.
Within the terminal inside the node-A-directory I commanded: ...

bitcoind -conf="/home/me/.bitcoin/regtest/testnetwork/A/bitcoin.conf"

...and got back this error:

'Error initializing block database. Do you want to rebuild the block database now?'

My bitcoin.conf has following content:

regtest=1
rpcuser=rt //adopted from .conf-files in qa/pull-tester/
rpcpassword=rt //adopted from .conf-files in qa/pull-tester/
port=11111 //arbitrary free port
rpcport=21111 //arbitrary free port

Could someone please help with my intended network setup or at least say what I'm doing wrong?

PS: I'm going to paste my logfile in a comment below.


texts: After downloading the entire Bitcoiin blockchain from a torrent, what are my next steps to link it to Bitcoin Core 0.17.1?

texts:
I downloaded the entire bitcoiin blockchain into my external mounted drive as seen below and named the directory bcore.

I then did a symlink to that folder like this in my home folder (~) location :

ln -s /mnt/xxxx/bcore .bitcoin

I then ran .bitcoind, but I thought I downloaded the entire blockchain. How do I know if its just syncing with what I already downloaded or is it literally downloading everything again? Is there a way to just skip verifying blocks if that is what it is doing. I don't have the time to wait hours for this since I already waited 23 hours to download the blockchain already.

Is there a file I can just download where it skips the block verification?

Also another reason why I think its downloading it again is because when i run bitcoin-qt on the bottom it says: "Syncing with Network" Which leaves me a bit confused.


texts: When you trade on an exchange where does the bitcoin or other crypto go to

texts: Do exchanges use an intermediate address when fulfilling transactions or is it always user to user when buying/selling between cryptocurrencies?


texts: Does everything of a Blockchain Network rely on its underlying "Consensus Protocol"?

texts:
I have been reading about and researching on Blockchain Technology for quite a while now, and what I can comprehend from the very primitive architecture of these "Distributed Databases" is that everything and every procedure solely hinges upon the declared "Consensus Protocol" for reaching security and anonymity.

And the reason that currently Blockchain technology doesn't have any killer application beside financial systems is partly or mainly due to incapability of current most used "Consensus Protocols".

I'm asking whether my argument is correct or not? and if it is not, where I'm mistaking?

I'm an energy activist, and I have been studying blockchain's energy applications for 3 months now, what I have came across is that either PoW or PoS are not suitable for an energy market based on blockchain, the first one is too energy intensive and the second one promotes centralization intuitively. And also money transaction is not comparable to energy transaction, because energy needs wire and some of it is simply deterred on its way. I'm wondering whether a new protocol can solve the problem???


texts: The amount of coins in the wallet is too small for sweeping

texts:
I want to make a present to my friend for his wedding - a bitcoin paper wallet.

I managed to print it and send 100uBTC (0.0001BTC) to the paper wallet for a test.

Then I chose "Sweep paper wallet" and I got a message that the coins are there, but "the amount of coins in the wallet is too small for sweeping".

What is the minimum amount that I can sweep?


texts: How to figure out the coordinates of a compressed G point?

texts:
I really can't get my head around this ECDSA thing... So far I know that it's used for validating transactions by having a private key sign its signature to the transaction. I've come to the math part of ECDSA, but I just can't find any sources that are newb-friendly or explain everything to detail. I've checked out the datasheet for the secp256k1 and all the recommended values for the different variables. In the datasheet there's the G point, which is in both compressed and uncompressed form, but I just don't get how I figure out the X and Y value, the actual coordinates, the location of the base point?

Does anyone have any SUPER well explained guide or something on how the math behind it works? It's for a really important assignment due thursday.

Thanks in advanced.


texts: Need help opening my bitcoins that was save to my computer

texts: About 5 or so years I received some bitcoins, they were kept in a bitcoin wallet, well the wallet became unresponsive so I backed the wallet onto my computer, but now I have no knowledge of how to open them and put them in another will download now. Does anyone know how this is done thanks?


texts: do i need to fully download the blockchain before operating commands on litecoin daemon or dash daemon

texts: I am setting up a website that needs to process commands like creating new addresses, do transactions even maintain wallet balance and get notifications on incoming transactions to address created. I want to use RPC but i see that it is not working as expected. I want to know if i need to fully synchronise the blockchain for the daemon to work and also how to force synchronise lite coin daemon via command line. Thanks


texts: how to parse input script of a transaction in blkzzzz.dat file?

texts:
In data files, an input script of a transaction appears to be in this form:

[funky byte 1][signature][funky byte 2][public key]

Bitcoind displays an input script in this shape:

[signature][blank space][public key]

My questions are:

1. In general, how should I parse an input script?

2. What are the funky bytes?

3. How should I interpret/recognize the funky bytes during parsing?


texts:
I have a simple use case.

  I want to send some testnet coins to my testnet wallet and be able to
  see it in bitcoin-core in testnet mode

What I did so far: 1. Go to File-->Receiving address. Setup a new reciving address here
2. Go to website providing free testnet coins and send it the address that I set in step 1.
3. Wait until the transaction is confirmed.

Questions:
I expect to see the above transactions in the bitcoin UI. Eg. If I click on 'Overview' button, I expect to see those testnet bitcoins. Similarly, under 'Transactions', I see nothing. Could somebody point out what is going wrong here?


texts: has HITBTC exchange stolen my entire money $1600+ today

texts:
This morning I tried to move the entire $1600 from hitbtc to my personal blockchain account,   I took time-stamped screenshots throughout the process.
In the evening the transaction appeared in my  HITBTC account but no green tick like the previous transactions. Naturally one starts  to assume the thing is just pending.  But the transaction hash  560b58a33f380b87940917790f046026d269202c8636c9bf842e6af80064a828
is showing transaction not found/  PLEASE TELL ME IF IT IS POSSIBLE HITBTC STOLE THE MONEY. I HAVE BEEN USING A SUFF LONG PASSWORD AND GOOGLE AUTHENTICATOR,  ALSO THERE IS AN ERROR SHOWING IN MY HITBTC ACCOUNT THIS EVENING WHEN I TRY TO DEPOSIT-JUST GIVES NO DEPOSIT ADDRESS-just ERROR.

I also saw a posting on this forum which is the reason I joined

---------------------------------------------------------------------------- with a link 'view transaction'. If I click on this link it takes me to https://insight.bitpay.com/ and shows "TRANSACTION NOT FOUND". I also searched in blockchain.info and some other explorers all show transaction not found. So far not much luck from Gemini support. I am getting desperate with Gemini.

Here is the transaction ID; e1e405bdd06b3ab23c3099f41f5da58ea0f5cf0bd2f891850c1d5c70fedfdb20

What is happening with this transaction? What does "transaction not found" mean?
Is this waiting in miner's mempool to be picked up?
No. Broadcasted transactions are visible on block-explorer sites (in most cases)

Is this unconfirmed and already dropped from the blockchain network.
It is unconfirmed, but not because already dropped, but because not yet broadcasted

Transaction have some error to start with and never broadcasted on blockchain network?
May be. Only sender knows the correct answer

None of the above and have some other issue?

If it is not seen - it does not exist. Point

So  i do not know blockchain technology.  Can you please explain to me if there is any way to debug the error or get my money back. If you recover my $1600 I promise you $200 straight away


texts: Bitcoin core setup how to prune without downloading?

texts:
I want to play around with code to learn about Bitcoin such as synchronizing the chain locally, verifying the Merkle tree, creating a new wallet programmatically.

from what i've researched I will need to prune the initial blockchain, but i don't see the option in setup.

is there some other way i can install it [with prune] given my low available storage?

update

i pressed ok, and added the config file afterwards.

I am not sure if this config is used, and the GUI is giving me an error when i try to open it.


texts:
The first Halving Day was November 28, 2012, when block 210000 was generated.

How many more Halving Days will there be?


texts: How does blockchain ensure that a closed loop in network is not formed?

texts: Suppose there are 9 nodes and each node can connect to 8 other nodes. All these 9 nodes connect to the 8 others. Then when a new node comes where does it connect to in this case? All the current nodes are full (connected to 8 other nodes).


texts: Build an online wallet service with Bitcoind, can it scale? If not, what can be done?

texts:
I would like to build an online wallet service. I thinks it will be easy to implement all the functionalities if I go with Bitcoind. Here is a possible workflow:

New user with email bob@g.com can obtain a new account (in Bitcoind) with new address by calling getnewaddress bob@g.com
We can then start polling listsinceblock xxx to get all new transactions. If we receive a new incoming transaction, store txid in database, then iteratively call gettransaction txid on all unconfirmed transactions. When the number of confirmations are bigger than a certain threshold, credit the account in database, then call move bob@g.com safe, just to make the next step easier.
When safe account exceeds say 50BTC, send them to offline wallet.
When user wants to withdraw, refill safe if necessary, send the coins from safe, and update user's balance in the database.

However, in all the related questions I've read, most people say Bitcoind won't scale. Even the Bitcoin wiki says so. Now, if we are only to use the JSONRPC to interface the network, I can imagine the following workflow:

We generate say 1M addresses in database. When user signs up or require new address, we assign one address to them.
We enable blocknotify to get new block hash blkhash.
Call getblock blkhash to get all transaction hashes in the new block.
Call getrawtransaction txid to see whether we received an incoming transaction to our addresses. If so, keep the txid and keep polling gettransaction txid to update the confirmation number.
Call signrawtransaction, sendrawtransaction to move funds to offline wallet.

My questions are,

Do you think my proposals are reasonable?
What are the nuances in the operations above? For example,

by moving all funds to one account and then send money, does that count as one transaction or one transaction for each account? Are transaction fees the same?
when doing getrawtransaction, in the vout array, each object represents a destination, but each of them has an addresses array. There are cases where it contains multiple addresses. Does it mean it's a "multisig" transaction? Or is it related to reqSigs field? How do we handle such cases?

I've read following questions, but didn't find my answer:

Does the original Bitcoin client scale to contain millions of addresses?

Bitcoin Client API-RPC: Efficient way to list transactions from a list of addresses

Please help.. Thank you very much!


texts: Organization to keep track of wrongfully obtained bitcoins

texts:
I am curious whether there are any organizations that are actively trying to monitor bitcoins from illegal sources.
I understand that 'when done properly' you can make bitcoins practically untraceable, but I have just witnessed a rather amateuristic attack where people were suggested to transfer funds to
3EaRJ5p172iLYJKH8YYnPYFw9pKgxYg1sj and I wonder if anyone is trying to do something about these cases.
Just one partial solution I could think of would be to alert exchanges or vendors when the bitcoins are traced to them, so they can hold the funds untill the situation has been cleared up.
I am not asking whether my proposed solution makes sense, but I do ask  if there is any organization/solution that structurally tries to make life difficult for bitcoin criminals

So far I have seen a lot of answers explaining you cannot catch all criminals, but I would be surprised if we cannot even catch some.
I also found a reference to nomoreransom.org but ultimately that just referred me to the local authorities, which makes me doubt there is a structured approach behind this.


texts: Using Bitcoin Core on Ubuntu. How to claim BCH & BTG while keeping whole BTC blockchain?

texts: I'm using the Bitcoin Core client on Ubuntu.  I've got the whole ~170GB blockchain on my hard drive.  I'd like to be able to claim my BCH and BTG while preserving that blockchain, though if I don't have to keep multiple copies of the chain from before the forks, that would be optimal.  Does anyone have a suggestion of what wallet(s) and procedures to use?  Note that since the splits, I have had a single transaction out of the wallet which is, unfortunately, sitting in limbo.


texts:
What's the status of wallet format standardization? Is there any proposal or work-in-progress around? If not, how come nobody urges to define standard wallet formats yet?

This is especially needed for HD wallets where the seed phrase alone is virtually useless as long as each wallet software is free to use different derivation methods, branches, gap limits and other proprietary parameters.

Say I use software A to create a HD wallet and A derives the master private key after hashing the seed phrase with N rounds of SHA256 or whatever function. The software also tracks the creation time to speed up the sync in case we want to do a rescan.

Due to a critical bug software A corrupts my wallet. The only thing I was told to remember at the time was the seed phrase. Thank God I wrote it down, my coins are safe and I want to restore them with more secure software B. Unfortunately, software B defaults to M rounds of MD5 before deriving the master private key from the seedphrase. But I'm a lucky boy and I can choose both the derivation algorithm and the number of rounds. Err.. wait: I'm not a geek and this stuff is just sci-fi. After all, wasn't I supposed to just remember the seed phrase?

However, suppose we are lucky enough to find the exact derivation algorithm, here comes the gap limit: what's the software A default gap limit? Ask Google? WAT? Without the exact gap limit we may be missing transactions we're not even aware of. Scan the whole branch with a ridiculously high gap? Yes, why not, but who knows the A's branching structure? Are we really sure that it used the external/internal chain convention? Are we ready to scan billions and billions of addresses?

Last but not least, without knowing the seed creation time the sync process is much slower and may waste a lot of bandwidth on a mobile device.

I think these are very strong arguments for the skeptical user, it's unacceptable that people may lose coins just because nobody agreed on an universal format, both for static and HD wallets. Forum threads on how to restore a backup into another software are extremely common and I guess a BIP on wallet formats is in order. Why struggle with things like multisignature when the fundamentals are still uncovered?

Given the above I couldn't blame those who won't use such a currency to store their real-life money, honestly I wouldn't either.


texts:
Is it possible to create a bitcoin-like system that has a central authority?

I know that the reason that many people like bitcoin is that it is completely unregulated, but I was thinking that a "central bank" of sorts could make a cryptocurrency more like a real currency (less subject to huge short-term fluctuations) if it were able to create cash.

Would this be possible to do cryptographically (within the algorithm itself), or what would it require?

EDIT: More specifically, what would be the best way to do it?

EDIT2: I still want to keep the P2P transaction system, just have a central regulation system that can create and destroy coins.  I wouldn't want to do something like Arscoin where the server maintenance was less than optimal, to say the least.


texts:
Hello there I mistakenly sent your bch look to btc I would like your support TX : a235d00a0b215aac84df3f316ee75993d6c7021547e46c932456fa13abf43600

Btc.  1DG834n6U1VyuTPbWBKpRFpTQ48uHfrK1w


texts: Relatively simple question. Is it at all looked down on if I make a sell order at an exchange for a long time? For instance say I get some darkcoin and do the math to figure out how much of a return I'd like to get, then file the sell order in advance before it reaches the price I want. I don't know if this is normal, or seen as polluting the order list or something.


texts: Where can I find On Balance Volume for bitcoin? (or ETH, LTC?)

texts:
I recently read about the usefulness of On balance Volume (OBV) in predicting price movement.

I use GDAX and don't think it has OBV.
(Or is there?)

Any exchange that displays OBV?

Thanks.


texts: Can rainbow tables be used to find private keys from public keys?

texts:
I understand that the public key is kept hidden until a bitcoin transaction is made, at which point the public key has to be revealed to prove that you created the transaction with your private key. Until then, only a hash of your public key is ever shared, know as your bitcoin address.

Once my public key is known, would it be possible for someone to lookup my private key in a rainbow table ?


texts: The randomness of vanitygen is secure enough?

texts:
If two people running vanitygen 1abcdefg What is the chance that both of the person will get the same public key & private key?

I hope that the answer is less than 0.0000001. But for this vanigygen need to use random algorithm (not simple while(true){ i++; test()}).

My question is: Usually when I create wallet, using http://bitaddress.org I need to Move your mouse around to add some extra randomness, but vanitgygen do not do this method.

By inspecting the code of vanitygen in GitHub I see that they use random functions. Can I trust it? Is it really random? How it can be secure? Is it use the machine time or what?


texts: I'm new to this site. A few years ago I got a bitcoin wallet address but honestly never did anything after that but think there is a few dollars


texts: How does Bitcoin Core estimate the transaction fee?

texts: I want to know how Bitcoin-Core estimates the transaction fee and what factors it takes into account to estimatesmartfee. What is the formula that it uses? Can you also refer me Bitcoin Core files where I can find it's code.


texts: How does tax work with crypto Debit cards?

texts:
There are plenty crypto debit cards, like Crypto.com's or Binance's. I can easily use my fund to purchase goods and services without taking profit out of an exchange, and just simply use the funds on it.
If I purchase coffee with a debit card like that, is it taxable?
And if it is, how do I even know or calculate my taxes?
Is there a specific rule on this in the EU?


texts: What happens when tx is broadcasted whose input is not yet received by mempool or are unknown?

texts:
lets say, there are 2 transactions

tx1
address1 -> address2

tx2
address2 -> address3

our mempool doesnt have the tx1 yet, but i try to create a tx2 and broadcast it.

what will happen ?

will tx2 get included in mempool ? and relayed to other nodes ?

or

tx2 gets rejected. and wont be included in mempool  and wont be relayed to other nodes ?

what is the actual flow ?

what are such tx are called ?

What happens when tx is broadcasted whose input is not yet received by mempool ?or not in the old blocks i.e. missing/unknown.


texts: Transaction propagation criteria vs mempool inclusion cirteria

texts:
Do Bitcoin nodes propagate every transaction or only transactions that meet certain criteria? For instance, a transaction with a fee of 0 won't necessarily get included into a block and it might even be excluded from a node's mempool but would that transaction still get propagated throughout the entire network? Or can node choose not to propagate certain transactions?

If there is some criteria to which transactions get propagated what are they? I am guessing at the very least that nodes won't propagate invalid transactions?


texts: Is there a reliable way to measure bitcoin wealth distribution?

texts: Given the difficult of detecting lost coins, or telling between hoarded and lost coins, it seems impossible to actually report on the real wealth distribution of the bitcoin currency.


texts: I am familiar with the proof of work method and a little with the proof of stake method. Is there any more methods that are out there and how do they work?


texts: How are mining pools authenticated to clients?

texts:
Hijacking the connection between a powerful mining cluster and its mining pool, then impersonating the pool and claiming the mining results seems to be a likely attack.

How are mining pools authenticated to clients to avoid such attacks?


texts: CHECKSEQUENCEVERIFY After x time of last transaction

texts:
Is there a way where i can have a multi-sig address which will allow one of the signers to use only their single key after a set amount of time after each transaction/update on the address?

I want to have an address that requires 2 people to sign for outgoing transactions. But if after 30 days nothing has been done with the address at all a single signer can sign a transaction. But if there is ever anything such as an incoming or outgoing transaction the 30 days is reset.


texts: Most efficient way to calculate fee from getrawtransaction?

texts:
I would to get the fee when I search for a transaction using getrawtransaction, but the JSON-RPC does not return this.

https://chainquery.com/bitcoin-api/getrawtransaction

So to achieve this, my idea is to:

Call getrawtransaction for each vin, and save the output value for each one.
Sum all the output value for the vins, and subtract the sum of the vout values to give you the remainder.

I know this will work, but I dislike having to call getrawtransaction for each vin (as this JSON-RPC call will be made 200+ times for some transactions).

Is there a more efficient way? Or is this currently the only way to calculate the fee for a transaction using bitcoin-cli?

  Aside: Why doesn't getrawtransaction return a fee field, like the transactions in getrawmempool and getblocktemplate do?


texts: What would happen if you send Bitcoin (BTC) to a Bitcoin Cash (BCH, aka BCC) address?

texts: Could someone please explain what happens if someone sends bitcoin to a Bitcoin Cash address after the August 1st fork? Would there be a way to recover them?


texts:
I'm having trouble connecting to my node via JSON RPC from an external server.
On the same machine, I'm able to pass the commands through bitcoin-cli and also locally I am able to run this PHP file which passes successfully. Once I try to do the same from an external source, I receive an error. I've allowed my webservers IP, under the conf file as rpcallowip. I know it's default it to only accept local requests, but I thought as long as I enter in the rpcallowip then I would be able to do the same from another server. I've even tried to add a range on my IPs allowed, no luck.

My Conf:

 server=1
 rpcuser=userRPC
 rpcpassword=passRPC
 rpctimeout=30
 rpcallowip=68.65.122.148
 rpcallowip=68.65.122.0/24
 rpcport=8332

phpfile.php

require_once 'jsonRPCClient.php';

$btc= new jsonRPCClient('http://userRPC:passRPC@127.0.0.1:8332/');

echo "<pre>\n";
print_r($btc->getinfo());
echo "</pre>";

The above works perfectly when running locally. I'll change the above IP address to my node and then try to run it on an external server and I get a blank response as if my node isn't even running.

Error response received when running from external server:

Fatal error:  Uncaught exception 'Exception' with message 'Incorrect response id (request id: 1, response id: )' in /home/coincxby/public_html/jsonRPCClient.php:152
Stack trace:
#0 /home/coincxby/public_html/node.php(8): jsonRPCClient->__call('getinfo', Array)
#1 /home/coincxby/public_html/node.php(8): jsonRPCClient->getinfo()
#2 {main}
  thrown in /home/coincxby/public_html/jsonRPCClient.php on line 152

Successful response when I run locally:

Array
(
    [version] => 110100
    [protocolversion] => 70002
    [walletversion] => 60000
    [balance] => 0
    [blocks] => 390322
    [timeoffset] => 3
    [connections] => 11
    [proxy] =>
    [difficulty] => 93448670796.324
    [testnet] =>
    [keypoololdest] => 1419183361
    [keypoolsize] => 104
    [paytxfee] => 1.0E-5
    [relayfee] => 5.0E-5
    [errors] => Warning: This version is obsolete; upgrade required!
)

The only difference between the two is I change the target IP in the PHP file, and I'm running from an external server. Any ideas why I can't hit my locally running node from an external server?


texts: What bitcoin mining software is easy to use and start mining immediately with a pool & new ASIC boards?

texts: I'm looking to just start mining with my cheap laptop, but wanted to just ask whats the easiest mining software to setup and let it run in the background when my machine is idle. And the software has to be compatible with the new ASIC boards coming out too. I guess which software do you recommend without much configuration besides putting in your btc address.


texts: SegWit Version - is there a proposal for new versions?

texts:
I can see transactions with version 0
Are there any other versions of SegWit proposed or in existence?


texts: Unconfirmed transaction for 6 days now. need assistance for using CPFP

texts:
I have an unconfirmed transaction that has been sitting there for 6 days now.
The fees only got higher sins i've made the transaction and i do not feel comfortabel waiting.
I'm unable to use RBF sins trezor thus not support this and i'm nor sure on how to use CPFP
the TX is : 8b5032bcc435ebc612128fb66c30d85af19febd6f03dafb9114253dac6a9e0cf
After the transaction i've noticed that the recieving wallet is a legacy one, while i've send it from a segwit. could that cause any problems?
Is there any risk comming with waiting any longer?
Thx


texts: Should "bitcoin" be used as a countable noun admitting a singular and a plural (so that one says "600 bitcoins are in this wallet") or as a mass noun, (like "water" or "money") (so that one says "How much bitcoin is used every day throughout the world" or "600 bitcoin is enough for this transaction")?


texts: Can't send raw transaction Bitcoin Core 0.19.1 - non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation)

texts:
I wanted to send a raw testnet transaction and I was doing it like in the bitcoin documentation, but I still get this error:

non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation) (code 64) (code -26).

What am I doing wrong?

I take one transaction from my listunspent

{
    "txid": "8ee71fee9e4706100c09fb2da4c3ccdac1a4475981bd893ba1eba9417947abff",
    "vout": 0,
    "address": "2Mw44JvAhBs4hgh5bT3gP2NgbhTbVwngW1m",
    "label": "",
    "redeemScript": "00143b88811e01b3efaa0bcd9da16ef85ef3a1583349",
    "scriptPubKey": "a91429c3d920cd18e34db9035c4322474aae4465792187",
    "amount": 0.02641617,
    "confirmations": 16197,
    "spendable": true,
    "solvable": true,
    "desc": "sh(wpkh([8939dfa5/0'/0'/8']02a44b3dd2f0964048265982156f668c037dfabc140eb98f292dbb723d28b85261))#husuy9tw",
    "safe": true
}

Then I create raw transaction from this:

createrawtransaction '[{"txid":"8ee71fee9e4706100c09fb2da4c3ccdac1a4475981bd893ba1eba9417947abff","vout":0}]' '{"2NCH5HXBwfHegFEUTNrkSKzyYTnTYQKDUjU":0.02}'

dumpprivkey
And signs the transaction like this

signrawtransactionwithkey '0200000001ffab477941a9eba13b89bd815947a4c1daccc3a42dfb090c1006479eee1fe78e0000000000ffffffff0180841e000000000017a914d0c3f50336b5f109207d722c692191ff86263e968700000000' '[" $privKey "]' '[{"txid":"8ee71fee9e4706100c09fb2da4c3ccdac1a4475981bd893ba1eba9417947abff","vout":0,"scriptPubKey":"a91429c3d920cd18e34db9035c4322474aae4465792187","redeemScript":"00143b88811e01b3efaa0bcd9da16ef85ef3a1583349","amount":0.02}]'

{
  "hex": "02000000000101ffab477941a9eba13b89bd815947a4c1daccc3a42dfb090c1006479eee1fe78e00000000171600143b88811e01b3efaa0bcd9da16ef85ef3a1583349ffffffff0180841e000000000017a914d0c3f50336b5f109207d722c692191ff86263e968702473044022010c174b3306cac5ca8ddbb6eadf0de2299c2a216ade25088290c17880aa5bd60022017bc9de608e7ff59ffa09a6a60d848875d37edfc4a4b687f0eb94d4c2cd11b4f012102a44b3dd2f0964048265982156f668c037dfabc140eb98f292dbb723d28b8526100000000",
  "complete": true
}

But when I want to send raw transaction

sendrawtransaction 02000000000101ffab477941a9eba13b89bd815947a4c1daccc3a42dfb090c1006479eee1fe78e00000000171600143b88811e01b3efaa0bcd9da16ef85ef3a1583349ffffffff0180841e000000000017a914d0c3f50336b5f109207d722c692191ff86263e968702473044022010c174b3306cac5ca8ddbb6eadf0de2299c2a216ade25088290c17880aa5bd60022017bc9de608e7ff59ffa09a6a60d848875d37edfc4a4b687f0eb94d4c2cd11b4f012102a44b3dd2f0964048265982156f668c037dfabc140eb98f292dbb723d28b8526100000000

non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation) (code 64) (code -26)

I tried with a lot of transactions but I can't send it and can't see what I'm doing wrong. Normally, the Bitcoin Core send button works fine.


texts: How to buy bitcoins with Dwolla now 6/14/13?

texts:
Since Bitinstant has deactivated dwolla deposits and campbx has a 31 day wait, besides otc, is there any other exchange ??  Maybe a foreign exchange ?

thx


texts:
I've been working on a project involving use of the various Blockchain.info APIs (specifically  the Blockchain Data API), and am wondering if anyone has tips regarding error handling: the API documentation says nothing about how errors are handled, and my experiments seem to indicate that errors are returned with HTTP status 200 and a strictly HTML response.

Has anyone implemented a client for this API and can shed some light on whether this is the "usual" state of affairs or a bug? Any additional tips would be greatly appreciated.


texts: Why bitcoin addresses have different number of characters?

texts:
With the help of bitcoin wiki I learned that every bitcoin address stands for a number and that shorter addresses are valid just because they happen to start with zeros, and when the zeroes are omitted, the encoded address gets shorter.

Source: https://en.bitcoin.it/wiki/Address

I am not sure I fully understood everything. First of all, I suppose the part about a "bitcoin address stands for a number" refers to hexadecimal digits?

Other point I'd like to clarify:

How the zeros can appear while address is generated in the first place? I thought that zeros (along with l, I and O) does not exist in Base58Check encoding at all.


texts: How to send bitcoin to a multisig address

texts:
I am trying to deposit bitcoin to bitmex, which only offers multisig wallets.

I have tried to send from both GDAX and Jaxx, but the addresses are reported as invalid.

Apologies for the basic question, but how do I send to a multi-sig address?


texts: How many wallets allow the user to change outputs for RBF transaction?

texts:
I have not tried this option but read about it on twitter: https://twitter.com/bluewalletio/status/1304358287123648513
Not sure maybe this is the code that creates a transaction with different outputs which replaces an unconfirmed RBF transaction: https://github.com/BlueWallet/BlueWallet/blob/73961471571cba764745c6e64754f13e86e51640/class/hd-segwit-bech32-transaction.js#L243
How many other wallets do you know that allow the users to cancel an unconfirmed transaction in a similar way?

Creates an RBF transaction that can replace previous one and basically cancel it (rewrite output to the one our wallet controls). Note, this cannot add more utxo in RBF transaction if newFeerate is too high

I didn't understand the last part. Why can't it add more utxo if newFeerate is too high?

@param newFeerate {number} Sat/byte. Should be greater than previous tx feerate

BIP 125 mentions that fee rate and fees both should be higher. So, is higher fee rate enough for replacement tx even if absolute fees is less?


texts: Where is the lightning history persisted?

texts:
In relation to this question:

Alice & Bob where they transfer 1 BTC each other.

Both Alice & Bob transfer 1 BTC into a shared multisig address.
A ‘balance sheet’ is created where 1 BTC is paid by Alice -> Bob and 1 BTC is paid by Bob -> Alice.
In the above transaction, Alice signs the transaction and gives to Bob and vice-versa.
Either Alice or Bob can sign their counterparts payout transaction and broadcast it to the blockchain.
Alice will update the ‘Balance sheet’ as 0.5 BTC to Alice and 1.5 to Bob and send the payout transaction to Bob to sign.
To ensure neither Alice  or Bob revert to the old transaction, each will create an ‘anti-cheat’ transaction.
If Alice and Bob wants to close the channel, they can consensually close the channel and broadcast the transaction to the blockchain.

Where is this balance sheet persisted? What happens if BOTH Alice AND Bob lose this information?


texts:
How does Zerocoin work?
I got the idea that it is used to add anonymity in bitcoin.
It converts bitcoin to Zerocoin and back to bitcoin. But how does this process work? I tried reading the research paper on Zerocoin, but the example provided is difficult to understand (for me).

  Imagine that all users share access to a physical bulletin board. To
  mint a zerocoin of fixed denomination $1, a user Alice first generates
  a random coin serial number S, then commits to S using a secure
  digital commitment scheme. The resulting commitment is a coin, denoted
  C, which can only be opened by a random number r to reveal the serial
  number S. Alice pins C to the public bulletin board, along with $1 of
  physical currency. All users will accept C provided it is correctly
  structured and carries the correct sum of currency. To redeem her coin
  C, Alice first scans the bulletin board to obtain the set of valid
  commitments (C 1 , . . . , C N ) that have thus far been posted by all
  users in the system. She next produces a non-interactive
  zero-knowledge proof π for the following two statements: (1) she knows
  a C ∈ (C 1 , . . . , C N ) and (2) she knows a hidden value r such
  that the commitment C opens to S. In full view of the others, Alice,
  using a disguise to hide her identity, 1 posts a “spend” transaction
  containing (S, π). The remaining users verify the proof π and check
  that S has not previously appeared in any other spend transaction. If
  these conditions are met, the users allow Alice to collect $1 from any
  location on the bulletin board; otherwise they reject her transaction
  and prevent her from collecting the currency.


texts: i mistakenly transferred 2.0 BCH from a BTC(blockchain.info) address to a Segwit address(Greenaddress)... I need help in recovering my BCH. I'm will to part with 20% if you can help retrieve it. I'm not really an IT inclined person so i'm ready to send whatever infos needed in retrieving to whoever is willing to help.


texts:
I'm following the instructions on http://dot-bit.org/How_To_Browse_Bit_Domains and I have installed foxy proxy and I have gone to several .bit sites. But all of them I see are exactly the same. All of the .bit sites say the following?

Namecoin is a peer-to-peer, alternative distributed Domain Name System based on Bitcoin software. It provides cheap .bit domain names that are not regulated by any central authority.

Download the Namecoin client
Install the Namecoin client on your computer to access the Namecoin network and register your .bit domains.

Configure your DNS
Change your DNS settings on your computer or on your whole network to enable access to .bit websites.

Spread the word
Namecoin is still growing. Use the Facebook and Twitter share buttons on this page to spread the word and help it grow even faster!

Have the site owners not put any websites up and I'm seeing the default installation pages? Or have I configured my browser wrong?


texts: Provably fair unknown event time for Bitcoin gambling

texts:
I have a bitcoin lottery that is still in the prototype stage (bitsplit.it).

I believe that the game will be much more appealing, for certain reasons, if players (and the house) both don't know when the next winner will be chosen.

However, I am having a hard time with coming up with a (feasible) way to prove that the house doesn't know when the pot will split.

Any ideas are greatly appreciated.


texts: Are number of transactions in Merkle Tree always "even"?

texts:
According to definition and structure of the Merkle Tree, apparently, the number of transactions in a block that inserted in a Merkle Tree structure must be even (and not odd), is not it?

Please see the following figure which shows a Merkle Tree:

All the examples that I have seen, are like this one, meaning that apparently always number of transactions in a Merkle Tree are even (ex. in the example above there are four transactions). Is there an example in which number of transactions would be odd? And what happens if number of transaction are odd? (ex. how to insert 5 transactions in above example?)


texts: Is there a Bitcoin gateway for PrestaShop with these specific features?

texts:
PrestaShop is a free, secure and open source shopping cart platform.

I am searching for a PrestaShop payment processor with the following features:

works without without third party (save commission)
gives a new address to every checkout
automatically verifies in admin/customer after N confirmations
gives wallet info in admin panel

Alternatively, is there a PHP implementation with these functions to allow coding all this?


texts:
The original Bitcoin paper states:

  We define an electronic coin as a chain of digital signatures.

What happens when a coin is subdivided and transferred to multiple owners? Does each coin fragment form its own chain of digital signatures, or are all the fragments still part of this one original chain of digital signatures?


texts: How do I determine a block's extranonce value? I know they are in the coinbase transaction, but where? How do I decode the part that is the extranonce?


texts: HD wallets with an exposed child private key

texts:
HD wallets as described here are built based on a master seed and a master public key as follows:

PK.b = PK.a + sG
SK.b = SK.a + s

I just got a little confused about this. Is s the mnemonic seed that
user knows? which generates the private keys.
Secondly a service
provider only needs to know sG to calculate the user's next address.
Am I right?
And lastly more importantly I am just wondering whether it is possible to
calculate the master private key (seed) if an attacker or service provider gets one child's private key address?


texts:
I am android developer. I have used https://blockchain.info/api/blockchain_wallet_api API for my application But the problem is now how can I test my application (transactions) with out having bit-coins in my wallet. Is there any play ground or SandBoxing for testing specific for BlockChain wallet API?

Thanks


texts: How can I tell Bitcoin to only spend confirmed inputs and self created outputs

texts:
I want to make sure that the transactions I create with the original client are always using confirmed inputs and self created outputs.

Bitcoin used one of the transactions that I describe here in this question: Stuck duplicate transaction in BitcoinQT

as an input. So the new transaction is not being confirmed either.

I want to make sure that my transactions are always using confirmed transactions. Is this possible?


texts: If everybody stops paying transactions fees

texts:
What would happen if hypothetically, every bitcoin user decides in consensus with the rest of the world to stop paying transactions fees from now on. Miners will be forced to include transactions anyways in the blocks, because if they don't, bitcoin will become useless for most people, thus decreasing its value as a whole. The 25 BTC they would get from solving empty blocks will be close to zero in value.

So why miners can't be satisfied with just the coinbase earnings? no fees for users = more adoption = BTC value goes up.


texts: Convert bech32 Bitcoin address to legacy

texts: I know that similar tools exist for BCH (e.g. https://cashaddr.bitcoincash.org/). Is there a way to convert a native segwit bech32 Bitcoin address to a legacy format?


texts: Getting address balance that not exists in my wallet

texts:
When im trying to get balance of remote address I'm getting an error, this address not exists on my wallet and I want to follow her balance.

This is what I tried:

bitcoin-cli getreceivedbyaddress "1FJhBusrEHPZVTey5Q7zb3ZND86nYWrNV2" 0

And this is the error that I'm getting:

error code: -4
error message:
Address not found in wallet

I know that this address is not existing in my wallet but i do want to follow her balance.


texts: I just buy some bitcoin and this is how I see from Electrum, what should I do now to receive the bitcoin?

texts: The first time I receive bitcoin, should I wait until it's confirmed


texts: How to get total number of transactions from bitcoin core wallet using rpc

texts:
I'm trying to implement paginations using :

https://chainquery.com/bitcoin-api/listtransactions

I want to have reverse listing (oldest first), so I need to get total number of transaction returned by listtransactions call.

I know that getwalletinfo returns number of transactions, but listtransactions returns transaction outputs, which are more if sendmany is used.

Is there any method to get listtransactions.length without fetching all transaction in the wallet ?


texts: Which transactions are being submitted in the very first blocks of some digital currency?

texts:
This is more like general question about digital currencies rather than about Bitcoin specifically, but it still is relevant to Bitcoin I guess (at least this SE section is more suitable for this question than Stackoverflow).

I took some time to understand how digital currencies work, and it is common for all of them that transactions are submitted in blocks that are generated by miners.

And now there are dozens of cryptocurrencies out there, and all they maintain the same mining principle. But what I can't understand is that when a new digital currency is launched there are no transactions going on since there is no one trading it, which implies that there is no mining and no new coins issued.

So my question is, how does it begin? How these digital currencies develop and expand if there are no transactions initially?

Thanks in advance!