texts:
have read all possible examples on the internet but still cannot connect to btc node from Java.

I'm using btcd-cli4j but have tried all other rpc libs as well, result is the same.
This is the command:

BtcdClient client = new VerboseBtcdClientImpl(httpProvider, "127.0.0.1", 8332, "foo", "bar");

This is the docker image:

version: '3.3'

services:

bitcoind:
image: seegno/bitcoind:latest
command:
  -printtoconsole
  -regtest=1
  -rest
  -rpcallowip=172.18.0.2
  -rpcuser=foo
  -rpcpassword=bar
  -rpcport=8332
  -server
  -logips
  -debug=rpc
ports:
  - 8332:8332

Have tried couple of different docker images as well. Always the same:
Exception in thread "main"

HttpLayerException(super=CommunicationException
(super=com.neemre.btcdcli4j.core.http.HttpLayerException: Error #1003001: The server responded with a non-OK (4xx) HTTP status code. Status line: HTTP/1.1 403 Forbidden, code=1003001))

My suspicion was around rpcallowip but don't know how to set correctly. This one is set by going into the docker container and executing hostanme -i to see the ip address. Setting that one in config and restarting the container.


texts: How to move bitcoins to own wallet from other wallet

texts:
I am new to bitcoin community and I have a website where I want to collect payments through bitcoin or altcoins.

For now I want to know that can I shift my bitcoins from one wallet to another
wallet without paying any fee if yes how can I do this with my limited knowledge
of bitcoin network.

Here is the example of my situation :-

I have generated a bitcoin address for myself called MainWallet
now I have generated two bitcoin addresses for my customers to collect payments for example we can say CustomerWallet1 and CustomerWallet2 now if my customer pay for their respective orders  let say I got 1 BTC on both customer wallets can I shift this 1 BTC to my MainWallet from both of my customer wallets without paying any miner/transaction fee.

If yes how can I do this manually on my windows PC.

Please note : I have private key for all address which I have generated here.

Thanks


texts: If there was a period of time with no transactions, what would miners have to do?

texts:
This question is similar to a few others, but I haven't gotten seen a clear answer anywhere.  It came up as I was trying to explain mining to a newcomer.  And he asked: "If aliens came and put all humans to sleep ( and any automated transactions that may have been setup ) would miners have anything to do?"

So the question is, if zero transactions are happening, are miners still mining? And if yes, what exactly are they doing?

I explained also that eventually block rewards will end, so I'm looking for an answer that is agnostic of the bitcoin network now vs the post-block rewards bitcoin network ( after the 21 million are "mined" )


texts: Can I generate passive income on BitCoin

texts: Sorry if this sounds like a basic question, but I struggle to see how Bit Coin works as an investment because, unlike standard currency there is no way get interested on stored bit coins. For example, say you have $10,000 in a set period of (depending on what your banks interest rate is) you could see your money become 11K, 15K or even double. Now lets say (hypothetically of course) one has 100 bit coins. Its unlikely that they will become 101 in the coming future right?? So how does one generate any form of passive income?


texts: Payment Protocol: Is using different addresses for refunds just because of privacy?

texts:
One of the features of the new payment protocol is that it allows the customer's wallet to automatically send a refund address with the transaction to the merchant.

Why would the refund not be sent back to the same address?

I read the related question regarding why change is sent to a different address. Gavin and David Schwartz mentioned it being more difficult to track your bitcoin spendings and it obscuring which address is the spending address and which the change address.

Is this the reason why new addresses are supposed to be used for refunds or are there any additional reasons?


texts: Im curious what the difference is between the vSeeds and the vFixedSeeds. I see how the vSeeds and DNS loaders of IP address and then there is the vFixedSeeds that are generated with python and the list int he contrib dir. Do both the seeds get used as nodes I only see vSeeds in the net.cpp file but hard to tell if the vFixedSeeds get injected into that node list.


texts: rpcallowip=192.168.0.* ?? invalid configuration

texts:
I recently downloaded bitcoin from github and changed the settings to allow for rpc.

This is how I have it:

rpcallowip=192.168.0.*

This does not work anymore.

However when running bitcoind, it complains that:

Error: Invalid -rpcallowip subnet specification: 192.168.0.*.
Valid are a single IP, a network/netmask or a network CIDR.

I'm not that familiar with networking.

Can someone tell me what a valid network/netmask or network/CIDR is for all addresses that could be in 192.168.0.*


texts: Is it actually possible to install Bitcoin full node on a Raspberry Pi 3B+?

texts:
A Raspberry Pi 3B+ has only 1GB of ram and this official Bitcoin Core page shows that minimum requirement is 2GB ram and 200 GB storage with 100MB/s read and write speed.

But I see a lot of articles where people installing full node on a Raspberry Pi 3 or even older models. Also I see some tutorials where they install full node and run testnet daemon and they attach 500GB+ external HD. Why would they need an external HD when testnet blockchain size is about 8GB.


texts: Bitcoin core: why does the wallet file contain transactions?

texts:
I really don't understand why the strong coupling here.  I mean, whenever I go and make a backup, if there's a new transaction involved, the hash of the backup changes.

I wonder why this is.  And furthermore, wouldn't it be 'better' (or what is lost?) by having a loosely-coupled transactions file that wouldn't change a bit after a transaction?


texts: Is the bitdigger chrome extension fraud?

texts:
Today, while I was watching a video on YouTube, I found the video on the bitdigger extension that mine bitcoins with chrome browser. I just want to know if it is fraud or legit? Is it possible to mine via JavaScript?

Edit: My computer is always turn on, let's say at least 20h in a day. Is it bad if I leave bitdigger run in a part?


texts: Sent BTC from Coinbase, blockchain explorer says Confirmed. Is recipient lying or could something else be the issue?

texts:
Sent BTC (approx $500) from Coinbase,  Blockchain explorer says Confirmed. Is recipient lying they have not received or could something else be the issue such as his wallet?
Recipient says it could be because his 'hard' wallet is set up in a way so it activates/acknowledges/receives with $1000 transaction minimum?
He is meant to send back a larger payment to my wallet ( from which i sent the payment) as part of some investment returns. Don't want to think i'm being scammed so giving the benefit of the doubt and seeing what the community answers with.

https://www.blockchain.com/btc/tx/8fc6a9b6a4678efa77d07c959652e2cd7a5c2a7a00b948766d6bcd551bcffec4


texts:
Newbie here!

I need to confirm something:
I have bought bitcoins and I already see them in the QT client I am using.
I now want to send the bitcoins using a different address than the one I use to receive them.
Do I have to send the bitcoins to another address and only then send them again to the final destination?
Thanks!


texts: I used an old wallet address. Is my coin lost?

texts: I was stupid enough to use an old exported QR code from my Electrum to send bitcoins to, and now I realized the address apparently has changed. The trader advises me the coins have been sent, so they are most likely lost in the ether -- or is there any chance this will get to my wallet eventually? I'm asking this because my Electrum is still syncing and I'm suspecting the coins might be climbing the blockchain-ladder to arrive in my account later?


texts:
I sent bitcoin from one of my wallets to another wallet using one address (output)
then this is what I got only a fraction of my bitcoin the bigger amount went to another unknown address to me

https://blockchain.info/tx/9ddc08fd1faf741bfa77a606d7b7faf8ba92dd2229fc7525e7e00c6f704e60e1

total newbie here don't even ask why I transfer from one wallet to another...
this was a transfer from electrum wallet to mybitcoin wallet if that matters
this is the first transaction from the first bitcoin I bought
there no new adres for my change in my wallet


texts: How can Bitcoin be used by a charity in the Congo to receive donations from people around the world paying in different currencies?


texts: How can I look up how much ASIC Miner has mined in the last week?

texts: I can see a list of their most recent blocks here: http://blockchain.info/blocks/ASICMiner, but is it possible to get aggregate numbers over a given time?


texts: Use Bitcoin RPC to send from many addresses to single address

texts:
I am looking into being able to send coins from specific addresses to a single output address using bitcoin-cli

Is this possible? What RPC command would I use? Any chance of an example?


texts: Is it possible to get rid of mining pools and therefore get a truly decentralized bitcoin?

texts:
There are some criticism that PoW of bitcoin and ethereum protocol suffers from the centralization of mining pools, and dPos such as EOS claimed to be more decentralized in practice than bitcoin and ethereum even it only has 21 block producers.

My question is, is there any possibility to get rid of large mining pools centralization? Ethereum tried to make the hashing algorithms ASIC hard, but it seems that it doesn't do any better.


texts: Bitcoin client incentives to share peers and blockchain

texts:
Question a bit related to Microsoft's research on incentives of sharing transactions.

What is the incentive for a custom-tailored Bitcoin client to share information regarding known clients and the existing blockchain? For example, the client could set its "services" in "version" message to 0 and not be bothered with sharing much data. What encourages the Bitcoin clients, asides common curtsey from the people running the software, to share the data?


texts: How to transfer private addresses from one wallet to another?

texts:
My wallet has 3 addresses. My other wallet has 5 addresses. I just want to synchronize those.

How would I do so?


texts: Is there a difference between relaying a transaction and relaying a block?

texts:
I was checking the message types of the Bitcoin protocol and got curious whether there is a difference between relayin a transaction and a block, or not?

For example, notfound message say that notfound is a response to a getdata, sent if any requested data items could not be relayed, for example, because the requested transaction was not in the memory pool or relay set. Does it mean that getdata is only used for transactions?


texts: What programs, websites or other applications leverage Mt Gox's API?

texts:
I'm looking for sample programs and apps that leverage Mt Gox and learning what they do. Is there such a list in existence?

Links to the appropriate BitcoinTalk or Wiki page would be more than sufficient as long as it's centralized.


texts: Do bitcoin miners calculate the hash value of current block or next block?

texts:
I'm new in bitcoin and my question seems be stupid. I appreciate your help.
Miners calculates blockhash as picking a proper nonce.
And he is awarded.
To calculate block hash, he will need 6 values. 2 of them are merklehash and nonce.
I'm gonna say about merklehash and blockhash. Suppose that miner A is trying to calculate.
To calculate blockhash, merklehash is needed. But merklehash is a hash of all transactions of the block. The first transaction data is that a miner is awarded(?). That means merklehash is calculated after awarded miner is determined. What's the difference between awarded miner of this block transactions and A? I really don't understand.


texts:
The number of blocks formed is 1 every 10 minutes. As the number of transactions increase, wouldn't the time taken for a transaction to confirm become slower?

I am asking this because this the number of people transacting increases but how fast blocks get generated is constant. Or am I going about it all wrong?

From what I read, I understand that a block is generated whenever a proof of work is submitted by a miner; this happens when the miner processes a transaction. So in addition to the transaction, he also gets some bitcoins which are once again added to the block chain.


texts: Why does Armory rescan the block chain every time it opens?

texts: The title says it all: every time I open Armory, it appears to rescan the entire block chain (after synchronizing). Why can't it just keep a file that says if any blocks contain transactions for my wallets, or something similar?


texts: I have sent my BTC to a BCH wallet on Coinbase, it is for a sizable amount of money and I read that if greater than $5K, they will help you.  What is the proper channel to ask for help as the cases I have opened are not getting any results.  Both accounts are mine one on Electrum (BTC) and one on Coinbase (BCH)


texts:
Sometimes it takes bitcoind more than a minute to respond to basic RPC calls such as getbalance (and on average, it takes at least 5 seconds), even though the "STAT" according to the Linux 'ps' program remains "SLl" (Sleeping!). I've confirmed I was looking at the RPC server process and not the client process. How is this even reasonable?

It shouldn't be possible to run large-scale sites like Mt. Gox with those kind of response times. What special considerations need to be taken into account to get performance out of bitcoind?


texts: Why is there currently no bitcoin package in Debian?

texts:
Why is the bitcoin package currently not in Debian? And how to help get it back in there?

It'd make it a lot easier for more people to run a full node with this.

https://tracker.debian.org/pkg/bitcoin


texts: Is there data on the geographic distribution of bitcoin users?

texts:
If you are a company wanting to adopt bitcoin as a payment method or an academic wanting to study the bitcoin market it is important to know as much as possible about the bitcoin users. Since bitcoin is pseudonomous it is hard to gather direct information on the users. However, if users want to make transactions then they need to broadcast to the network. Although the IPs are not stored in the block-chain, there are ways to learn them. With the IP addresses, it is possible to use IP Geolocation to get an idea of where the user is. Hence the question:

Is there data available on the geographic location of users of bitcoin? Especially on volume of bitcoin transactions from given geographic areas?

Or is it impossible or unlikely that such data can be gathered? If the majority of users use Tor for instance, then it would not be possible to get a good location data. Are there other technical constraints that make it impossible to use this or other approaches to learn the geographic locations of a large number of users?

Meta note
Since bitcoin is new, it is possible that such data is unavailable yet just due to the novelty. Please don't provide such answers, we can just wait until such a study is done and given as an answer. A 'no' answer is interesting only if it explains a technical constraint that would stop such studies from ever happening.
Also, it is possible for a committed user to invest effort in order to hide their location. However, unless there is reason to believe that most users use such efforts, this is also not a very relevant answer.
This question is an attempt to turn our lowest voted question into a legitimate specific question.


texts: Sign rawtransaction with private key without running a btc node

texts: I have a tx raw and I want to sign it with my private key without running the btc node is there any library in C/C++ that I can do it?


texts:
When starting Ardor on Ubuntu, i have an error: "Could not find or load main class nxt.Nxt"

Any help?


texts: Why bitcoin rise causes altcoins to drop?

texts:
Bitcoin has grown significantly in the last few days. From what I can see on Binance, price of the majority of altcoins has dropped significantly relative to bitcoin at the same time. I've been thinking that bitcoin rise should make another cryptocurrencies even more valuable but looks like there is an inverse correlation.

So why are the altcoins dropping related to bitcoin so heavily? Can anybody explain what's causing such relationship? Thank you.


texts: What is the path used for the HD wallet in Bitcoin Core 0.13?

texts:
I heard that the next version of Bitcoin Core will support HD wallets.

What will be the path used for that implementation?


texts: What current wallets support deterministic public addresses (BIP32)?

texts: Just curious how many complete implementations of the bip32 standard exist.


texts: Sent BTC , Receiver says not received, As per him it went in Mempool's back wallet

texts:
I have sent BTC , My receiver says that its not received  it has gone to the back wallet of Mempool. and it would be reversed by mempool to my wallet back.  I have sent it via localbitcoin. communicated local bitcoin it is sent by them and status on blockchain shows confirmed . I got a mail from Mempool stating that it would be reversed back  within 21 to 23 days. kindly check and revert with the possibility
txn- ID 661e9c15275e5bf12f5b33c7394ad16c63931796112e6c3dfadc5c356e5d0365


texts: Is there a way to blacklist or track ransomware bitcoin addresses?

texts:
Bitcoin ransoms seem to be on the rise.
Do exchanges or some organization attempt to put comprehensive lists or tracking of bitcoin addresses used for nefarious purposes that are available to the public?


texts: How does 1ML measure the availability ranking of nodes?

texts:
If there is an 1ML Node Rank ranking explanation anywhere ?
My node is online 99.9% but "Availability" dropped down from 700 to 4000 in last 3 months. :(
I guess this is somehow associated with the number of channels ?


texts: Determine inputs/outputs of a transaction before sending

texts: I am attempting to build a working withdrawal system where users can withdraw funds in BTC. I am required to estimate the fee before allowing them to withdraw to include it in their payment. I was able to determine the maximum estimated fee based on inputs and outputs of the transaction. I had assumed that the transactions would have 1 input and 2 outputs as when I was testing that was the outcome. I am now seeing transactions with multiple inputs and outputs making the transaction size larger, therefore, increasing the fee. This is problematic for me as I am having to pay for these fees. I need to be able to determine the inputs and outputs of the transaction before I send it to the blockchain.


texts: Is it time to move data storage (of things like music, images, virus definitions) out of the block chain?

texts:
This is a technical question and I don't have the answer. I would like someone to explain why this data is necessary.

If your answer is receipts or smart contracts, then my question is, "Why not put that in side chains?" I see two problems with this data being in the bitcoin block chain: First, it allows malicious data to be inserted. Second, it takes up more block chain space. Here is the cointelegraph article about music:

http://cointelegraph.com/news/114172/music-copyrights-stored-on-the-bitcoin-blockchain-rock-band-22hertz-leads-the-way

This question is a copy of my post here:

https://www.reddit.com/r/rBitcoin/comments/355pvr/time_to_move_data_storage_of_things_like_music/


texts:
Is there some way in which User A who could load a transaction onto the block chain and if some other User B who is willing to pay User A, without User A being online could release the loaded transaction. Something like  a smart contract ?

Lets say if A and B wants to exchange some bitcoin transactions between each other. But they
both dont know each other before. A list his address some where and when B sees it, B will
issue a bitcoin transaction to A.

A might not be online when B has issued this transaction. But B should receive back a
transaction from A, if B has payed to A's address.  How's it possible ?


texts: How to force MyCelium wallet to show all transactions

texts: Have been using MyCelium wallet regularly for the past 3yrs without any issues.  Last week after I transferred some funds, UI seemed buggy/laggy, not refreshing properly.  I uninstalled the app and did a fresh install. Restored from my master seed and to my horror:  the balance is WAY off.  I look at the sync'd transactions and it has stopped after 7/18/2018 !  I force as reload, refresh, everything I can think of and it's as though all further transactions have disappeared?!  I've tried loading in electrum wallet, same result.  Anyone know wtf is happening?  why can't I see the up-2-date transactions and why is my balance off by more than 10 btc ?!  Any help would be greatly appreciated!


texts: What's the point of the hash160 field in blockchain.info API?

texts:
I've been wondering who/what could use the hash160 field of the blockchain.info API.

For example, for the address "1N3Xxt13zbDLU66aSBiMB7AjRW1UiUFAau", the hash160 value is e6d55202fe5e9e9e2973aab12bbb91db67948138, which is roughly the hex format of the address (00e6d55202fe5e9e9e2973aab12bbb91db6794813840292932).

As it seems truncated, it seems that we miss some bits of information.

Also, I've seen that the hash160 should be calculated differently, so why this value is present?


texts: How Ripple is different from Bitcoin and other crypto-currencies?

texts:
How Ripple is different from bitcoin and other crypto-currencies? What does Ripple do that is different from bitcoin?

Riple and Bitcoin are two different implementation of p2p currency and fund transfer protocol. Similar constructs exist both the sides, like bitcoin block chain vs. Ripple ledger, both systems support irreversible transactions, distributed, p2p (eliminates third party and banks), etc.

One difference I noticed, is transaction fees is lower in case of Ripple.


texts: In a given contract, should the "LockTime" timestamp include an extra hour for confirmations to prevent a double spend?

texts:
Anytime a transaction has a timestamp attached to it, and there are signed but not submitted transactions at play, shouldn't the holder of the non-submitted tx have to take into account the confirmations w.r.t. the expiration time?

Namely in example 7 of this wiki page on contracts I would think that if the AP waits until nearly midnight (almost when the tx expires) then there is a possibility of a double spend and the AP may not get paid.  That means the AP would have to submit the tx 6 confirmations early... almost one hour.

Is this a correct understanding of locktime in relation to double spend attacks?
How should this be handled when the network is rapidly increasing in block generation (and difficulty hasn't been adjusted)?  This is happening now with the GPU-> ASIC conversion


texts: Can I have an autonomous loop channel with myself where I would suck all excess inbound/outbound capacity to/from channels I have with other parties? In such a case, I would not have to even burden Bitcoin blockchain with the looping activity.


texts:
I want to use blockchain API for my store but the wallet only monitoring last 20 generated address.

Quote from https://blockchain.info/api/api_receive:

  As defined in BIP 44, wallet software will not scan past 20 unused
  addresses. Given enough requests from this API that don't have a
  matching payment, you could generate addresses past this horizon,
  which would make spending funds paid to those addresses quite
  difficult. For this reason, this API will return an error and refuse
  to generate new addresses if it detects it would create a gap of over
  20 unused addresses. If you encounter this error, you will either need
  to switch to a new xPub (within the same wallet is fine), or receive a
  payment to one of the previous 20 created addresses

I googled about this problem and found some solutions such as:

Solutions that I found

Check gap with blockchain checkgap API and don't generate new address until they have been paid.
Increase gap limit on the receive api.
Send money to the last unused address.

Problems with these Solutions

If I have 20 unpaid address and they never been paid, solution #1 can not solve the problem. it just say I have 20 unpaid address.
Solution #2 can not solve the main problem. Even I set the gap limit to the 100, How about the time that 101 curious users only want to see the checkout page and close it. I will get 100 unused address again.
Solution #3 is not a nice solution to me. It seems like a bad practice to me and this is a solution that solved by spending money.

My Solution

If I get it right, when Blockchain generating the address, It will be there until it's getting paid. Correct me if I'm wrong, Blockchain will not callback until the user pay the amount. so I do this to solve the problem:

Check the gap by API. If gap>19 goto #3 else #2.
Generate the address and store it inside unpaid_address table based on the "index number" that blockchain returns with address. set expiration time for 30 minutes and go to the #4.
Get the first expired unpaid address from unpaid_address table. If there isn't anything, show sorry server is busy, else goto #4.
show the address to the user and say you have 15 minutes to pay to this address. (15 minutes less than expire time to avoid problems).
If blockchain callback my URL and It has been paid before the expire time, I remove the address from unpaid_address else the address has been there for the next request by other user. I will give that address to the next user for paying.

Question

This solution give me the ability to never exceed gap limit. But I don't know if it's safe to give the address to a user and if he didn't pay on 30 minutes, give it to another user.

What do you think? Is it safe? or is there better solution?

About giving the address to multiple users

First user see the checkout page in 8:20AM and send the amount to the address. but there is no confirmation in 15 minutes. the confirmation come in 11:00AM.
Second user see the checkout page in 9:00AM and send the amount to the same address. there is confirmation in 9:10AM so I will return callback result as paid.

What about the first user confirmation on 11:00AM?


texts: Atlcoin: Peers don't sync after one creating new block

texts:
I have made an altcoin flowing these steps:
1. Generate genesis block and modify in source code

genesis = CreateGenesisBlock(1525404232, 5226643, 0x1e0ffff0, 1, 50 * COIN);
    consensus.hashGenesisBlock = genesis.GetHash();
    assert(consensus.hashGenesisBlock == uint256S("35bd3f056789cdf9b03bda2da62b3051387a91af784314966c6b303e33ec0f0b"));
    assert(genesis.hashMerkleRoot == uint256S("52b2455696516c14fde6fb8bf13891f34a49b339b99aa863942e5cd54db71fc1"));

Remove checkpoints

checkpointData = {
        {
            { 0 , uint256S("0x35bd3f056789cdf9b03bda2da62b3051387a91af784314966c6b303e33ec0f0b")}
        }
    };

Now, I run this code in two machines (two nodes) and make them connect to each other with command "addnode ".

After that, I start mining in the first node

generatetoaddress 1 <address>

After first node create block 1, I check the chain info of the second node

getblockcount

and it return 0. Any suggestion for me to solve this problems?


texts: How to reconstruct a transaction detail from the blockchain?

texts:
Based on the following blockchain json data, I picked a random transaction and want to understand the amounts transacted:

source: https://blockchain.info/block-height/502070?format=json

{
   "lock_time":502039,
   "ver":1,
   "size":225,
   "inputs":[
      {
         "sequence":4294967294,
         "witness":"",
         "prev_out":{
            "spent":true,
            "tx_index":318981069,
            "type":0,
            "addr":"1MppuHQwHjmYunvpzd8LjHMKDhtk2974aD",
            "value":153295388,
            "n":0,
            "script":"76a914e46e0d4e9420768f3b0925069f92fdde2136d5db88ac"
         },
         "script":"47304402207f77cd1b8e82bba37b0d0636fa9f10b67f1aebd3cc20ff30223495825f1af8200220300ae8a8985e9a183ff5522dc86421eff5592dc74e96750330501b41d61de99f012102acb5fd6d1f86719ee9a0c0da3d7a0d63a068cba7c123c2e77988d130884b20c3"
      }
   ],
   "weight":900,
   "time":1514824905,
   "tx_index":318988523,
   "vin_sz":1,
   "hash":"a712e4036222c2cc821443bfbbeb33f94903d2fee08b8e8f1eccada75cf6a9d8",
   "vout_sz":2,
   "relayed_by":"0.0.0.0",
   "out":[
      {
         "spent":true,
         "tx_index":318988523,
         "type":0,
         "addr":"1AeqgtHedfA2yVXH6GiKLS2JGkfWfgyTC6",
         "value":500000,
         "n":0,
         "script":"76a91469e12a40d4a2218d33f208b9a0447894dc9bea3188ac"
      },
      {
         "spent":true,
         "tx_index":318988523,
         "type":0,
         "addr":"1GawcJQjTQtzYUX2wgxfbjDTQcVJiPLUqW",
         "value":151985709,
         "n":1,
         "script":"76a914aaf532cf834863dcdeb4164ec3a4ab413619d98388ac"
      }
   ]
}

Based on this I would guess that the input address sent 153295388 satoshis.
And the two out addresses both received some satoshis, but the sum do not add up:

153295388 - 500000 - 151985709 = 809679

I see a difference of 809679 satoshis between the input and the sum of output. Is that the transaction fee, and if yes, how is this decided?


texts: Unconfirmed/Pending Blockchain.info Transactions Returned to Wallet

texts: On 10-26-17, I sent $425 from my blockchain.info wallet to my Coinbase wallet.  As of 10-28-17, the transaction is still pending.  If the transaction is never confirmed, will the $425 reappear in my blockchain.info wallet?


texts: Bitcoind stuck: Lock table is out of available lock entries

texts:
My bitcoind daemon stopped updating the blockchain at block 258354.

db.log says:

Lock table is out of available lock entries
Lock table is out of available lock entries
etc...

Here is an excerpt from debug.log:

ERROR: ConnectInputs() : 5915fee0a9 mapTransactions prev not found 66283c57ab
ERROR: AcceptToMemoryPool() : ConnectInputs failed 5915fee0a9
storing orphan tx 5915fee0a9
received: inv (37 bytes)
got inventory: tx 09920def2c50d6b07081  new
askfor tx 09920def2c50d6b07081   0
sending getdata: tx 09920def2c50d6b07081
sending: getdata (37 bytes)
received: inv (37 bytes)
got inventory: tx 09920def2c50d6b07081  new
askfor tx 09920def2c50d6b07081   1379380242000000
received: inv (253 bytes)

Any ideas what I should do?

I just spent a week downloading the blockchain. Please not again.


texts: "comment" and "to" of malleated transactions

texts:
I'm using the bitcoin core wallet and trying to build some programs around it. I see that comment and to can be added to transactions locally. If I understand it correctly, both are stored in local database and are not public information.

The question I have is whether this will help with malleated transactions. For example, if the transaction I initiated is changed a bit (still valid) and added to the blockchain, would the bitcoin core client attach the comment and to to the malleated transaction when I query for recent transactions?


texts: When is the Bitcoin payout for solving a block going to change?  What happens when overnight it is half as profitable to process a block?


texts: How to find bitcoin address from bitcoin privatekey using bitcoind json rpc or any other way?


texts: Non standard transaction value negative, empty sigScript, empty Pubkeyscript?

texts:
Lets consider this 3 possible transaction cases:

Tx1  output value is  negative
Tx2  sigScript is empty
Tx3  Pubkey Script is Empty

Is this non-standard transactions is allowed in Blockchain and can be included inside new block ( at example by miner ), according to Bitcoin protocol?


texts: Compatibility questions regarding Native Segwit addresses

texts:
I have a question regarding Native Segwit addresses. I understand that those addresses are more efficient and that you save on fees when you send BTC from them. However, does it matter which type of address (legacy, segwit, Native Segwit) the recipient uses? Will I get the same fee reduction benefits no matter what?
Also, I often read that many wallets don't properly support Native Segwit addresses. My understanding is that such wallets cannot properly validate Native Segwit addresses and cannot create Native Segwit outputs. Does it also mean that such wallets cannot properly spend the outputs generated by Native Segwit addresses?


texts: How can I execute `getnewaddress` at my full node from a remote server?

texts:
I have a full node running on a digital ocean droplet. I have an app running at heroku, and I want to execute getnewaddress from this app. I'm trying to generate BTC addresses to which users can send payment to for payment processing in my app. How can I do this? Thanks in advance.

My app is in Python, for what it's worth.


texts: As of Feb 2013, which are the top 5 bitcoin mining pools to join with a good community?

texts: I'm looking to join a bitcoin mining pool. Which are the top five mining pools with good community support?


texts: Mining costs, impact on long term viability of BTC

texts: Given the rapidly rising difficulty level and electricity consumption/$30 cost per transaction, is the protocol sustainable as-is, and if not what is most likely to happen in the evolution of BTC.


texts:
How can I know difficulty value and reward for Litecoin network ?

I'm looking for website such as

http://blockexplorer.com/q/bcperblock
http://blockexplorer.com/q/getdifficulty

to get difficulty and reward for Litecoin network (instead of Bitcoin network)

I'm looking for a way to get difficulty and reward using an API that can be queried every 15 minutes to make my own mining profit calculator.

Current difficulty is around 100 and current reward is 25 LTC.


texts: How can blockchain.info show the output address of a transaction when the output address has never been used in any other transaction?

texts:
I've stumbled across a transition on blockchain.info where the output address was displayed even though the output address had never been used in any other transaction.

How can blockchain.info know the address when the transaction script contains only the HASH160 of the output address, not the output address itself?


texts:
I'm looking to analyse bitcoin for a (rather introductory, low-level) game theory course.

Game theory concepts I'd like to explore with regard to bitcoin: strategic games with ordinal preferences and nash equilibrium), strategic games with vNM preferences and mixed strategy nash equilibrium, discount factor and repeated games, extensive form games and subgame perfect equilibrium, coalitional games and Shapley value or core,  dominance, minimax, ...

Any interesting pointers or sources for this? It can be a simplified version of bitcoin, just looking for inspiration.


texts: Does receiving a transaction interrupt proof-of-work?

texts:
As I understand it, when a transaction is broadcast to a node it then gets relayed across the whole network.
If you have a collection of transactions that you're trying to figure out the nonse for and a new transaction arrives, do you have to start over?


texts: How is an address beginning with a 3 valid?

texts: The Bitcoin Dark Wallet project is accepting donations to address 32wRDBezxnazSBxMrMqLWqD1ajwEqnDnMc. How is this a valid address? I thought that all Bitcoin public addresses start with 1.


texts: How do I get all the latest transactions from Bitcoin network using Python?

texts: Is there a Python client to listen to all latest transaction from the Bitcoin network? How does blockchain.info doing it?


texts:
So I'm trying to buy Bitcoin in Iran and I want to use my Iranian Bank Account which unfortunately isn't accepted by PayPal or other online payment websites.
So is there any way for me to buy Bitcoin(under one Bitcoin) using my Iranian Bank Account( Melli Bank or any other bank)?
Thanks for any help!


texts: How would the gossip protocol announce channels from a channel factory?

texts:
I was just listening to SLP59 with Christian Decker. They mainly discussed channel factories. While the construction of multiparty channels and higher order systems (sub channels) being derived from them seems clear
 and is being described in this paper I wonder how the gossip protocol would have to be adapted so that people would be able to announce such channels?

Generally there is the necessity to point to a funding tx of a payment channel in order to prevent spamming channel announcment messages and in order to authenticate channels. However with channel factories there is only one large funding tx for the multiparty channel. The sub channels are offchain.

How would a solution for the gossip protocol look like?


texts: Why does the "uptime" RPC API call fail if Bitcoin Core is running but has not synced fully?

texts:
At least this appears to be the case, because the function I have created to determine whether Bitcoin Core is "working" does the most minimal/simple API call I could find, which was "uptime", to see if my system can still communicate with Bitcoin Core (on the same computer) or if something has broken.

Since the blockchain has grown to an insane size, I was forced to move my Bitcoin "datadir" from a SSD disk to a mechanical one (due to running out of space on the former). Around the same time, I also configured Bitcoin Core to always use Tor for all connections. The combination of these two things caused the unexpected issue that my "is everything OK still?" script fails for Bitcoin Core when I start the computer after a night's sleep, because Bitcoin Core takes longer than before to get ready. Sometimes it can take like half an hour.

(This same thing also affects my polls for checking the current balance, which at least is understandable because Bitcoin Core probably doesn't want to report an outdated figure if the new data about to be fetched changes the balance.)

All it says in the manual is this: https://bitcoincore.org/en/doc/0.18.0/rpc/control/uptime/

(For some reason, there's no API docs for 0.18.1... the latest version is 0.18.)

My questions:

Is this a known issue/bug? Will it be fixed soon?
Should I be using some other API call to check if Bitcoin Core is running and "can talk to me"?
Is there a separate API call I could use to determine whether Bitcoin Core is "all ready for action" (fully synced)?


texts:
Let's say that I have some money (not a lot) and I want to maximize how much bitcoin I can get. Is there a way, besides waiting and technical analysis, to get cheaper bitcoins through legal means? (In other words, I want the lowest exchange rate possible.) The reason that I think this is feasible is because bitcoin was two dollars just 7 years ago, and though I don't expect this valuation, I would like to get it in the lower thousands (preferably below the 2018 bottom price) or hundreds without having the price crash. I think that, because of the above reason, caring people would have somewhat of an incentive to sell their bitcoins to an individual buyer through something like a dark pool: the price won't crash and they could sell more of their old BTC. Note: I won't sell it right away unless I bought at the top in order to maximize returns.

Note: mining bitcoin is not currently viable, though it is expected to be even after the impending halving because of the demand created by this halving partly from speculation.


texts: How to programmatically determine the number of bitcoins ever deposited to a given address?

texts:
I am building an application for which I wish users to be given a unique address to which they can freely deposit funds into their account. Meanwhile, I want to be able to both track their balance and use the bitcoins they've given me. Their balance is effectively the total amount of bitcoins that their assigned address has ever received (regardless of if the coins have been spent) minus whatever I've charged them, and I need a way to determine the first bit.

Also, my server does not have enough storage space to use bitcoind, so I've been using electrum, though I'm fine using another piece of software or even a web api so long as it's reasonably secure.


texts:
If I understand correctly block consists of:

block header,
transactions counter,
list of signed transactions.

Each signed transaction consists of transaction itself and appended signature.

Each transaction consists of:

transaction version no,
number of inputs,
inputs themselves,
number of outputs,
outputs themselves and
locktime.

Each input consists of:

Reference to its outputing transaction
index of output in that transaction
scriptSig

Each output consists of:

output value
scriptPubKey

Is this structure correct?


texts:
I'm reading about deterministic wallets, I get the point, but it get's confusing when you actually start setting up things. I have to install support for generating "whatever"-coin addresses on a server. Where do I start, how should it be done? People are talking about importing keys from a seed. OK great but again, how? People talk about using different wallets. Should I use one of the existing wallets? How can I create my own wallet? Is there a console-based step by step tutorial that you can apply to any crypto-coin network/wallet?

Currently I use bitcoind for communicating with bitcoin network. It's the only good-enough documented piece of code. Thanks for your help!


texts: huobi.com API to get latest trade price, bids and asks?

texts:
I'm looking for a simple API description to get some basic stats from the huobi.com exchange. Mainly the last trading price, and current orderbook (bids & asks).

They seem to have an API: http://www.huobi.com/help/index.php?a=api_help but this page doesn't help me much (even after translating it with Google, as I can't read Chinese).

Does anyone know how to use this API?


texts: Did I lost the chance to get my BCH from Aug 2017 fork?

texts:
I had some BTC before the BCH fork in my wallet, but I didn't know I could claim the same quantity on BCH too, I've just read about how "hard fork" works :(

Then I sell my BTC, that means now I cannot get my BCH anymore? or the BCH should be there even after selling my BTC?


texts: Why does blockchain.info show the warning "Transaction rejected by our node. Reason: The transaction is not final"?

texts:
The transaction fc3f81c625720063c5cab2145bcb5ef20b13ff0aa73b0b2435ffdb645acfcb8b has the warning "Transaction rejected by our node. Reason: The transaction is not final." on Blockchain.info.

The same transaction shows up with five confirmations on Blockexplorer.com.

What does that "the transaction is not final" mean, and why did blockchain.info reject the transaction?


texts:
I am new to bitcoin core development.  I have created a clone using bitcoin core on a mac os mojave 10.14.3. I am have installed all dependencies and am able to run the autogen.sh and configure with no errors. However, when I run make I am getting the following error.

/opt/local/bin/ranlib: object: libbitcoin_server.a(libbitcoin_server_a-addrdb.o) malformed object (unknown load command 1)
/opt/local/bin/ar: internal ranlib command failed
make[2]: *** [libbitcoin_server.a] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Kindly help.


texts: How would I go about exploring Bitcoin's entire block chain?

texts:
I'm trying to wrap my head around bitcoin/blockchain and from what I understand, every transaction that has taken place in bitcoin is placed into a block and after this block is validated it is added to the block chain in chronological order.

Is there some place that I could go to look at the first block of transactions for bitcoin?  Or any random block of transactions?

If anything I have said above indicates that I have misunderstood some part of the process - please don't hesitate to correct me.


texts: Is my 2FA not working, or do I not understand it?

texts:
I have one wallet on Coinbase.  They say that I enabled 2FA on it and that if an attacker somehow accessed my account, they would not be able to spend because they would not be able to enter the code sent to my phone.

But I have made made two purchases, one spend, and many logins without ever receiving such a code or being asked to enter it.  When I said that, the Coinbase person claimed to not know either and gave me a URI to consult.  Unfortunately, I forgot to copy the URI before closing the chat window.


texts: How can we access all transactions, including spent transactions, through bitcoind?

texts:
We are running bitcoind version v0.8.2-332-gf19eda1-beta.

Our goal is to parse all transactions in a given block.

To begin we call "bitcoind getblock ", which gives us a list of associated txid's.

We then call "bitcoind getrawtransaction " on each of these.

Unfortunately, getrawtransaction occasionally fails with:

error: {"code":-5,"message":"No information available about transaction"}

It is failing because the given transaction is not unspent, and the database which getrawtransactions relies on does not need to track such transactions.

This is explained in detail here on github:
https://github.com/bitcoin/bitcoin/issues/2077

"there is never need for more information than unspent transactions outputs, so that is the only piece of data that is kept"

Are we forced to parse the blockchain database which bitcoind maintains on disk ourselves?
Is there some way to extract the information we want through bitcoind?

Shouldn't bitcoind provide an interface to all blockchain information?
It recently changed its underlying database and may do so again.


texts: Why does my Antminer S7 power down right after startup?

texts:
Before asking the question I'll better introduce what I am doing:

I have:

Antminer S7 (Bought from BitMain)
BitMain PSU (Bought from BitMain)
220V & 10-16A & 3*0.75mm^2  Power Cord for the PSU
A DAIYO laptop power protector which supports 10-16A & 250V

Yesterday, I received my Antminer S7, so when I had connected the PCI pins I connected the PSU's power cord with the laptop power adapter.

The result looked like this:

Then the Antminer powered up with variable fan speed. I connected the network cable and when I was going to my PC to configure the Antminer it just powered off. I am not sure which one powered off first, the PSU or the Antminer but they both had turned off.

I ran to unplug the Power Cord (It was very hot), so I thought that the power cord may have burned. To test that I connected it to my computer's psu and my computer didn't power up. So I think that it was burned, but 30min later my father tested it again and this time my computer powered up.

Can you tell me what the problem could be?
What made my Antminer to turn off automatically?
Someone told me I should have used a 3*1.5mm^2 Power Cord, is that the answer?
Could the Antminer have been damaged?


texts:
I am interested in running a well-connected node, and I was wondering: is the memory footprint directly correlated to the number of connections?

And more broadly: with what RAM usage increases?


texts: Does GHashIO already have above 51% hashrate?

texts:
Right before writing this question I noticed the GHashIO showing 32% hashrate distribution using the following link.

Unknown has 26%. And the IP address of the most blocks reported from unknown is: 88.150.205.243. After doing some digging it seems that the IP address is owned by GhashIO according to totalhash.

Not sure how reliable the data from totalhash is but it seems that GHashIO has already achieved above 51% total hashrate. Can someone confirm this? If it's false then what would be the proper way to investigate this in the future?


texts: Transaction verification up to coinbase?

texts: Do full nodes verify the entire transaction chain up to coinbase when verifiying a single transaction to be included on the block which they are working on ?


texts: How does work the next block election in blockchain?

texts:
In the mining process each miner will create a block with the transactions found in the pool and will start the calculation of nonce, the miner with greater hash power will finish the job first and announce the block.

When the process starts the miners will start the calculation again(the slowest and the fastest), imagine that we have 2 pools of mining and the slower needs 2 hour to calculate a nonce and the faster 2 minutes, the window of 10 minutes will have a winner and the slower have to start the caculation again.

How does lottery work to the solve this problem?


texts: How exactly would compromising a private key cause you to lose your coins?

texts:
When someone sends me coins, they must send it to my wallet address, which is nothing but my public key hashed. It's generally understood that losing your private key implies losing access to your transactions.

Can we please elaborate on the how and why? Because so far all we got is a transaction with a destination of my wallet address. How does the private key allow me or someone else to take control of my unspent outputs?


texts: Is there any synchronized software update mechanism in Bitcoin-Blockchain?

texts: My question is regarding the update of Bitcoin software. Is there any mechanism for a synchronized software update in the Bitcoin network?


texts: What happened to the original Ripple Project?

texts:
Today, Ripple is the third-largest cryptocurrency by market cap. It uses a consensus algorithm and its only clients seem to be large banks. They open sourced the code on github, but nodes have to be approved to join the network.

However, the original Ripple project was conceived by Ryan Fugger in 2004. It has to deal with IOUs between people, and that's why it was called ripple, as each transaction is implemented by shifting around IOUs in chains, like ripples in a pond.

I want to understand whether the original protocol had any serious flaws. unlike Bitcoin and other cryptocurrencies, it seems to NOT require a global ledger and global consensus to pay people. Instead it uses a "Network of Trust", similar to PGP vs DNS. Each person only deals with a few nodes. That makes it an extremely awesome fit for our own open source platform, which we built to allow any community to host their own social network the same way Wordpress hosts blogs. Basically, an African village, or a Cruise ship, or a Classroom in a university could have a social network for their community, possibly running on the local network without having to contact a remote server. Everyone has their own identities that persist as they join various communities.

Here are some videos on the original Ripple protocol, note they are all from 2010 and 2011:

https://www.youtube.com/watch?v=xgGcVv04unM
https://www.youtube.com/watch?v=ySzqM5dpF7s

We wanted to implement money inside these communities, and the idea of IOUs between people seems great. My questions are:

Was this abandoned, or is the current Ripple source code able to implement this on a local level?
Are there any serious downsides, like sybil attacks and ability to issue unlimited amounts of credit, that necessitated a shift to a global consensus protocol?
Why does the current Ripple protocol require a global consensus?
Can someone use the old Ripple design to make money between people actually work in a local community without a global singleton ledger?


texts: Does signing message weakens the address' security?

texts:
Will signing message (without doing any $ transaction) reveal the private key to the blockchain just the same/similar way the private key is revealed to the blockchain when you do a $ transaction?

The point is, doing a transaction weakens the security of the address a tiny bit because the private key is revealed to the blockchain. That's one reason why change/new address is used with every transaction.

But what about just signing message? Will that weakens the security of the address a tiny bit too?


texts: I understand that there are end users at the edge of the network (typically with private channels) and routing nodes (with public channels) doing the routing of payments. What are the different kinds of Lightning routing nodes?


texts: Is it possible to trace bitcoin ATM withdrawals?

texts: If someone is tracking how BTC are being spent or transferred between wallets, is it possible to concretely determine which transfers constitute conversion into fiat currency at an ATM, and possibly a specific ATM? If so how?


texts: Link Receiving address with other addresses

texts: Assumed somebody knows one of my several addresses in my wallet for receiving bitcoins, can he link this address with the other addresses I got? Or does every address stand for its own?


texts: Why are arithmetic script opcodes limited to 4 byte operands?

texts:
The Bitcoin wiki script page says that:

Arithmetic inputs are limited to signed 32-bit integers, but may overflow their output.
If any input value for any of these commands is longer than 4 bytes, the script must abort and fail.

Does anyone know the reason behind this limitation? Why are arithmetic opcodes limited to 4 bytes?


texts: Simulate an FPGA/ASIC on RAM for mining?

texts: Just out of curiosity, would it be possible to use a lot of RAM and treat it as an FPGA capable of mining other cryptocurrencies, or would it be too expensive to implement and not worth it?


texts:
I get that error in my testnet node
Fatal LevelDB error: IO error: /home/bitcoin/.bitcoin/testnet3/indexes/txindex/021208.ldb: Bad message

I tried with reindex-chainstate but I get the same error.


texts:
When I got the code I use a url such as abc.com and I hope to know if I use my api in def.com will it work? If so what is the url meaning?
Every time it will generate wallet and if I use this API to receive bitcoin how will the coin go to my wallet?
When the API got bitcoin it will give me a response so my question is which should I use? There are 3 method for it.


texts: Unconfirmed transaction for 10 days. Please help.

texts:
Unconfirmed transaction from my wallet. Here are the details.
https://blockchain.info/de/tx/2b91804cada49e52774d3c4fd3c02e3932c03b358c8ea4d74abc4d407d5f429c

How can I increase the transaction fee or what do I need to do to get the transaction through?

Many thanks for your help!


texts: How to test 12 words passphrase for a Bitcoin address?

texts: I read same passphrase can be used on more wallet. How can I check passphrase goes with address without sending money, without the risk someone observe the passphrase?


texts: I have some Bitcoin on my Webmoney Bitcoin purse (called " WMX "), so I want to pay for some service, for example to my "namecheap.com" account, how should i do it? after checkout it redirects me to bitpay.com then I think I should copy the address they provide and what I do next?


texts: Is there a more, or most, cost/space effective way to create a transaction with say 100 outputs and 1 input?  Is there a limit to the number of outputs in a transaction (aside from any limitation upon blockspace)?


texts:
Does LOCK(cs_main) pause and branach the program in order to do some necessary job before going on?

I'm trying to publish blocks reactively (as a selfish miner) upon receipt of inventory message from pfrom and react to it after *pfrom* catches up with the  height of my secret block.

Following lines didn't help/there was no reaction on selfish node's side:
added following lines in main.cpp: after l. 3662

   ...
        {
            LOCK(cs_main);
            pfrom->PushMessage("inv", pfrom->vPrivateInv);
        }
   ...


texts: When does `vin` contain multiple addresses

texts:
I need to find out all the bitcoins transferred from a particular address to a particular address.

For this I am using the blockexplorer API, for this I use their "Transactions for multiple addresses" API since only this provides a paginated response. Others only give 10 results by default.

So I iterate through transactions, look fromAddress in vin, similarly search for toAddress in vout. If all satisfied I take that value.

for transaction in txs:
  valueIn = transaction['valueIn']
  valueOut = transaction['valueOut']
  confirmations = transaction['confirmations']
  if confirmations >= 12:
    vin = transaction['vin']
  for row in vin:
      if row['addr'] == fromAddress:
        vout = transaction['vout']
        for j in vout:
          addresses = j['scriptPubKey']['addresses']
          if toAddress in set(addresses):
            output.append(j['value'])

But in some case I saw multiple addresses in vin, when is that?
Would my logic would still be right, if my address is part of that?


texts: How does a client get the merkle branch of a transaction?

texts:
When the Bitcoin client receives a transaction, it checks if the transaction is confirmed. This is done by verifying that the transaction hashes correctly, in the merkle tree, to the merkle root in a block.

How does the client know which block holds the merkle root of the transaction?

After finding the correct block, how is the merkle branch acquired?


texts: How do you generate a bootstrap.dat file?

texts: I think it's just a renamed blk0001.dat file, but I can't find any references as to what it actually is other than a "binary blockchain" ....


texts: How can I get the uncompressed public key from the compressed public key in openssl?

texts:
Given a private key, I can get the uncompressed or compressed version of the public key like so.

EC_KEY* pKey = EC_KEY_new_by_curve_name(NID_secp256k1);

std::vector<unsigned char> getPubKey(EC_KEY* pKey, bool compressed) const {
    if (compressed)
        EC_KEY_set_conv_form(pKey, POINT_CONVERSION_COMPRESSED);
    else
        EC_KEY_set_conv_form(pKey, POINT_CONVERSION_UNCOMPRESSED);

    int nSize = i2o_ECPublicKey(pKey, NULL);
    std::vector<unsigned char> pubKey(nSize, 0)
    unsigned char* pBegin = &pubKey[0];
    i2o_ECPublicKey(pKey, &pBegin)
    return pubKey;
}

But how can I get the uncompressed public key from the compressed public key without knowing the private key?


texts: In ECDSA, why is (r,−s mod n) complementary to (r, s)?

texts: I am trying to find resources in previous malleability posts, but couldn't find derivations/proofs of this fact or how the exact low-s value is derived. Any pointers would greatly appreciated.


texts:
I am working with the blockchain wallet API and my workflow is something like this: whenever the user wants to buy BTC from me, at that time, whatever the amount is added by the buyer, at that time that particular amount will be locked from his account, and after a while that amount will be released and transferred to another user.

Is there any way to implement this?


texts: What are the keys used in the blockchain levelDB (ie what are the key:value pairs)?

texts:
I am wondering if I can use node.js and levelup to access a copy of the blockchain database directly.

But from what I can see, I need to know the name of the key(s) before I can get any data, as this is used in the get method of levelup.

However, I have not been able to find out anything about the possible key(s) associated with the values in the key value pairs, so I'm at a loss as to how I might retrieve the data.

Firstly, what are the keys in the key value pairs, and secondly is it possible just to select the first n records?


texts: OP_RETURN transaction doesn't go to the blockchain

texts:
I created transaction with OP_RETURN adding some information. Even though transaction hash created successfully, the transaction doesn't go to blockchain properly. Could you please help me to do this transaction properly?

"scriptPubKey":

{

"asm": "OP_RETURN 726173656c6140676d61696c2e636f6d7e39383732363733383834",

"hex": "6a1b726173656c6140676d61696c2e636f6d7e39383732363733383834",

"type": "nonstandard"

}


texts: I've heard there was a proposal to support some form of chargeback in an upcoming release of the Bitcoin Protocol. My first question is this rumor factually accurate and if so how will it be implemented?


texts: How to approach building a custom UTXO index on top of a full-node

texts:
I want to avoid physically importing addresses into a wallet. I want to write a UTXO indexing system on a per-address basis.
I often wonder how a wallet can keep track of all of its addresses UTXOs, seeing as transaction outputs can become spent and are therefore no longer spendable.
My concept, as it stands, is to record every vout, of an incoming transaction, against its corresponding address.
So now we have a database of addresses, each with a relation to some txId and vout index that holds the address.
From there, gettxout can be used on each of an address's transactions corresponding to its vout index.
If gettxout responds empty the address's vout has been spent, so is not deemed spendable and does not contribute to calculating the address's balance.
If gettxout responds with a result the address's vout remains unspent, so is spendable and contributes to the address's balance.
This would obviously only work for addresses where this indexing approach has been implemented. Is this a good idea?
TLDR; how would one go about building a custom index, on top of a Bitcoin node, to track UTXOs, belonging to addresses, given that any vout can become spent?


texts: Ruby: How do I create a wallet and import an electrum seed using money-tree gem

texts:
I am looking for a way to use HD wallets with ruby. This is what I have found: https://github.com/GemHQ/money-tree. However I am having trouble generating a wallet and getting the seed to reload it in the program though that. I would like to be able to create many addresses in this wallet. I am also looking for a way to load my electrum wallet using the ruby money-tree gem, or any other you happen to know of.

How would I do this?


texts: In Ardor, can you send a message with ZERO ignis balance on a brand new account that has never made a transaction before?

texts: I know bundlers can bundle zero fee transactions, but can an Ardor account that is newly created without ever making a transaction send out a message and have it bundled? Or is this not possible as the new account never made a transaction before?


texts: Is there any statistical analysis of the security of a "Brain Wallet"?

texts:
Assume that a transaction is paid to a brain wallet address. (not P2SH, or M of N)

Is there any statistical approximation (or tiers of approximation) of how secure a Brain Wallet is to

A key generated from pure random
The non-random keys created by a broken random on Android pre 2013
any other key generation technique

My goal is to get an approximation based on complexity relative to the other methods.  A constructive thing that this would help with is what complexity is necessary for the Brain Wallet to have 2^64 bits of pure random?

Some additional question that may come of this line of thinking include:

In a Brain Wallet, what is the relationship between complexity, length and the random output?
What patterns are there to avoid? (vowel frequency, other letter statistical distribution)
Is a Brain Wallet more secure if written in a foreign language that has more characters in it (more entropy)?

Much of this may be in a Cryptanalysis book, but I'm looking for someone who may have studied passwords in the past and can offer suggestions on how to brute force a Brain Wallet.


texts: How Do I create a Mining Pool for an Altcoin?

texts: I made an altcoin using coincreator.net , but I can only mine it on an underpowered windows computer. I was wanting to make a pool so that my friends and I could mine it together from a Windows or a Mac computer. If no one knows how to do this, then could anyone tell me how to solo mine on a computer that does not have the altcoin wallet? Thanks in advance!


texts: Can I mine bitcoin without damaging my hardware?

texts:
I have a 900w gold certified power supply, an AMD fx 6350 @ 4.39ghz, a nvidia gt 630 2gb GPU with a fan and 8GB DDR3 RAM at 1600MHz. I'm wondering what mining for about 8 hours a day would do to my hardware. I'm not concerned about my graphics card as I only use it for mining but my CPU, RAM, motherboard and other components I am concerned about. My case has very well airflow with 3 exhaust fans and 2 intake, I also have aftermarket cpu cooler. This would be my first time mining along with using this site and I'm curious on whether or not it will do any damage or degrading to my PC.

Thanks


texts: How does the graph of money supply of PPCoin look like?

texts:
We all know how the money supply graph in Bitcoin looks like - exponentially reaching 21,000,00 BTC.

How does the same graph behave for PPCoin (A fork that also involves Proof Of Stake)?


texts: DigitalNote Wallet Stuck on last node (415608)

texts:
I've downloaded the 1.0.12-beta (last) version of the XDN Wallet from the official website, got the address, transferred 70€-worth of XDN in it using Changelly. The transaction worked fine and I got the confirmation from Changelly.

My wallet has the "not sync issue" that everyone else has (digitalcoin wallet won't sync), I tried to fix it by downloading the latest blockchain data and replacing the .dat and .bin files with the ones downloaded, then restarted the wallet.
The wallet started creating the cache, then it blocked showing "Synchronizing 415608/415608".
The digitalnotewallet.log's last lines shows the following error:

[node_server] Failed to connect to any of seed peers, continuing without seeds

So I'm stuck again without my updated balance.

Is there any way to access my wallet online using my private key, as can be done using a file with MyEtherWallet?


texts: Protect against falling bitcoin and bitcoin cash prices

texts: What alternatives do I have for insuring bitcoin and bitcoin cash payments (that I'll receive in the future) against falling prices? That's against the pound or euro. Obviously that's against an x% fee.


texts:
I want to use BitcoinCore for the RPC requests from the site. But I could not find anywhere else how to ask a commission for withdrawal.
 In the instruction there is only:
 sendtoaddress: bitcoinaddress amount comment comment-to - there is nowhere to cover the commision.
 settxfee: amount - it is assigned to the entire account, not to a specific transaction.
How to implement the conclusion with a manual commission?


texts: How do I send Bitcoin from my cold wallet to a new one?

texts:
I have the public/private keys for my cold wallet. I want to move it all into an Electrum wallet. I understand that I should send my entire balance at once. What medium should I use to make this transfer? I do not want to use Mycelium or any phone based wallet.

Side question: If I want to be able to spend small amounts of Bitcoin on purchases what is the ideal wallet setup I should be using?


texts: Environment for building Bitcoin core in Windows

texts: I'd like to try building the Bitcoin core source in Windows. The instructive materials I've found take too much for granted. What environment needs to be installed before building? Can it be built in Visual Studio, or is it one of those cross-compilers like MingGW that compiles code originally written for Linux so it can be executed in Windows?


texts: API or framework for handling transactions

texts:
I am developing a JSP web (based on Java) and I would like to let users send the altcoins to my servers wallet. I need something what would monitor if the coins (DOGE/BTC etc.) has arrived and just after that let the users do something.

Is there anything like this? I am new here and maybe it is broad but let me explain better if you need.

I mean something like this: http://bitcoinj.github.io/getting-started

but not only for BTC also for other coins.


texts: Storing bitcoins without a wallet using only a seed phrase

texts:
Presently I have some BTC in a custodial wallet which I want to transfer out. I don't want a use a wallet at all. Neither hardware nor software.
If I install Electrum on a live Ubuntu session, create a wallet, transfer BTC to it, note down the seed phrase and terminate the live session, will I still be able to recover my wallet with coins several years from now?
What are the downsides of this method over a cold storage wallet?


texts: Does each peer prioritize inv(type=block) over inv(type=tx)?

texts:
I found that when a peer receives an inv message with type=block, it will immediately request that block or that block's headers with a getdata message or getheaders message. But if the peer receives an inv message with type=tx, it won't respond immediately.  For example:

Node A  inv(tx)      Node B  |  Node A  inv(block)  Node B
        <-----------         |          <---------
                             |
        [delay]              |          [no delay]
                             |
        getdata(tx)          |          getdata(block)
        ----------->         |          --------->

Why is there a delay in requesting transactions but not a delay in requesting blocks? I'm guessing that relaying a transaction is less important than getting the most recent block to ensure the node is on the consensus best block chain.


texts: Why do we refer to previous transactions in each transaction?

texts: Isn't it enough to just have the Input Address, Output Address, Amount and Signature for each transaction?


texts: Why is my blockchain.com not receiving bitcoin?

texts:
I created a wallet on blockchain.com, copied the address from the '' bictoin request '', sent it to the person, and that person sent me a bitcoin after a few hours.
After a few hours my laptop restarted. When I logged in again, the Bitcoin address was different.
Bitcoin was sent to that address, but my wallet no longer recognizes the address it generated.

Can I recover the amount of bitcoin? What can I do?


texts: How do I get a hex encoded pubkey for `importpubkey` in javascript

texts:
I'm trying to import watch-only wallets to bitcoin-core via the importpubkey command and I can't seem to construct a correct pubkey in javascript.  Does anyone know where I go wrong with this:

Generate a https://iancoleman.io/bip39/
In the BIP44 tab, copy the BIP32 Extended Public Key field
Run:

    const hex = new Buffer('[BIP32 Extended Public Key]').toString('hex');
    const result = await this.client.importpubkey({ pubkey: hex, rescan: false });

I get the response: "Pubkey is not a valid public key" for everything I try.

Which public key should I be using?  Since there are many on https://iancoleman.io/bip39/ when you generate a wallet.
Also, is new Buffer('[BIP32 Extended Public Key]').toString('hex'); the proper hex format bitcoin-core is expecting?

I'm trying to do this in testnet mode if that makes a difference, the wallet I generate is also a testnet wallet.


texts:
I downloaded and install MinGW (windows). Then I downloaded Litecoin source from github. Now I use command:

make -f makefile.mingw

but I compilation stopped with this output:

C:\build\litecoin-master-0.8\src>make -f makefile.mingw
cd leveldb && make CC=cc CXX=g++ OPT="-mthreads -O2 -w -Wall -Wextra -Wformat -W
format-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD
_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -I/c/build/litecoin-master-0.8/s
rc/leveldb/include -I/c/build/litecoin-master-0.8/src/leveldb/helpers -I"/c/buil
d/litecoin-master-0.8/src" -I"/usr/local/include"" TARGET_OS=NATIVE_WINDOWS libl
eveldb.a libmemenv.a && cd ..
File not found - "*_bench.cc"
make[1]: Entering directory `/c/build/litecoin-master-0.8/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_WINDOWS -DLEVELDB_PLAT
FORM_WINDOWS -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -mthreads -O2 -w -Wall -
Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WIND
OWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -I/c/build/lit
ecoin-master-0.8/src/leveldb/include -I/c/build/litecoin-master-0.8/src/leveldb/
helpers -I/c/build/litecoin-master-0.8/src -I/usr/local/include -c port/port_win
.cc -o port/port_win.o
rm -f libleveldb.a
ar -rs libleveldb.a port/port_win.o
c:\MinGW\bin\ar.exe: creating libleveldb.a
g++ -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_WINDOWS -DLEVELDB_PLAT
FORM_WINDOWS -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -mthreads -O2 -w -Wall -
Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WIND
OWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -I/c/build/lit
ecoin-master-0.8/src/leveldb/include -I/c/build/litecoin-master-0.8/src/leveldb/
helpers -I/c/build/litecoin-master-0.8/src -I/usr/local/include -c helpers/memen
v/memenv.cc -o helpers/memenv/memenv.o
rm -f libmemenv.a
ar -rs libmemenv.a helpers/memenv/memenv.o
c:\MinGW\bin\ar.exe: creating libmemenv.a
make[1]: Leaving directory `/c/build/litecoin-master-0.8/src/leveldb'
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-par
ameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADS
AFE -DUSE_IPV6=1 -I/c/build/litecoin-master-0.8/src/leveldb/include -I/c/build/l
itecoin-master-0.8/src/leveldb/helpers -I"/c/build/litecoin-master-0.8/src" -I"/
usr/local/include" -o obj/alert.o alert.cpp
alert.cpp:6:53: fatal error: boost/algorithm/string/classification.hpp: No such
file or directory
 #include <boost/algorithm/string/classification.hpp>
                                                     ^
compilation terminated.
make: *** [obj/alert.o] Error 1

C:\build\litecoin-master-0.8\src>

Can someone please help me with compiling this source?


texts: ELI5: How do I import keys from blockchain.info backup into MultiBit 0.5.18

texts:
So, blockchain.info is holding my account hostage. My phone with my 2FA was lost (and remotely wiped) and they refuse to remove the 2FA on my account to get access. I have a recent backup of my keys available but the file does not appear in the file browser (wallet.aes.json) when I select import keys. Everything I've found on the internet says to change the file filter, but there isn't a way to do that in version 0.5.18 that I can plainly see. Can someone please drop some instructions here, step-by-step so I can accomplish a recovery of my coin without the help of the ridiculous folks at blockchain.info?

Thanks in advance!


texts: Transforming existing private key into new private key?

texts: Is it possible to derive a new private key from an existing private key and retain the same bitcoin balance without any transactions?


texts: What are the implications of a huge amount of unused hash power?

texts:
A not unthinkable scenario is that the Bitcoin price decreases to, say, 10-20% of today's value. This would make mining less profitable, and the difficulty should adapt accordingly.

This should lead to a large amount of unused hash power, that could be made available to some majority attacker.

What are the implications of just knowing that someone (although unlikely) could be covertly using this hash power to mine a parallel and longer blockchain before difficulty adjusts, causing all sorts of trouble?

Can this scenario be remedied somehow by altering the protocol?


texts: Help with very old wallet.dat file and keys, next steps?

texts:
recently I found a very old wallet.dat file back from 2011 (I did some mining back then). I was able to run pywallet to export the keys into JSON file, this file includes private keys and all, so i assume it was not encrypted. The structure is as follows, there are bunch of these.

    {
        "addr": "",
        "compressed": false,
        "hexsec": "",
        "private": "",
        "pubkey": "",
        "reserve": 1,
        "sec": "",
        "secret": ""
    },

The question is - what do I do with this now? I want to check if there any coins that I have mined but i have no idea what the next step is.

I have tried copying the value of "private" into Bitcoin Core's console with "importprivkey" but i get "Invalid private key encoding (code -5)"

Thanks for your help!


texts: Why is there sometimes no output that sends funds back to the sender's address?

texts:
'A' has one bitcoin.
'A' tries to send a 0.5 bit coin to 'B'.

Two utxo are created.

First, "utxo" sends "B" 0.5 bitcoin.
Second, "utxo" where "A" remits remaining bitcoins to "A" except for 0.5 bitcoins and fees.

utxo 1) A-->B

utxo 2) A-->A

The url below is the URL to see how UTXO is reflected in the Bitcoin block detector.
https://www.blockchain.com/ko/btc/address/1JK1MAseF6TRjBidxz45T1VnYVFummCTBZ?offset=5250&filter=6

https://www.blockchain.com/ko/btc/address/17YVBuR8oCaC78xQtWbx1gkfmhjt52UMK7

https://www.blockchain.com/ko/btc/address/1HpyyzMwq1QZqS43guyy9GvLdc6jMWoy8z

Sometimes when you look at a block detector, there's some TX information that you don't understand.

For the following URL, the coin in the wallet is used to transfer the same bitcoin from several wallets to another.

There is also a "TX" that displays only the amount of coins received from one wallet.

In the case of the url below, I transfer Coin from my wallet "13E3dBUWUHV8XpgJib795yqRTmyX47jWMk" and there is no utxo sent to my wallet.

utxo 1) A---->B

utxo 2) A---->C

If this is how the money is transferred, can we know why this is happening?

https://www.blockchain.com/ko/btc/address/13E3dBUWUHV8XpgJib795yqRTmYX47jWMk


texts: How does one calculate the hash of a Tx? Which fields need to be double SHA hashed and in what order?


texts: Every 2016 blocks one needs to calculate new bits value. What is the formula to calculate it?


texts: What are midstate and hash1 used for in mining?

texts:
The first answer here does a good job explaining how the SHA-256 function requires more than one input (an initial one is specified by to the SHA-256 specs). As far as I understand it, the "midstate" value is the initial hash of the first half of the data, used to later serve as an input into the double-hash of the second half of the data.

Is this correct?

And here is an explanation of what the "hash1" value actually is and means, but what is it used for?


texts: Which coins offer a 2 factor authentication feature built into the blockchain without a centralize authority?

texts: Which coins have the ability to offer a 2 factor authentication feature where it requires a secondary approval mechanism in order to spend from an address?


texts: Can different clients have different transaction fees?

texts:
BitCoin Wiki states:

  Different bitcoin clients and different versions have different rules for determining which transactions to accept and how large a fee to send..

Is it true that different clients can attach different transaction fees which differ from the other clients?

For example, is there anyway to send 1 mBTC without having to pay the fee of 0.5 mBTC?

Are the rules of the transaction fees enforced by the protocol?


texts: How do we prevent the Test network from being misrepresented as production?

texts:
I'm concerned that people new to Bitcoin may not be aware that the test network exists, and the new users will end up "paying" for Bitcoins that are essentially worthless.

What protections are in place (or should be in place) to prevent a vulture capitalist from selling coins that can't cross between networks?

Should we openly reject offers (or the consumer demand) for coins on the test network?  ... the main idea is that the thought leaders of the Bitcoin initiative want to protect their investment in the network and prevent dilution though potential bad marketing this "counterfeit" network provides.

So again, the question is, what actions should we take with regard to the test network and questions/needs regarding it?  How can we ensure that it doesn't take on a monetary value of its own (or act as a negative influence on the prod network)


texts: How does a wallet decide which utxo to use?

texts:
I am using a cold wallet and made a few tx two days ago. However, though what I wanted to send was a very small amount of btc, the wallet made multiple utxo of huge amounts get involved and now all my assets are locked up as the tx are unconfirmed.
Questions;

Why does a wallet have to use multiple utxo (input>output 2>2 or 3>2) rather than just use one and split it in two (1>2)? (the aimed tx amount is smaller than each utxo)
Is the algorithm to select which utxo specific to each wallet or is there any general rule throughout bitcoin network?


texts: Online Bitcoin Script simulator or debugger?

texts: Is there an online simulator that would allow me to step through, debug, or simulate the execution of a Bitcoin script?


texts: Is centralization in the Lightning network inevitable? Why (not)?

texts:
Especially keeping in mind the possibility of single-funded channels (see Tadge's Google Doc Slides), buying from an exchange and concurrently opening a payment channel on the Lightning network would seem a particularly simple entry to the LN.

Exchanges and payment-providers would therefore seem to be in a natural position to become well-connected.

Is it fair to expect emergence of a network topology strongly centered around well-connected nodes such as the aforementioned and other liquidity providers?
What incentives are there for establishing additional connections with less well-connected nodes?
Is it reasonable to expect the network to "flesh out" with alternative connections around the center nodes?


texts: Cannot access blockchain.info through Tor browser?

texts:
I created my first wallet using bitaddress.org and put some money in it, which I am not able to spend, since this wallet doesn't have that function.
So I decided to import this wallet to blockchain wallet.
The problem is when i try to access blockchain wallet section through Tor it shows me a page with the following error message - Quota Exceeded (Req Count Limit).
Can someone help. Do you have any suggestions why I get this?
At this moment all my bitcoins are stuck into my bitaddress wallet and I cannot use them.


texts: Is there a way to verify how many Liquid Bitcoins are in existence?

texts: Is there a way to recognize peginaddresses where bitcoins are locked up for use on the Liquid sidechain, and therefore a way to sum up the total bitcoins currently circulating on Liquid?


texts:
Can someone maybe help me to understand the idea behind Bitcoin, because I really don't get it.

What I understand is the idea of mining, that there is the chain where each transaction is added to and it is decentralized which means that everyone is able to run his own instance of the chain (so no government or company can controll it completely).

But lets say I own one Bitcoin (an hash). What stops me to sell this one on different chain instances? As long as I understand, they are decentralized and dont have to synchronised at each transaction. Maybe they will find out when they synchronise at one point, but then it is to late.

Also the chain become bigger and bigger as more people start to make Bitcoin transactions. At the moment the chain has just a few GB as far as I know, but in the future it will have petabytes or more...and at this point still companies like Google or governments can store it, which destroy the idea in the first place.


texts: What is the formal code review process of the standard client?

texts:
There are n developers with commit privileged.

After one of them merges a pull request, how many eyes review that code? When? Is a complete (holistic) code review done before releasing a version? Does every line gets reviewed by at least one other person?


texts: Is it possible to get stuck with a block that nobody can mine?

texts:
The hash of a bitcoin block is generated from:

Block version number (partially fixed*, 32 bits)
Previous block hash (fixed, 256 bits)
Merkle root (not fixed, 256 bits),
Time (not fixed, 32 bits),
Bits (partially fixed*, 32 bits),
Nonce (not fixed, 32 bits).

So, the block hash is generated from 640 bits.
You can change 320 bits freely to try to have a hash that matches the current diff, and 320 bits are immutable.

Is there a property on the SHA-256 function that asserts that on these 320 bits of freedom, one combination will give us a hash that is matching the diff requirements?

If not, does that mean that the blockchain could get stuck on a block because nobody can mine on it?

* "Partially fixed" values could be changed by software updates for example. I assume that partially fixed values are fixed to simplify.


texts: Error mandatory-script-verify-flag-failed (Signature is found in scriptCode)

texts:
I found a few questions with the specific error, but couldn't find also the appropriate answer. So, here I am.

I am working on regtest in a Python library that create transactions and then use JSON-RPC to broadcast it on bitcoind server I have locally.

Here is the test:

Initialize a new regtest blockchain
Generate 101 blocks
Get the address that generates those blocks with the respective private key. Let's call this one Bob.

Then I have Steve, who wants to create a script with an absolute locktime (1000 blocks height) and receive 10 bitcoins from Bob.

Steve has a private key and an address. I use that address to create a script

redeem_script = Script([1000,'OP_CHECKLOCKTIMEVERIFY','OP_DROP', 'OP_DUP', 'OP_HASH160', steve_address.to_hash160(),'OP_EQUALVERIFY', 'OP_CHECKSIG'])
I get the new P2SH Address from the above script
With the listunspent, I get a UTXO from Bob with the related txId and vout
I create a TXInput with the above (txin = TxInput(txid, vout))
Then I create a TXOutput with the amount I want to send and the redeem_script (txout = TxOutput( amount-0.001, redeem_script.to_p2sh_script_pub_key() )
I sign the input with the address of Bob (sig = bob_private_key.sign_input(tx, vout, bob_address.to_script_pub_key() ))
And add the script signature to the TXInput (txin.script_sig = Script( [sig, pk] ))

Then, I broadcast the signed, raw transaction to bitcoind, but I get the error:

'mandatory-script-verify-flag-failed (Signature is found in scriptCode) (code 16)'

The raw transaction and the decoded one are:

02000000010006fc2306a9089e5e45b58ce0386845c139aeec02c6361519ef5afed3a61fc2000000006a47304402202a740d313de85fda558b12951508a73d9512c807d50d9ffab8a59a03ba2423c802200f1199877e3861a24a127f79436156978519c092f8883a9053babcb5bbdda43a012103ef124954caa832374ff31e5ae6c46736489a72b154ab14754fb3bf39f4a6c3f9ffffffff01a0373f250000000017a914d924aa439960faac94c4d74a81e54331ce92b9c58700000000

{
  "txid": "bba3f9881381999c668078af17b41aff23a4adaeed5656be5bc8112a4631ab61",
  "hash": "bba3f9881381999c668078af17b41aff23a4adaeed5656be5bc8112a4631ab61",
  "version": 2,
  "size": 189,
  "vsize": 189,
  "weight": 756,
  "locktime": 0,
  "vin": [
    {
      "txid": "c21fa6d3fe5aef191536c602ecae39c1456838e08cb5455e9e08a90623fc0600",
      "vout": 0,
      "scriptSig": {
        "asm": "304402202a740d313de85fda558b12951508a73d9512c807d50d9ffab8a59a03ba2423c802200f1199877e3861a24a127f79436156978519c092f8883a9053babcb5bbdda43a[ALL] 03ef124954caa832374ff31e5ae6c46736489a72b154ab14754fb3bf39f4a6c3f9",
        "hex": "47304402202a740d313de85fda558b12951508a73d9512c807d50d9ffab8a59a03ba2423c802200f1199877e3861a24a127f79436156978519c092f8883a9053babcb5bbdda43a012103ef124954caa832374ff31e5ae6c46736489a72b154ab14754fb3bf39f4a6c3f9"
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 6.24900000,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_HASH160 d924aa439960faac94c4d74a81e54331ce92b9c5 OP_EQUAL",
        "hex": "a914d924aa439960faac94c4d74a81e54331ce92b9c587",
        "reqSigs": 1,
        "type": "scripthash",
        "addresses": [
          "2ND3NYSrRqp742acVwYGSDSxbsm5Ce8wbXe"
        ]
      }
    }
  ]
}

Any idea? I am newbie and I might overlooked something important or trivial.


texts: Is is possible to prove you possess an amount of BTC without actually spending it?

texts: I could think of several situations, especially in large purchase negotiations, where one party would like to know that the money is under the control of the other party before continuing with the costs of further negotiation and due diligence (e.g. $5k in a house closing).


texts: Ledger 8 pin number how hard in terms of entropy is it to guess?

texts:
ledger has a  max. 8 number pin for unlocking it as far I know.

I am very interested, can someone say if (given any method/resources) it is in any scenario (except luck) possible to guess this 8 number pin within 3 tries? Because as i understand after 3rd try, the device resets.

Is this too hard or possible?

And if you know, could you calculate (or tell me how) the entropy for this case (8 random numbers, 3 tries)?

thanks


texts:
I have installed bitcoin core in my ubuntu-14.04 which is working fine.
Now I want to install bitcoind in the same Machine. Can I install bitcoind along with bitcoin core or I need to uninstall bitcoin core from my machine.

What should I do to migrate from bitcoin core to bitcoind?

Thanks in Advance.


texts: Why can’t lightning tx’s be signed with sighash single to allow for fee updates?

texts:
Are out-of-band fee payments to confirm a lightning closing transaction the only way to manage a situation where the sat/kw of a previously signed commitment tx are simply below market?

If additional inputs/outputs could be added, fees could be easily adjusted to the fee rate during channel closing and not at the time when the tx was signed...


texts: How can I know that my transaction has been confirmed on the longer chain?

texts: This question is more on the theory of bitcoin.  Let's say I receive a coin in a tx which has been confirmed with 6 blocks following the block that's been confirmed.  How can I be sure that there's no other place in cyberspace that has a longer chain  confirming a different transaction that transfers this coin to somebody else?


texts: Is it possible to configure bitcoind to allocate blocks in larger "chunks"?

texts:
In the bitcoind log there are many entries similar to this:

Pre-allocating up to position 0x200000 in rev02037.dat

There are often several messages regarding pre-allocation of the same file. This is concerning because copy-on-write filesystems (such as BTRFS, in my case) have to allocate new extents when files are written in this manner. Such writes cause an increase in filesystem metadata block consumption, which of course eats away at the overall available storage. For example, here are the size and number of extents consumed by two of the files:

# ls -lh *02036.dat
-rw------- 1 bitcoin bitcoin 128M Apr 16 16:49 blk02036.dat
-rw------- 1 bitcoin bitcoin  17M Apr 16 16:49 rev02036.dat

# filefrag *02036.dat
blk02036.dat: 87 extents found
rev02036.dat: 103 extent found

Both files consume more extents than what they actually need considering their sizes. After defragging them with btrfs filesystem defrag they were rewritten and now only consume one extent each.

Since the blk and rev files each tend to be roughly the same size, I prefer to have bitcoind perform the allocations such that it's most likely to only need to perform one pre-allocation. Is there such a configuration option available?


texts: How is this procedure a proof of reserve?

texts:
i'm still learning about bitcoin, and i learned about the "proof-of reserve"-concept, that online wallets need to accomplish to prove they are having enough bitcoins for all their liabilities.

Now, the only procedure that i know of to do that is the one described in this document: https://www.bitstamp.net/s/documents/Bitstamp_proof_of_reserves_statement.pdf

This document describes how bitstamp is giving a proof of their reserves, by sending their whole cold storage amount to an adress of themself. So far, that makes sense.

What i don't understand is: What purpose has the signing of a selected message by the third party, described at the end of the first page?

Thanks for any help.


texts: This question seems to be asked every now and then when legal status of Bitcoin is discussed - Is Bitcoin a currency? What are the characteristics that would make it a currency, and what makes it different from the standard definition?


texts: In a getwork request, bitcoind sends a target corresponding to the current block's bits value. Do the major pools send the same target as one would expect from bitcoind, difficulty of "1" target, or perhaps something else?


texts: How does hyperledger fabric handle random number generation?

texts: Given that one can write chaincode in JavaScript or Go and freely call random methods provided by the language libraries, how does the network handle the randomness?


texts: Is withdrawal of BTC in cash possible on Bitcoin Wallet App

texts:
So, I have installed one of the recommended wallets - https://bitcoin.org/en/wallets/mobile/android/bitcoinwallet/

But I see no option there for withdrawal, just to send and receive bitcoins.
Am I missing something?

I would like to withdraw it to a German bank account if that helps


texts: Can I get all the information I need to create a payment transaction from BlockExplorer?

texts:
Let's say I have a bitcoin address that I want to make a payment from.

I understand that to create a payment from that address I need to get the unspent outs. Can I get that information from BlockExplorer ?

And if so to create the payment do I just need the transaction hash of the transaction containing the out and the index of the out ?

*Update : *

You can assume I have the private key. So what I'm looking for is a list of unspent outs by public key.

I can see how to retrieve transactions for an address i.e. http://blockexplorer.com/q/mytransactions/1JjvT5HoVoqhyLN2cb9imMsN9HgYAK268m

*Update 2 : *

I should have mentioned that I want to do this programmitcally, i.e. through the BlockExplorer query API. http://blockexplorer.com/q


texts:
I want to buy a cheap computer to use exclusively as a secure offline wallet for cold storage. I am considering a Chromebook.

Has anyone managed to run Armory on a Chromebook?


texts: what does this error mean "Script did not clean its stack" while signing segwit transactions

texts:
I'm trying to sign raw transaction on Bitcoin fork (Bitcoin-ABC 0.16.2) but I get Script did not clean its stack

        [args] => Array
            (
                [RAW] => 0200000001455f65335121517a3cd72737bd6d49dd0523dacc68465cac514dd723624f92f40000000000ffffffff0280c3c901000000001976a91409fed3e08e624b23dbbacc77f7b2a39998351a6888ac80bbaf4b000000001976a914c1f41b20bb5a64080f19347fb03f1cafbb19793e88ac00000000
                [PRVKEY] => Array
                    (
                        [0] => cPsVieHs6F5UBcWjG7Sp12bEjC6Jn6Qnbdj8CsrPDH1cCF6sdqiU
                    )

                [INPUTS] => Array
                    (
                        [0] => Array
                            (
                                [txid] => f4924f6223d74d51ac5c4668ccda2305dd496dbd3727d73c7a51215133655f45
                                [vout] => 0
                                [scriptPubKey] => a9140ef96a27286c7ce607623cf4f8ca4ba2ec977b2c87
                                [amount] => 13.000000
                                [address] => 2MtcQEbyzHoELWmzeMonsfbbLpBsTdU8BbD
                                [redeemScript] => 00143b7ec6d6e7697ed406f3bb825e028238ab5cc623
                            )

                    )

            )

    )


texts:
I am waiting for a transaction from Dec 13 to get denied by the blockchain and be able to use the funds again. How long does that usually take? I have tried multiple transaction accelerators both free and paid and nothing has helped at all. I am using Mycelium wallet , have tried deleting that transaction and reloading my wallet from 0 and it keeps coming back, tried using the verification phrase to open the wallet on another device and same thing. How long will this take? It's about $250 and I can use the money. I tried CPFP but Mycelium says can't do it, and the receiving end is a Coinbase account and that won't allow it either. Any help would be appreciated. If anyone is able to have it accelerated successfully I will be glad to tip.

Thanks


texts:
I just went to install the latest version of bitcoind and discovered that Wladimir has signed the https://bitcoin.org/bin/bitcoin-core-0.12.1/SHA256SUMS.asc file with a new GPG key: https://bitcoin.org/laanwj-releases.asc. His previous key was https://bitcoin.org/laanwj.asc.

Some Googling turned up this notice on reddit but he doesn't say why he started using a new key. Does anybody know why he switched keys? Are there any good reasons to switch keys? Should I be worried?


texts:
The Bitcoin wiki Vocabulary article explains why the Merkle root exists:

  Every transaction has a hash associated with it. In a block, all of
  the transaction hashes in the block are themselves hashed (sometimes
  several times -- the exact process is complex), and the result is the
  Merkle root. In other words, the Merkle root is the hash of all the
  hashes of all the transactions in the block. The Merkle root is
  included in the block header. With this scheme, it is possible to
  securely verify that a transaction has been accepted by the network
  (and get the number of confirmations) by downloading just the tiny
  block headers and Merkle tree -- downloading the entire block chain is
  unnecessary. This feature is currently not used in Bitcoin, but it
  will be in the future.

How can you check if a transaction has been verified only using Merkle roots? How does that mechanism work?


texts: Probability of hash yielding a valid block

texts: I read today in a paper that for BTC every hash has a probability  of yielding a valid block and that this is approximated by  most of the time. Can someone explain to me how to come up with this formula? Is this something specific to BTC?


texts: Why must some bitcoin clients download the block chain and others not?

texts: What does it mean that some Bitcoin clients download the entire block chain (all transactions ever happened) and others not?


texts: How to detect a consensus is BFT or not?

texts:
Can we divide consensus algorithms into BFT (Byzantine Fault
Tolerant) and non-BFT ?
If so, How to detect a consensus is BFT or non-BFT ?
Is there any non-BFT consensus algorithm example ?


texts: Why can't a transaction be redirected after it is signed?

texts:
Scenario:

Step 1: User-1 initiates the TXN-1 to pay to User-2 and the TXN is not yet confirmed with the ongoing block POW.

Step 2: What prevents fraudster (anyone a miner or someone listening/participating in the network), to double spend or divert the payment to User-3 with a new TXN-2 by copying the data from pending TXN-1 including the User-1's signature?

Step 3: if the miners reject both TXN-1 and TXN-2 as a suspicious or double spend activity in the current block POW, what prevents the same fraudster to issue a new TXN-3 by copying the TXN-2 with the next block POW?

Thanks in advance.