texts: Bitcoin-qt -testnet 0.17.1 Send and Receive buttons do nothing

texts:
Fully synced on testnet blockchain after building Bitcoin with UI and wallet enabled on Ubuntu 18.10.

Pressing Send and Receive buttons results in no UI displayed.

Receiving addresses dialog doesn't have New button in this version so it can't be used.

Debug window getnewaddress worked, however, and I was able to receive some coins from coinfaucet.eu using that address.

After receiving coins Send button still doesn't result in any UI displayed.
Receiving addresses menu/resulting dialog now shows the address that coins were received at (the one obtained via getnewaddress).

I see the same behavior of buttons when synced on the main net but couldn't test sending or receiving the real Bitcoins.

What can I do to debug this issue without getting deep into the (quite unfamiliar at this point) source code? I compiled bitcoin with optimizations enabled.

Here is a link to the debug.log created in the following way: exited bitcoin-qt and renamed original log which was huge. Restarted bitcoin-qt with options -testnet -debug=1. Clicked on Send, Receive and Transactions buttons. Exited bitcoin-qt.


texts: How key chain works for Bitgo multi-signature wallet?

texts:
I am using bitgo service for Bitcoin wallet creation. Once I am creating bitcoin wallet using bitgo service, getting three different key chain which are user key chain, bitgo key chain, backup key chain which are storing in my database.

Suppose, hackers will get two key chain out of three, will they  make transaction or not?

Please assist me.


texts:
https://blockchain.info/tx/e50d760324d5ef982f8566a0a3cd9e1233c8b77aeea53ee72af77c12328b1374

I sent this transaction 17 days ago through the Blockchain Online Wallet and it's still unconfirmed.

I tried ViaBTC accelerator but it always says "Submission are beyond limit."
I've also read about some other solutions but they seem very technically complex and potentially dangerous if you don't know what you're doing.

Please help.


texts: So I had my Bitcoin wallet at Multibit and due to computer problems I formatted my hard drive and the wallet within it. I have no backups of the wallet, I have only my account name. Are my Bitcoins now gone forever?


texts: Can I sell bitcoin worth five million dollars or more and how can I?

texts: I bought 200 bitcoin in the year 2012 and I've come to the point where I feel I need to withdraw some of it. But I'm having some difficulty doing that. How can I withdraw a large sum of bitcoin and where? An answer preferably includes a step by step guide.


texts: How to get all time high and low price of bitcoin and other altcoins

texts:
I am fetching current price of 500 coins from coinmarketcap.com using their api for some crypto research. I also the all time high and low of these coins to see how much has the value appreciated/ depreciated since all time high / low.

Does any one know where I can find the all time high and low of the coins.
Could't find any api/website offering the same. Its okey even if its a website because, I just want fetch the data once. I can update my record if the coin hits a new high / low after that using live data from coinmarketcap.


texts: Can I use Electrum seed as a paper wallet?

texts:
Based on what I've read so far I'm pretty sure that what I want to do should work, but I'd like to get some confirmation to make sure I won't be causing myself  issues by screwing something up if I'm wrong.

This is what I'd to do:
1. setup an Electrum wallet in offline mode
2. write down the seed on paper
3. send the coins I want to secure from my normal wallet to one of the generated addresses
4. delete the newly setup Electrum wallet from the hard drive
5. Voila, I should be left with a paper wallet, right? With the wallet deleted from the hard drive, the only access point to the coins is through that paper with the seed written down. And whenever I want to use them, I just open Electrum, type in the seed and it'll grant me full access.

Is my thinking correct? I want to be sure I'm not missing something silly that would result in my finding out that I can't actually access the coins further down the line...


texts: How much memory(RAM) is used by the mem pool and UTXO pool

texts:
I know I can set -dbcache=<MB> when starting bitcoind.
Does this effect how much RAM is allocated for the UTXOPool or UTXOPool + mempool?
How can I know how much RAM does each database take in RAM?

If the UTXO pool is 2.7GB, and I set -dbcache=4096, what happens to the rest of the alloated memory?


texts: How to broadcast a non standard transaction?

texts:
How can i broadcast a non standard transaction?

I tried using the core client, coinb, blockchain.info, luke-jr's test release as well as pushing it to eligius but it doesn't work.


texts:
In Bitcoin app wallet
I created many addresses, which I need to delete. I tried to press, clamp, enter the settings. Nothing helped. Is it possible to remove unnecessary addresses?


texts: How to unblock an account that is held to ransom

texts:
I have a blockchain account with bitcoins in but the account is held at ransom. I have to pay 2140$ to get a private key. Is there any way to report this to Blockchain.

I did a trading agreement. The dealer put my profits into a mining account on Blockchain. To retreive my funds I need to purchase a key from the dealer to have the funds released. Hope I am making sense


texts:
Many gambling services (and p2p exchanges) do not wait for confirmations before exchanging value (many realize their customers will not wait 6+ hours for a confirmation).

What's to stop someone from sending 10 BTC they don't have, assuming that the party they're sending it to will not wait for confirmations?


texts:
NOTE: I am a Bitcoin newbie. Please excuse (and correct) any wrong terminology in this post.

Can the transaction data in an earlier block be edited? Of course, it would break the verification of the Proof-of-Work because data will not match the final block digest. However, wouldn't the original data be lost, and the link to later blocks in the chain be broken? i.e. Anybody can figure out that the block has been messed with. However, how would the correct data be retrieved?

My guess is that there are multiple copies of the blockchain. Even if the data in a block in one copy of the blockchain is corrupted, other copies of the "true" blockchain will still be "out there" and will be accepted because they would be longer (have greater difficulty score) than the broken copy.

Is that correct?


texts: Is there a class or sequence diagram for BitcoinCore?

texts:
I'm looking at the code located at https://github.com/bitcoin/bitcoin/tree/master/src

Does anyone have a basic diagram of what calls what, just a sequence chart of how all the classes piece together and what's a good entry point.  There was a thread with some overview but there has been a lot of change since it seems.  Just wondering if anyone has gone through this process.


texts: I am trying to use the Bitfinex API to get historic shorts,longs BTC/USD data.So, the Bitfinex gives size data with Available values: '1m', this equals last 2 hours, i need last two month at least. Trading view have all data, but i must pass the license. Have another ways to get this data?


texts: should i call keypoolrefill or it's refilled automatically?

texts: As far as i know that key pool gets refilled automatically with each address taken out of it. Why should i use keypoolrefill then ? What's the benefit of this command ?


texts: Up to date list of exchanges that have been hacked?

texts:
One key detail I'd like to consider when reviewing which exchange to do trading on, is how often, and recently have they been hacked?

I can see lots of random posts about this of course for various exchanges, but would love to find a chart that lists this type of information, with up to date information.


texts: Adding an external key pair to a local bitcoinj wallet

texts:
I need to add a vanity address to a local wallet that I maintain using bitcoinj APIs. I'm not able to search for the vanity using bitcoinj APIs directly, on my local PC, because my vanity is too fancy. However, I'm able to generate the pair online easily. What is the API I should use to add this key pair to my local wallet ?

I tried the following,

Say the required vanity is 1meowvYmB7ughhsRvUWfsac9LKDonh4cn (private key: 5JXFsJEAiqtTv95rSmw3KSJeAZ97SsmKWTQq5yqBzioSJ1guUHK). I generated this at bitcoinvanitygen, I converted this to hex at, Base58 Encode, Decode, and Validate. I tried the following.

Address vanity = new Address(networkParameters, networkParameters.getAddressHeader(), Hex.decode("000871DD31D517D15D7352139A44B07EBE97B1772C7F291357"));

I need to construct an Address from this string. I get the following error:

exception decoding Hex string: String index out of range: 47


texts: What temperature should a USB ASIC Miner have while running?

texts: What is the maximum temperature a USB miner should be running at? Mine are at about 60°C/150°F.


texts: In the case, bitcoin transactions are becoming less frequent, will the blockchain become unsafe?

texts:
The security of the blockchain relies in the fact that new blocks are added faster than any attacker guy can add them (as long as <51%)

In case the frequency of the bitcoin transactions becomes less, an attacker could use the time to remove some previous transactions (not too far behind) and do bis proof of work.
Then... When new Block is finally verified and ready to be added, in the case he is the fastest miner (even <51%), he could propagate his bogus blockchain fork.

Of course, due to <51% his chances are little but because of the low amount of transactions, he could try over and over again (thus increasing his chances).

World this render blockchain more insecure?

Thanks!


texts:
I have seen lot of people saying that taproot is only for large multisigs used in few projects or companies.
BlueMatt mentioned similar thing in last Taproot activation meeting:

13:01 < BlueMatt> only large multisigs care, really. plus whole new sig algorithm

http://gnusha.org/taproot-activation/2021-03-23.log

Is this true? Do you think only large multisigs care and it will benefit only large multisigs? What is a large multisig? (Main question)

Related questions which can be ignored.

If Taproot also involves a new signature algorithm: Schnorr, why would only large multisigs care?

Is usage of multisig in bitcoin projects an issue? Which projects already use multisig? Is everything possible without multisig?


texts: How can I convert bitcoins to Indian rupees and vice-versa?

texts: How can I convert bitcoins into Indian rupees (INR) and get them in paper rupee notes?


texts: Is there some relatively simple (and preferably free/open-source) solution for starting my own mining pool? How close to "turnkey" would such a solution be and with pool operators mostly running at 0% fees and living on transaction fees, is it even worth my time any more?


texts: Bitcoin Core extremely high syncing time

texts:
I'm running Bitcoin Core wallet on a gaming PC with a GTX 750ti, and 3.7ghz quadcore processor, and 16gb of ram. My internet download speed is 15 116mbps via hardwire.

But for some reason the syncing is stuck on 2 years and 33 weeks. I just ordered 100$ worth of bitcoin (which should come in 7 days) and I'm worried that it won't go through if it's still syncing.

Does anyone know what I could do to fix this? It's making me anxious.


texts: What prevents two miners from working on separate blocks which share transactions?

texts:
I am just learning bitcoin and am confused on two issues.

What prevents one miner (Miner A) from creating a block including transaction X which has a transaction fee associated with it, and Miner B working on a separate block which also has the same transaction X in it. Clearly both of them cannot get the transaction fee. Does whoever solves it first get the bitcoins, and the loser gets nothing? Or are transactions "claimed" when you create a block, so others cannot also work on verifying them.
Is it possible for somebody to not have their transaction be verified in a long time? What if no miner picks up their transaction in their respective block they are working on? Or are the chances of that very low.

Thanks!


texts: Can I use single address for all my transactions?

texts:
Can I always use single public key (addr1) for all my transactions and when I spend every time protect it with different scripts / keys (key2, key3, etc.), so that spending requires at least two keys ('key1', and 'key-n') but addr1 remains the same for receiving bitcoins.

example.

(transaction, output script): (input address, amount) --> (output 1); (output 2)
--------------------------------------------------------------------------
(trxn1, script1): (addr1, 10 BTC) --> (addr2,  5 BTC); (addr1,  5 BTC)
(trxn2, script2): (addr1,  5 BTC) --> (addr3,  1 BTC); (addr1,  4 BTC)
(trxn3, script3): (addr1,  4 BTC) --> (addr4,  1 BTC); (addr1,  3 BTC)
(trxn4, script4): (addr5, 12 BTC) --> (addr1, 10 BTC); (addr5,  2 BTC)
(trxn5, script5): (addr1, 13 BTC) --> (addr6,  2 BTC); (addr1, 11 BTC)

Is it possible to make script 1, 2, 3 and 5 would require different keys (at least 2; key1 and key-n) to spend bitcoin from this address?

Is it possible with Script? Is there any other ways in which I can keep single address for all my transactions?

addr1 is my address; transactions 1, 2, 3, 5 are my spends and transaction 4 is receiving transaction.

Motivation: To use same address for all my transactions. Reason is, I own firstbits address '1vijay', and I don't want to loose in case of my private key compromised. I am looking for any solution that would solve my problem, particularly scripts.

pseudo-script would be something like,

scriptPubKey: <pubKey1> OP_DROP <pubKey2> OP_CHECKSIG
scriptSig: <sig>

I would like to use 'pubKey1' as my receiving address always, but my spending would depend on private key corresponding to 'pubKey2'.


texts: Question about blinding factors in Confidential Transaction

texts: In the paper about Confidential Transaction, it is said that the blinding factor for the range proof can be deduced with the shared secret using HMAC. But i didn't understand how the receiver can find the 'main' blinding factor, the one which is linked to the output commitment. I assumed he would do it using the same method as for the blinding factor of the range proof but i am not sure. Can someone explain ?


texts: Any methods or tech to reduce the size of blockchain?

texts: Are there any techs/methods applied or going to be applied on the bitcoin network to reduce the size of blockchain. It is really a burden for peroson to run a full-node especially on vps. Or what other coins successfully dealed this storage problem?


texts: Does stratum mining use something similar to "https" to secure traffic between the pool and the miners?


texts: how to achieve transaction info of all the blocks

texts:
I use https://chain.api.btc.com/v3/block/date/20151215 to achieve list of blocks and also use https://chain.api.btc.com/v3/tx/0eab89a271380b09987bcee5258fca91f28df4dadcedf892658b9bc261050d96?verbose=3 to get transaction info for a single transaction. Now I have a question. To access transaction info of all blocks what should I do?
when I copy the hash of any block from the list of the first link in the second link, it shows error.


texts: Random 'The operation has timed out' errors in JSON-RPC

texts:
I run Bitcoin Core QT and ASP.NET website on the same webserver. My website communicates with Bitcoin Core QT via JSON-RPC. There are hundreds of requests behind the scenes. Sometimes a request finishes with The operation has timed out exception. What is wrong with it? This unstable behavior is really annoys me.

My bitcoin.conf is:

rpcuser = XXXXXXXX
rpcpassword = XXXXXXXX
server=1
rpcallowip=xx.xx.xx.xx
rpcallowip=127.0.0.1
rpcport=xxxx
rpcthreads=1200

UPDATE: I use heavily edited https://github.com/GeorgeKimionis/BitcoinLib, which in its turn internally is based on HttpWebRequest. RpcRequestTimeoutInSeconds is set to 60 seconds. Is it not enough to get balance and account list?


texts:
I've seen many peoples are actually recovering their private keys using signatures pub key r s z values etc , anyway , I've found a way to recover it but using transaction  hex i can't found the identical R value , is there any other way to recover it from r s z ? or is it possible to recover any private key using random R values ?
I have tried this method , In my case the values of R are different , this method is just for example having same/identical R value.  ;

def inverse_mod( a, m ):
    """Inverse of a mod m."""
    if a < 0 or m <= a: a = a % m
    # From Ferguson and Schneier, roughly:
    c, d = a, m
    uc, vc, ud, vd = 1, 0, 0, 1
    while c != 0:
        q, c, d = divmod( d, c ) + ( c, )
        uc, vc, ud, vd = ud - q*uc, vd - q*vc, uc, vc

    # At this point, d is the GCD, and ud*a+vd*m = d.
    # If d == 1, this means that ud is a inverse.
    assert d == 1
    if ud > 0: return ud
    else: return ud + m

def derivate_privkey(p, r, s1, s2, hash1, hash2):
    z = hash1 - hash2
    s = s1 - s2
    r_inv = inverse_mod(r, p)
    s_inv = inverse_mod(s, p)
    k = (z * s_inv) % p
    d = (r_inv * (s1 * k - hash1)) % p
    return d, k

p  = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141

# this case is right
public_key=0x04dbd0c61532279cf72981c3584fc32216e0127699635c2789f549e0730c059b81ae133016a69c21e23f1859a95f06d52b7bf149a8f2fe4e8535c8a829b449c5ff
r =0xd47ce4c025c35ec440bc81d99834a624875161a26bf56ef7fdc0f5d52f843ad1
s1=0x44e1ff2dfd8102cf7a47c21d5c9fd5701610d04953c6836596b4fe9dd2f53e3e
s2=0x9a5f1c75e461d7ceb1cf3cab9013eb2dc85b6d0da8c3c6e27e3a5a5b3faa5bab
z1=0xc0e2d0a89a348de88fda08211c70d1d7e52ccef2eb9459911bf977d587784c6e
z2=0x17b0f41c8c337ac1e18c98759e83a8cccbc368dd9d89e5f03cb633c265fd0ddc
print "private:%x\n random:%x" % derivate_privkey(p,r,s1,s2,z1,z2)
print

# this case can be wrong
public_key=0x02a50eb66887d03fe186b608f477d99bc7631c56e64bb3af7dc97e71b917c5b364
r =0x0861cce1da15fc2dd79f1164c4f7b3e6c1526e7e8d85716578689ca9a5dc349d
s1=0x6cf26e2776f7c94cafcee05cc810471ddca16fa864d13d57bee1c06ce39a3188
s2=0x4ba75bdda43b3aab84b895cfd9ef13a477182657faaf286a7b0d25f0cb9a7de2
z1=0x01b125d18422cdfa7b153f5bcf5b01927cf59791d1d9810009c70cd37b14f4e6
z2=0x339ff7b1ced3a45c988b3e4e239ea745db3b2b3fda6208134691bd2e4a37d6e1

print "private:%x\n random:%x" % derivate_privkey(p,r,s1,s2,z1,z2)


texts: Can importing a bitcoin address retrieve the lost coins with it?

texts: I wish to know if its possible to get the lost coins back if you retrieve the BITCOIN address to which they were sent?


texts: Linux app (non-GUI) for benchmarking bitmining server's perfomance

texts:
Is there a Linux application that can benchmark the bitmining perfomance of a headless server ?

The application could run from the shell (terminal).

Up to know I have found this that requires Java.


texts: Why does a malicious miner need more hashing power than the rest of the network combined?

texts:
I don’t quite understand why a malicious miner needs more hashing power than the rest of the network combined.

When miners are solving a hash puzzle, aren’t they solving the puzzle individually? If so, a malicious miner merely needs to be the most powerful node in terms of her hashing power. But I guess miners are actually solving the puzzle together? In this case, it makes sense that the malicious miner needs to have more than 51% of the hashing power.

edited: November 21, 2018

My question is not how to pull of the 51% attack, but why a malicious miner needs more hashing power than the rest of the network combined.


texts:
TWO questions on Neutrino::

1)  Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?  Or other formulation: ...hinder higher degree of decentralization?

Why I am asking:  This article by Dorier pointed me to this thoughts. https://medium.com/@nicolasdorier/neutrino-is-dangerous-for-my-self-sovereignty-18fac5bcdc25

He basically says neutrino users are still not FULL NODES. Therefore doesnt make sense to switch from SPVs or webwallets to neutrino enabled wallets....

Could the technical knowledgable members here maybe do an explanation, why Dorier might come up with this thesis,  what technical arguments are speaking for it?  Or do you think its a baseless thesis?

2)  He basically says, why do we need neutrino, its essentially the same as SPV... Why is there technical advantages with Neutrino, what are its differentiators to SPV?

Thank you


texts:
In Ethereum, what is an uncle?

Why does Ethereum take this approach, instead of having a single chain of blocks back to the genesis block?

If you mine a block, and it only gets included as an uncle, how much of the original reward do you get?

How long after the uncle is created is it allowed to be included into a block?


texts:
I wanna understand how can a user find a certain transaction he created on the blockchain without him knowing on which block it belongs ? does he have to go over all the blocks using bloom filters to find his transaction ? narrow the search to an interval of timestamps ? there must be a special mechanism ...

I searched on google but all i found were websites to find them for u, i want to understand the actual mechanism used in the bitcoin protocol?

Block Explorers seems to be storing those transactions in special databases and they use their own approach to find transactions ... My question is about how full nodes find those transactions ? do they go over the whole chain trying to find them ?


texts: How much money is being doled out in fees for every block right now?

texts:
Every time I see a calculation of the profitability of mining taking in account your hardware and the number of Hash/s it does and subtracting energy costs and then the probability of finding a share and receiving 25BTC every block and so on... it never accounts for the money given in transaction fees (that will eventually be the only money given to miners when the stock of BTC reaches 21 million).
I'd like to make a more accurate estimate of how much money for MHash is actually being generated that takes the transaction fees into account. I can't find that info on Block Explorer. Does anyone have an idea of the magnitude of those fees?


texts: Bitcoin-Qt - backing up unencrypted wallet then encrypting it

texts: If I back up unencrypted wallet.dat somewhere safe (TrueCrypt volume) and then encrypt the wallet by Settings / Encrypt Wallet, will my backup still be useful? I think the message after encrypting the wallet said something about other unencrypted backups being useless as soon as encrypted wallet starts to be used - how could that be possible at all, I don't believe that claim and I hope it's not true :/


texts: BIP32 recommends a 256 bit seed. Why do most Bitcoin wallets only use a 128 bit seed?

texts:
According to BIP32's "Master key generation" section, "256 bits is advised".

See https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#Master_key_generation

Why did BIP32 consider 256 bits to be the recommended seed size, and why did the authors of so many Bitcoin wallet implementations consider 256 bits unnecessary?


texts: It's taking forever to sychronize wallet

texts: I was sending bitcoins from Mt. Gox to my bit wallet.  However, the wallet still says its sychronizing.  It says there are 18600 blocks remaining and the count is reducing extremely slowly.  It's been synching for almost a day now.  Are the bit coins I sent from Mt. Gox lost?  Any help would be awesome.


texts: Python: How generate bitcoin addresses using electrum library

texts:
What am I doing wrong here? I'm trying to generate bitcoin addresses from the seed but they do not match with ones from electrum application. Did I miss something? And I also have trouble with generating wifs, as it seems they removed method bitcoin.SecretToASecret(prv, compressed=True), but I can't find with what they replaced it.

from electrum import bitcoin
from electrum import keystore
from electrum.mnemonic import Mnemonic

defaultseed = "face circle glad valley exhibit find man oblige kingdom scorpion fish misery"

m44_0_0_0_0 = {
    'address': '1ALSQR3C68JLj5rtJHv594r5cviTqoXMNr',  # compressed by default
    'private_key': 'Ky9mddDtaqcLC1vv6egmgQpiZh8Lgh111LnJSyJENxJs3oW93bjD'
}

if __name__ == '__main__':

    password = ''
    bip32_seed = Mnemonic.mnemonic_to_seed(defaultseed, password)

    # m / purpose' / coin_type' / account' / change / address_index
    derivation = "m/44'/0'/0'/"
    xtype = keystore.xtype_from_derivation(derivation)
    # print('seed: {}'.format(repr(bip32_seed)))
    xprv, xpub = bitcoin.bip32_root(bip32_seed, xtype)
    # print('root: {0}  {1}'.format(xprv, xpub))

    xprv, xpub = bitcoin.bip32_private_derivation(xprv, 'm/', derivation)  # 1st account

    # generate first receiving addresses:
    i = 0
    prv, pub = bitcoin.bip32_private_derivation(xprv, "", "0/{index}".format(index=i))

    pub = bitcoin.deserialize_xkey(pub, False)[-1]
    prv = bitcoin.deserialize_xkey(prv, True)[-1]
    addr = bitcoin.public_key_to_p2pkh(pub)

    wif = 'how to generate wif from {prv} using electrum'

    print('{index:2}: {addr}  {wif}'.format(index=i, addr=addr, wif=wif))


texts: I am new to Bitcoin. Am I being scammed?

texts:
I am new to Bitcoin. I got into transaction with this woman I saw on Facebook, Olivia Jessica, a lot were mentioning her in a group so I decided to ask her how to do this thing. She asked me to join by starting with $300 and she will do the rest of the trading to help me get my first profit. After 2 days, she told me I earned almost $10,000 dollars and is now asking me to pay for a transfer fee of $350.
I need to loan that huge amount of withdrawal fee so I am hesitating because I feel like I am being scammed. I was sent an email about the withdrawal fee and the profit I gained after 2 days of the transaction but it seems that the email is not delivered in a formal manner given that it is company generated e-mail.
After that, I asked for proofs like ID and she sent me a picture of her ID but I am still hesitant to believe after being able to watch a couple of videos of scams on YouTube. She sent me a link to SIGN UP into to see my profit. Then after SIGNING UP, she told me that she will just input my earnings on the account (so I can see it in the dashboard).
I want to reassure before paying her a huge amount of money again. Because my relatives think its a scam. Am I being scammed or is this how it's supposed to be?
I might look like a fool if this is really a scam but thank you. I really need advice if this is a scam or not. I just want to feed my family under this quarantine and ended up in this uncertain situation.
I have screenshots of our conversation including her IDs in case it would help to identify this situation.
Thank you for your help!


texts: Calculating "total received" and balance by an address

texts:
This is something which I think should be simple but it's driving me crazy. See for example this list of transactions associated with an address:

https://blockchain.info/address/1EZK42jGEJVniyBn1wXrUx92wzyUkYB8kJ?format=json

What I want to do is simply arrive at the same total_received, total_sent and balance stats for the given data.

An obvious requirement is to not count the "change" as a new payment to the address. My idea was to simply sum all the outputs in transactions whose inputs are not from the same target address, e.g. if a transaction has an input (or multiple inputs) from A and outputs to B and A, treat this output as change and don't include it in the sum -- only this doesn't produce the same sum as blockchain.info! In this case, it produces 158.11536395 vs 251.24164662. It looks like I'm missing something?

The next step would be to take the list of outputs produced by the first step, and see which are spent and which are not. The sum of the unspent outputs is the current balance. Is this correct?

Anyone?


texts: How to access my bitcoin on a new wallet?

texts:
Ok let me start with I am a novice and please excuse my ignorance(!) Thanks!

A few years ago I went to the bank and deposited cash to buy bitcoin. I had a wallet with a bitcoin address as well as a secure password which I wrote down (I am looking at it as I type). However the computer I used has since been replaced by a new one and I left my country to move abroad without installing the original wallet on my new laptop.

I do have a paper wallet saved but I really need to some advice on what I need to do to access my bitcoin on a new wallet and to see how much my bitcoin is worth.

Any help would be really, really appreciated.

Many thanks


texts: What cryptography hardware and/or software does a bitcoin exchange need to employ?

texts: We have an operating equities exchange. To exchange bitcoin or other crypto-currencies, what cryptographic hardware or software would we have to use?


texts: getbalance and listaddressgroupings inconsistent

texts:
I imported a private key from my electrum wallet (testnet) to bitcoincore (testnet) as follow:

In my electrum wallet, I copy the private key associated to the address mmUToPM2vBb2F1ZNcR86J12GxqAbUJtFCr (balance of 0.06 BTC)
Then I import it into bitcoincore:

~# bitcoin-cli importprivkey "the 52 characters private key here" "From Electrum Wallet"

Rescan should be automatic but I ask for a reindex and rescan:

~# bitcoind -rescan -reindex

After a while, I can issue:

~# bitcoin-cli listaddressgroupings

And I successfully get:

[
 [
   [
     "mmUToPM2vBb2F1ZNcR86J12GxqAbUJtFCr",
     0.06000000,
     "From Electrum Wallet"
   ]
 ],
 [
   [
     "2MwBERpNv7JJaW4nVUbQncXjFjG1nFKLYEp",
     0.05000000,
     "test"
   ],
   [
     "2N4AMdXitdYhNdjafzHG61uUdrErExSdhKs",
     0.00498305
   ]
 ],
 [
   [
     "2N6xTkaeuKsQSHCortgxiNvsVXj2Gv1Qy85",
     0.05000000,
     "test2"
   ]
 ]
]

But when I ask for the balance, it returns 0:

~# bitcoin-cli getbalance mmUToPM2vBb2F1ZNcR86J12GxqAbUJtFCr

0.00000000

How possible is that, considering that the rescan has been performed and that the balance is correct in listaddressgroupings? As a result, I am not able to spend bitcoins from this address.

Thank you for you input/insight!

My bitcoin.conf:

txindex=1
addrindex=1
listen=1
server=1
daemon=1
testnet=1


texts:
I was reading this quesion: How to properly combine PSBTs for CoinJoin?
And Bitcoin Core issues:
https://github.com/bitcoin/bitcoin/issues/6568
https://github.com/bitcoin/bitcoin/issues/3226
Everything looks easy except coordinator part or creating a liquidity pool like joinmarket which is decentralized.
What are the possible options to solve this problem using Bitcoin tech which may or may not be acceptable to Bitcoin Core maintainers and contributors? Can LN solve this or is it possible using Simplicity with Elements or solidity code with Rootstock involved? Or is it easier and Bitcoin scripting right now or after Taproot is good enough to solve this problem? Even if the solution is not completely decentralized but minimizes trust it should improve things. For example: if it requires using oracles maybe we can use DLC


texts: Does bitcoin improve on "hard" currencies in any way?

texts: Question is in the title. Anyone who's toyed sufficiently long enough on the foreign exchange understands that currencies are largely driven by sentiment or manipulated on the odd occasion. Plus, there's the fact that money has no intrinsic value. Has bitcoin overcome any shortfalls and risks of conventional currencies ?


texts: Are there any chart tools similar to the ones used in Forex trading available for Bitcoin users? The MtGox Live feed is nice and all, but it doesn't offer the functionality one would expect from a respectable exchange (like a candlestick chart for example).


texts:
Anyone can generate unlimited bitcoin addresses.

Presumably, there's a limited number of these (even if it's a very very large number).

What's stopping someone from taking over all the bitcoin addresses? (If the answer is current computer speeds, is it something that's possible in a future 'quantum computer' type era?)


texts: Debug.log : How do I analyze an orphaned transaction?

texts:
The debug.log for my machine lists the following information while synching

ERROR: FetchInputs() : 5b5e32cc97 mempool Tx prev not found e99babf87a
stored orphan tx 5b5e32cc97 (mapsz 414)
received: tx (227 bytes)
ERROR: FetchInputs() : 93ce7eee97 mempool Tx prev not found 8d56e0b192
stored orphan tx 93ce7eee97 (mapsz 415)
received: tx (259 bytes)
ERROR: FetchInputs() : 7baab3c99a mempool Tx prev not found 2ca8483584
stored orphan tx 7baab3c99a (mapsz 416)
sending: addr (181 bytes)
Flushing wallet.dat
Flushed 12367 addresses to peers.dat  62ms
Flushed wallet.dat 5335ms

Is it correct to say that the orphaned transactions were added to the chain, but was replaced by another block?
Are orphaned transactions replicated to my client when I download the chain?
How can I tell if the orphaned tx ever made it into a block?  (would the # stay the same?)
What is a mapsz and when is it important?


texts: Why are most Bitcoin payment invoices time limited ?

texts:
Most bitcoin payment gateways issue time-limited payment invoices. Why is that ? AFAIK, the address stays valid even after the timer is out. For instance when sending a transaction from wallet to wallet, even if I send to that address after the 15 minutes, the recipient still gets their money. I have tried this with at least 3 wallets. In this case, what's the timer for in the first place if the address is still linked to that user ?

Thanks.


texts: Starting out with Armory - can I make it go faster?

texts:
Does anyone know of a way to make Armory do an initial sync any faster?  I've downloaded the blockchain but so far it's been processing/synchronizing with the network for 17 hours, and it claims it has 11 hours more to go, but I suspect it will be even longer than that.

I have a first generation Core I5 processor, running Windows 10.

I notice that bitcoind is capping out at around ~48% CPU usage, so it only seems to be using two cores.  Any way of tweaking this to use more CPU, or go faster in general?


texts:
After reading Why is increasing block size in the Bitcoin network considered to decrease security?, I have a follow-up question about increasing block sizes:
why do we not reduce the difficulty of PoW?
If I understood correctly, this would speed up the mining of the blocks, so we could do more transactions for a still low cost and keep security, is that right ?


texts: How do I protect my mining rig from brownouts and electrical surges?

texts:
My mining rig consumes 1,250w.  What additional information do I need, or how do I shop for a product that will protect me from Brownouts and Electrical surges.

I'm not interested in UPS functionality, however I'm mostly concerned about protecting the equipment and would rather shut the rig down than pay the expense incurred with a battery backed UPS over a long duration.


texts: What is the difference between mining with multiple workers vs single?

texts: Some bitcoin mining clients mine on a single worker, while other clients allow multiple workers.  How will either of these options affect mining production?


texts: Do transactions and blocks get relayed even if a node believes them to be invalid?

texts:
Each node has a very clear view of what is valid and what is not. With conflicting blocks (Blockchain fork) or transactions (double-spending attack) it will always choose the first it sees, until it gets prove otherwise (longer blockchain or other transaction is included in a block).

I'm wondering whether the Satoshi Client relays any of the transactions or blocks he thinks are not valid. So will I ever see a transaction if all my neighbors have seen a conflicting transaction first? Will I see forked blocks if all my neighbors agree on which block came first?


texts: How to validate transactions in a website?

texts:
I'm learning about Bitcoin.
Now, I have to build a website where some transactions must be verified as completed. I don't need to create transactions, mining, or something else, just to verify that the transaction was done.
So basically I just know HTML,PHP,JS, etc.,But I still don't know how to check if certain transaction was done. I'm reading the book "Programming Bitcoin" of Jimmy Song, I see that Python is very useful there. I'm reading Bitcoin Core developer site too, but still I don't get it. I don't want to build up a web application from scratch to do specialized things like mining, create transactions, manage wallets and so on, so I would like to use a well known API to perform the simple task of check if a transaction was done.
I would like to use that API in a PHP application, and in a future in a c++ application. There is something like that? Or any code PHP,c++ where a query against the blockchain to validate transactions is demonstrated.....


texts: Can you think of a safe way to safely keep my "spendable" Bitcoin in my situation?

texts:
I have my "cold stash" wallet.dat on multiple fully offline, encrypted hard disks/sticks inside a fireproof safe. I never seriously considered printing them onto paper because that would be too stealable/seizeable. At least they would have to point a gun to my head for me to give them the encryption key as I have it currently.
My "live" wallet.dat is running on my Windows 10 machine with Bitcoin Core. Yes, I know how insanely bad Windows 10 is, but I have also taken insane measures to be as safe as I could possibly be. But still, every day, I fear that some kind of malware update or 0-day will just snip away all my "live" coins.
(I say "all my coins" as if I have more than one Bitcoin in my live wallet. Yeah, right... More like "all my satoshis".)
Now, I'm strongly considering starting to regularly buy $100 worth of Bitcoin each month, regardless of the current price, because I'm convinced that it will skyrocket at least 10x and maybe 100x in the upcoming years.
However, this makes me even more scared of getting them stolen.
I can't buy a physical wallet because, just like paper ones, that screams "steal me" or "seize me" to the burglars/coppers.
I do have a Raspberry Pi (v1) which I'd love to use as a dedicated "Bitcoin station". Sadly, they made it so incredibly cryptic (no pun intended) to enable encryption on that thing, that I've simply given up on ever doing it. Note that, since you have to "burn" an image onto the RPI's "hard disk" (flash memory), there is no installer like on x86 machines, where you normally can select encryption. It has to be done "after the fact" in an extremely convoluted and impossible to follow manner. It's as if they don't want RPIs to be secure...
Putting any amount of BTC in an "exchange" or "bank" is impossible both because I don't trust them whatsoever (and for good reasons), but also because they all require "KYC/AML" crap now. (Bisq is how I get new coins.)
I've been thinking and thinking, but I simply can't see any way to make sure that I have some Bitcoin secure and accessible at the same time. I wish I had pre-generated some receive addresses for my cold wallet and written them down so that I could regularly "send in" some to it, to keep as few satoshis as possible "live". (It still boggles my mind how that is technically possible!)
Is there something I haven't thought of? Is there like a dedicated "Bitcoin OS" for the RPI or something which encrypts itself on the first boot and is rock-solid and minimal and dedicated only for Bitcoin?


texts: Multiple copies of wallet.dat with a constraint

texts:
I know it is generally a very bad idea to share one wallet.dat between many clients on different machines because public/private key sets start divirging after some time if all the clients are allowed to recieve and spend money and this leads to a possibility of a dangerous collision.

However, what if I introduce a constarint that, say, of 5 machines with shared copies of wallet.dat, only one particular machine can both recieve and spend bitcoins while the rest of 4 machines are only allowed to recieve payments.

Would this be a safe setup or would there still be a risk of losing coins?


texts: As you know, account commands are deprecated in the future. In the same wallet, how do we carry other address bitcoins in one address ?


texts:
I'm just writing a small essay about the basics of BTC and I ran into a small problem.

I know, that there are digital signatures in our bitcoins' earlier transactions (our transaction inputs) and in the next owner's public key. How can the system verify, if the input is really from our earlier output? We can just use a random (unspent) output from an earlier block, can't we? I know that we are the next owner and our public key is in the transaction, but we can (and should) generate a a new public-private key for our next transaction, so the new private key won't match our "old" public key... What is that thing I don't know or understand?


texts: Can and how does one import a paper wallet (private key) that contained BTC before the hardfork and now BCH as well into a ledger nano s to split them? Or do they have to be split in another wallet first and then tranfered separately? I've contacted Ledger support but it takes weeks to get a response.


texts: So, 1 GHash equals 1000 Mhash's as far as I know. Then, why genesis-mining measures the bitcoin hashpower in terrahashes?? 1 Thash = 1000 Ghash. The whole hashocean is said to have 41.6 GH/s. On genesis you can buy 1 Thash for 400$. Who is naming their units in incorrect way?


texts: Known cases of miners withholding blocks when used as randomness?

texts:
There are some applications that use the blockhash as a source of randomness, often with a payout similar to a lottery. I've heard of attacks where it would be more profitable for a miner to withhold blocks and lose the block reward, but increase the chances of them winning the lottery payout. I've heard this has actually happened, but never seen details.

Are there any known instances of such a withholding? Are there numbers on what the payout would need to be relative to percentage of hash-power the miner controls?


texts: Why does my client not show funds that were sent to me?

texts: Quick question regarding a transaction that I am having an issue with, about a week ago I bought some BTC with MtGox, however when I withdrew the BTC I opted not to pay the fee. One week later I am still waiting for the BTC, can I pay a fee myself to process the transaction quicker, post original transaction?


texts:
How can I find the private key with X and Y and Z
in the transaction
i have this
('THE R VALUE is  :', '0cf435db180216f3aaa5c2cb8231cbccf2f6824fc0051396b45e4ab01bb0f5e3')
('THE S VALUE is  :', '7d91b1b9a89bdf099645742e1ab56f5a1776f20606807e71adf52bc74258e535')
('THE Z VALUE is  :', '72f02c7b7183b2777ae15ba6dd69b475d3c65c42b4a20231d1b9c66c6c501c67')
('THE PUBKEY is :', '04d4fb35c2cdb822644f1057e9bd07e3d3b0a36702662327ef4eb799eb219856d0fd884fce43082b73424a3293837c5f94a478f7bc4ec4da82bfb7e0b43fb218cc')
how i can fund private key


texts:
Maybe my question will be stupid, but still I hope for help.
Launched a wallet. Synchronized with the network, and my balance dropped to 0.
According to the history, it was written that the last transaction was July 1, but this is not my business, I didn’t even open the wallet.
I attach a screenshot.


texts: What are some good solutions for analyzing Bitcoin script patterns?

texts:
I'm interested in analyzing the Bitcoin blockchain for occurrences of particular scripts and spending patterns. What are some good solutions for this? An ideal solution would let me filter transactions and outputs based on the contents of the locking and redeem scripts of single outputs as well as chains of outputs spending each other.

I've thought about looping over blocks and transactions with the Bitcoin Core RPC interface. This strikes me as probably not the most efficient solution, as I/O with bitcoind would probably be a bottleneck. Another solution would be to parse the raw block files, load them into memory (in a streaming fashion, as I don't have 200+ GB of memory...) and operate on them there. That sounds like a lot of work, so I was hoping there are some existing solutions for that out there.


texts: How could you differentiate if the bitcoin address is from master node or derived nodes?

texts:
Given that I have these two random generated bitcoin testnet addresses, could you tell if it is the bitcoin testnet, master node or derived nodes, if we discuss bip-0032 spec (Master key generation)?

**master node (m)**
mn6tBTqAigmknKMkpT82VYLy272mfXYdqF

**derived node (m/0/999999'/0)**
myt7MRuUpXRDL3ht5E1oiP3yrKkekCzc4S


texts: How exactly does MyWallet's Android client work?

texts:
When I create an account via my desktop browser, I am assured that the password only exists on my browser, and is not saved.

So, if I "pair" an Android device with MyWallet, can or can't I send BTC without entering the password?

How does this work with/without a secondary password? What if I first installed the Android app, and only then created a secondary password?

Are the files on my Android device / Dropbox encrypted with my first password? My second password? Both?


texts: Are all three Bitcoin address types interoperable (legacy, segwit, native segwit)?

texts:
is it possible to send transactions back and forth between all 3 address types (legacy, segwit, native segwit-bech32)?

Or is one of them not able to send to another?


texts: How could PSBT deal with data capacity limit of QR code?

texts:
QR code has very limited data capacity. (According to Wikipedia) one single QR code can only carry <3KB of binary data.

It's not rare for a PSBT to hit this 3KB limit, especially for ones which spend non-SegWit UTXOs.

SegWit features signing of input values - on the other hand, signing non-SegWit inputs on offline/hardware wallet still requires full data of previous transactions to validate input values. Otherwise, it could be a security issue: a malicious party/malware could tamper the inputs stealthily to trick the user into paying an unexpected high amount.


texts: Where can I learn how to create my own blockchain with a new transaction scheme?

texts:
I am trying to create my own blockchain with my own transactions but there is not much information on how this works in detail.
Basically I want to create a transaction with my own structure using blockchain. It is possible?


texts: Where can I find my 12 Recovery Passphrase

texts: Have just lost my blockchain wallet password have tried all kind of password I know now I need to know my recovery passphrase kindly help


texts: How to change Nxt/Ardor wallet settings to keep the account ledger table untrimmed?

texts:
For purposes of extracting all transactions of an Nxt/Ardor account, it would be very useful to export the complete account ledger table.
Is it then enough to just set nxt.ledgerTrimKeep=0 and nxt.ledgerAccount=ARDR-xxxx-xxxx-xxxx-xxxxx (the account ID in RS format) in nxt.properties or are there other settings to be changed?

How do you initiate a re-scan to generate the whole ledger table afterwards? The database re-downloading would also be an option here, however, would take more time I guess.

A good use for this would be to import the ledger table into a tool for computing taxes resulting from crypto transaction profits, e.g. CoinTracking.info.


texts: How does the satoshi client handle endianness?

texts:
I'm looking through the source code of the satoshi client, particularly into how transactions are serialized and sent through the network or stored to the disk.

The CTransaction class has this block:

IMPLEMENT_SERIALIZE
(
    READWRITE(this->nVersion);
    nVersion = this->nVersion;
    READWRITE(vin);
    READWRITE(vout);
    READWRITE(nLockTime);
)

If I'm not mistaken, the serialize part of IMPLEMENT_SERIALIZE expands to:

template<typename Stream>
void Serialize(Stream& s, int nType, int nVersion) const
{
    CSerActionSerialize ser_action;
    const bool fGetSize = false;
    const bool fWrite = true;
    const bool fRead = false;
    unsigned int nSerSize = 0;
    assert(fGetSize||fWrite||fRead); /* suppress warning */
    {
        (nSerSize += ::SerReadWrite(s, (this->nVersion), nType, nVersion, ser_action))
        nVersion = this->nVersion;
        (nSerSize += ::SerReadWrite(s, (vin), nType, nVersion, ser_action))
        (nSerSize += ::SerReadWrite(s, (vout), nType, nVersion, ser_action))
        (nSerSize += ::SerReadWrite(s, (nLockTime), nType, nVersion, ser_action))
    }
}

Let's focus on nLockTime for now, which is an unsigned int. SerReadWrite is defined as:

template<typename Stream, typename T>
inline unsigned int SerReadWrite(Stream& s, const T& obj, int nType, int nVersion, CSerActionSerialize ser_action)
{
    ::Serialize(s, obj, nType, nVersion);
    return 0;
}

The Serialize function, for unsigned ints is defined as:

template<typename Stream>
inline void Serialize(Stream& s, unsigned int a, int, int=0) {
    WRITEDATA(s, a);
}

Which expands to:

template<typename Stream>
inline void Serialize(Stream& s, unsigned int a, int, int=0) {
    s.write((char*)&(a), sizeof(a))
}

So, this converts the 4-byte unsigned int to a char* and then writes it to the stream.

However, won't this have a different result on big-endian vs. little-endian machines? How does the client handle this? Or is the protocol defined in terms of little-endian, and on the machines the satoshi client is built on, it ends up just working out?


texts: How to connect two bitcoin nodes running globally

texts: I have two nodes running in different PC-s they have different IP-s. I want to connect one node to another with -addnode or -connect arguments. Can anyone help me please?


texts:
The process of encoding a public key is very clear and explained here https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

I am looking for the other way around: how to get the public key from an address?

When you send bitcoins to someone you usually use the "readable form" (encoded) of the address (e.g. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa). However the blockchain stores the unencoded form (e.g. 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f)

How is it possible to recover the unencoded form of the address?

Example: If you want to send bitcoins to 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa the node has to find out that you refer to the public key 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f


texts: Can lightweight wallet users exchange money?

texts:
Instead of downloading full block chain, lightweight (SPV) users only download blockheaders of the blockchain.

This makes SPV users to check if transactions are confirmed or not. However, can SPV users also exchange money without being full nodes? That is, can they create a transaction and send it to nodes?


texts: Detection of double spend in Bitcoin for aged transactions

texts:
This is just to verify my understanding of Bitcoin double spend detection.

1) Use of UTXO indexes : This ensures that there as been no spend from that output (transferred to recipient in Block of height N)  in any of the subsequent transactions, up till last confirmed Block in chain (from N till current height). So the binary search if UTXO indexes is necessarily done for all transactions, right?

2) A con could theoretically double spend by garnering enough (51%) computing power to generate longer blocks that don't include his first (legit) spend', and pay himself or partner with from same output (since smaller length with legit transaction would be rejected). But this is only a theoretical possibility. right?

2) A wait of 6 confirmed blocks is recommended for high value transactions, as it is less likely for your confirmed transaction to get dropped from chain after that, even if con has upto 10% computing power. right ?


texts:
I would like to know why the bitcoin block time is taking longer than 10 minutes, I know that bitcoin halving had decrease reward and increase difficulty but according what I read the blockchain itself will regulate the block time by adjusting difficulty to create a new block in order to have the same block time as first block was ever mined.Now block time are taking even hours what is it ?

thanks a lot


texts: How is Ethash a 'memory hard' algorithm if it utilizes peak GPU memory bandwidth?

texts:
According to the Ethash algorithm described here, the computation for each nonce requires a loop of 64 iterations, where each iteration reads a chunk of 128 bytes from a pseudo-random location in memory.

Reported hash rates for the NVIDIA GTX 1070 are around 30MH/s, which means that every second this GPU is reading 30.000.000 nonces x 64 iterations x 128 bytes from memory. That is 245.76 GB/s.

I was unable to find the peak memory bandwidth that the 1070 is capable of, but this thread suggests it should be 197.76 GB/s, and Ethash is achieving even more than that. Howcome?!

Also, I would expect that reading from many different memory locations (as opposed to sequential reads) would result in a very inefficient use of memory, but it seems it doesn't really matter?

I'd appreciate if someone could clear this up, thank you!


texts: Nonce size - Will it always be big enough?

texts:
If I understand correctly, the block only has 4 bytes (32 bits) for the nonce.
Is it possible for the difficulty to become high enough that there are no nonce solutions?
If so, then what options does a miner have?


texts: How to retrieve transactions in realtime from bitcoind .dat files

texts:
I want to get all the data from blocks as they get updated on my local node.
Abe offers very poor performance, and fast-dat-parser creates other .dat files and doesn't have enough documentation for me to understand how to get data like block size, age, hash difficulty, Transactions and transaction fees.
Is there an alternative tool, or at least a detailed documentation that would allow me to write a parser for content of .dat files?


texts: Could an old, unconfirmed transaction fail to be processed because it is no longer deemed to have enough fees

texts:
I just read Why do small transactions without fees ever get processed? and it made me wonder about the risk that a legitimate, lock_timed transaction might not be processed once the lock_time is past.

I'm aware (from the above question) that in the reference implementation, the increasing age of a transaction (in the mempool once it's been submitted?) should increase its priority regardless of the its fees but not every miner is willing to process low(/no) fee transactions even now never mind what they may (not) do in future.

So if I have a signed transaction with a (very!) distant lock_time and it has fees that were considered reasonable at the time that the transaction was created and then when I submit it after lock_time what is the risk that no miners will process it because its fees are subsequently considered to be too low to bother with it?


texts:
I was given an address to send bitcoins to & it appears the address change but now the deposit did not occur at the address intended & my Source Bitcoin wallet company states there's nothing they can do.  The destination company shows no record of the transaction.  This all happened when the Destination website was implementing a new program & having issues with taking deposits.

Can I get the lost Bitcoins if I know the Send from, Send to Addresses, the Block & Hash numbers?

Thanks,


texts:
Trying to RPC my local active Bitcoin Full Node, but getting ECONNREFUSED on client.getBalance. Am I missing additional configuration? Is there a better RPC wrapper to use? Any advice or working examples would be greatly appreciated!

CODE:

var bitcoin=require("bitcoin");

var client = new bitcoin.Client({
  host: 'localhost',
  port: 8332,
  user: 'username',
  pass: 'password',
  timeout: 30000
});

client.getBalance('*', 6, function(err, balance, resHeaders) {
  if (err) return console.log(err);
  console.log('Balance:', balance);
});

CONFIGURATION FILE:

server=1
rpcuser=username
rpcpassword=password
rpcport=8332
rpcallowip=127.0.0.1

ERROR:

{ Error: connect ECONNREFUSED 127.0.0.1:8332
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 8332 }


texts: How do I use an issued API key in my python 3 script to bypass the request limiter?

texts:
I got an API key from blockchain.info to bypass the request limiter, but I don't know how to use it and I can't find any relevant info online.

 url = "https://blockchain.info/rawblock/" + str(s)
        usock = urlopen(url)
        data = usock.read()

where variable s is the block height.

As the python blockchain.info API states:

https://blockchain.info/rawaddr/$bitcoin_address
Address can be base58 or hash160
Optional limit parameter to show n transactions e.g. &limit=50 (Default: 50, Max: 50)

BUT it also states:

Request limits and API keys
In order to prevent abuse some API methods require an API key approved with some basic contact information and a description of its intended use. Please request an API key here.

The same API key can be used to bypass the request limiter.

However, I don't know how to incorporate it in the function.

Any advice is appreciated!


texts: How is Bitcoin's Multi Signature different from NXT's account control feature for security?

texts: Bitcoin's multi signature feature requires X number of people to sign a traction to secure your Bitcoins before it can be sent. Comparing this feature how is NXT's account control feature different? And has any other altcoin implemented alternative ways of securing coins like multi-sig and account control?


texts: Mutlisig tansactions with trezor with multiple inputs and outputs not able to broadcast


texts: Wallet balance zero after restoring wallet.dat

texts:
I recently restored my wallet.dat file from another machine. The wallet.dat came from a Linux machine (debian), and was restored to a Windows bitcoin install.

After restoring I can see the correct bitcoin address, but the balance is 0 BTC. The client is still downloading the block-chain (152,000 blocks at time of writing).

When will the balance show? It should have a balance of 0.66 BTC.

The wallet was restored using the answer from this question: How can I restore my wallet?


texts: OP_RETURN in rawtransaction rejected with error code -25


texts: I would like to import the private keys from a multisig paper wallet to Bitcoin Core. My aim is to convert the paper wallet to an electronic wallet and to be able to export the corresponding wallet.dat. What's the recommended way of doing this via the command line?


texts: Difference between Bitcoin blockchain and Ripple ledger?

texts:
The Bitcoin blockchain stores history of transactions. Blockchain blocks are interconnected via pointer to previous hash.

Meanwhile, the Ripple ledger instead of transactions stores account info such as balances. The Ripple ledger has a ledger number.

Does the Ripple ledger store the history of ledgers 0 to N or does it only store N? Does each Ripple ledger store every account info or just accounts on which transaction occur recently?


texts:
I am wondering how exchange platforms such as Kraken or Bitfinex can survive bubble exposions? People exchange real currencies for cryptocurrencies. When a bubble explode a lot of people want to trade cryptocurrencies for real currencies so the exchange platform will lack liquidity.

How do they can survive and avoid bankrupt?


texts: Why it's not good to the community to hoard bitcoins?

texts:
Colin Dean's answer to zcopley's question inspired me to ask this:

While Bitcoin supporters would hope that one would not hold on to Bitcoin as an investment, but rather spend it in order to further the economy...
Can you tell me the rational behind this, according to Austrian economics? I'm a beginner enthusiast of Austrian economics but as far as I know there is no argument against hoarding real (value based) money. When the user will see he/she can get something more valuable in his value scale he/she will exchange the money for that product or service. It's that easy.


texts:
How can i see all my BitCoin addresses?

Background

If i send a payment to someone (e.g. 0.35 BTC), the BitCoin protocol is unable to send just 0.35 BTC to someone. For example, if i own 1 BTC, and want to spend 0.35 BTC, then a transaction is created so send my entire 1 BTC to two different people:

0.35 BTC to [destination addresses]
remaining 0.65 BTC to [an new randomly generated address that i own]

This was horribly confusing thing to me, and nearly everyone else. Most people assume that if they backup their public and private key, that they have backed up their wallet.

Unfortunately, you do not have just the one address that appears in BitCoin-qt, you own n secret addresses, that are not visible in your wallet.

A Concrete Example

Lets take a real transaction from the blockchain:

Source Address
 18888888PPJ8oGeqR6AKmoiKUme9da48Xf: 2.3899 BTC
Destination Addresses
 1FvLq2vz7neRJeLk1uXGjg1Jk8FCiaHnwk: 2 BTC
 18888888PPJ8oGeqR6AKmoiKUme9da48Xf: 0.3898 BTC

Out there is a guy who owns address 18888888PPJ8oGeqR6AKmoiKUme9da48Xf (which had a balance of 2.3899 BTC). He then spent 2 BTC on something. The "change" is then routed back to a new address inside his client (18888888PPJ8oGeqR6AKmoiKUme9da48Xf)

You never see this address

The problem is that now you own another address; another randomly generated public/private key pair. If you lost your wallet right now, and restored from a backup, you would not have access to that change, because you don't have the key pair for this new, secret, hidden, address.

You only backup the key pair for your single "real" address. With every transaction BitCoinQt creates internal, secret, invisible addresses. They are hidden inside your wallet.

i want to backup all my public-private key pairs to paper. But before i reach that point, i want to be see all my public-private key pairs. i need to see all my addresses.

How can i see all my BitCoin addresses?

BitCoinQt: v0.8.1-beta

Alternatively, in order to ensure the security of my BitCoins, after every transaction should i generate a transaction

From: me
To: me

so that all my coins end up in a "real" address, which i can then backup? Is that something that is a best practice.

Losing BitCoins because my money was sitting in secret addresses was...depressing.

Bonus Chatter

From the BitCoin wiki entry for Change:

  The wallet file contains the private keys for change addresses, and they can receive and send coins normally. However, the GUI in the default client does not display them in the address book.

Also note: i'm not talking about backing up to a wallet.dat file. That will backup my wallet, but to a file. i have a backup of my single address; which is insufficient because my single address no longer has any bitcoins.


texts:
SegWit 2x anounced not so long time ago.

Is it true, that SegWit2x take more network traffic and disk space?

So what are the advantages of it's integration?


texts:
I am writing a system which generates wallets on a per user basis. It must be capable to receive and send payments.
So I have to keep the private keys encrypted on the system.

Generating the private and public key with bitcoinj worked like a charm. At the moment I am struggling a bit with the Wallet class in bitcoinj.

I do not want to have any threads or connections "outside" of my application. So I want to avoid the usage of the PeerGroup.

I would like to create an offline transaction and then broadcast it myself. For example via blockchain.info or other services.

How can I do this with bitcoinj? I am reading a lot through the API, but I am missing deeper tutorials for my case.


texts: I have been in contact with a blockchain group and they are supposed to have a large amount of money sitting in my wallet waiting for withdrawal. I have had to send a large amount of money to try to get and each time am met with some excuse of why they cannot complete it. What can I do? Is there a way to even get my initial money back?


texts: Also, doesn't this mean that I can use hardware such as a bitcoin usb block erupter to mine it?


texts: How are transactions invalidated by nodes when both parties are offline in a Lightning Network?

texts:
Let's imagine Alice wants to send multiple transactions to Bob. Both Alice and Bob have open channels with Carol, not with each other:

Alice <-> Carol <-> Bob

So Alice first sends 0.01 BTC to Bob. She sets up the multi-sig tx and sends it off to Carol, which then also Bob sees. Then Alice makes another transaction to Bob of 0.02 BTC, and sets an earlier time-lock in order to invalidate the earlier 0.01 tx.

Now both Alice and Bob have seen these 2 transactions and they both go offline. They are sure that Alice has given Bob 0.02 BTC.

My question is: how do they know that Carol will commit to the blockchain (when the moment comes) the second transaction rather than the first? Couldn't Carol simply send the 0.01 tx to the blockchain rather than the 0.02 one?

I understand that Bob could come online and post it himself, and because of the timelock, he could do it before the other one, thus invalidating it.

But in the scenario where both Alice and Bob are offline do they have to trust Carol to behave honestly?


texts: Is the change address always at the same position in the vout array of a raw transaction?

texts:
When using the sendtoaddress command, does the Bitcoin client automatically place the change address at vout array position 0?
I would assume so, because bitcoin works through a sequence of procedures.


texts: Sending my Bitcoin cash using my private key

texts:
This question has probably been answered many times but despite my efforts I cannot find a solution. I have several Bitcoin (BTC) addresses for which I hold all private keys. These addresses now also hold Bitcoin Cash (BCC) and so my question: how get I can hold of the BCC?
I have tried several BCC wallets but none allow me to import a private key...
I just want to make a transfer (to an exchange to get BTC instead) so I dont want a wallet that forces me to sync the complete chain.

Note:

Coinomi on Android apparently allows me to import private keys, but for some reason it wont display my BCC after I try importing the key (no error message, nothing)
To do the same with BTC I use blockchain.info, deleting all addresses after the transfer is sent


texts: Why does the Bitcoin protocol use the little-endian notation?

texts: Why does the Bitcoin use the litte-endian notation? It is less common than big-endian notation, thus when programming low-level applications working with Bitcoin protocol, one quite often has to create custom operations for handling the endianness switching. Is there some specific reason why this notation was chosen?


texts: I've heard blockchain is built on top of the ISO/OSI stack. Does it means blockchain belongs to the layer 7 (Application layer) of the Osi architecture?


texts: Does a Bitcoin node need to scan through the whole blockchain in order to be 100% sure that a transaction sent to it is genuine?

texts: Does a Bitcoin node need to scan through the whole blockchain in order to be 100% sure that a transaction sent to it is genuine (especially when some inputs are derived from coins generated in the very early days)?


texts: Why is a 51% attack guaranteed to outpace the rest of the network's miners? Doesn't 51% hashing power give only a slightly higher chance?

texts:
I thought hashing power is an expression of the probability of being the one to solve the cryptographic puzzle and placing a new block on the network.

If that's true, owning 51% of the hashing power should just give a slightly higher chance of mining a new block than 49% hashing power. However when I read articles explaining Bitcoin and mining, owning 51% of the hashing power in the network is presented as a guarantee to be able to outpace the rest of the network, to the point where an alternate chain can be created and funds double spent.

Given what I assume (could be wrong) is a marginally higher probability of solving the puzzle first at 51%, how does that make sense?
Couldn't someone who got a little lucky do that with 40% of the hashing power? How does 51% of the hashing power guarantee that one will be able to carry out an attack on the network?


texts: What happens to bitcoins if the site shuts down?

texts: My father just asked me:  What happens if the bitcoin people decide to shut down the website, what happens to my bitcoins?  I didn't know.


texts: How do I calculate the txid of this raw transaction?


texts: How do I transfer all funds from one wallet to another?

texts:
I have some bitcoins in an old bitcoin-core wallet and would like to transfer all of them to a new BIP32 wallet. I tried doing sendtoaddress with subtractfeefromamount=true, but bitcoin transferred all but 0.0005BTC to the new address (I suspect some rounding issue when calculating the fee and amount to send). So now I have an address with 0.0005BTC (plus some other addresses with a larger amount). How can I reliably transfer all funds so that all the addresses in the old wallet have zero balance?

Furthermore, is there a way to verify that all addresses for which I have the private key have a zero balance?


texts: How are transactions in discarded forks merged back into the blockchain?

texts:
It sounds like transactions in discarded blocks are propagated back to the network to be included in the next block to be generated, is that the case?  If so, is that triggered in the client when it discards a fork and accepts the longer chain?

I see some info and discussion on this in the protocol and forums, but it's not entirely clear, and sounds like the heuristic is somewhat complex and non-deterministic (eg, some transactions can just be lost).


texts:
I want to create wallets for users. bitcoin core allow us to
create one wallet. is there any way to create wallets for single bitcoin-qt which can able to run multi wallets at a time.I know I can rename my wallet and by re running bitcoin-qt it creates new wallet but it not allows to run both.
thanks in advance for your help


texts: Does segregated witness allow to securely create LN channel opening transactions?

texts:
In Rusty Russell's paper about the simplified version of the Lightning Network, some problems about the practical implementation of the opening channel method from the original LN paper are mentioned:

  The anchor transation id required for the commitment input will only be known once the anchor is signed.
  The anchor transation can be malleated by either party before entering the blockchain, rendering the commitment input unusable.

The paper mentions mentions how problem 2 is not solved by BIP62, but does not talk about segregated witness. Are these two problems effectively solved with segregated witness?


texts:
Is solo mining still doable today?

What is needed to tackle a whole block under a month alone, 100x Antminer S9, 100THash/s?

Another question, does location play a role in this? Would it matter if the "farm" is in Southern Africa away from most Bitcoin users in EU, US, Asia, would another miner that is closer to the "requester" always get the block first? Please advise!


texts: Is it possible to watch the chain to count the number of Lightning channels?

texts:
I know it's possible to get number of public Lightning channels from Lightning Network gossip and some implementations offer network graph and it can be queried. But it's not possible to see private non-routing channels there.
Can channel opening transactions be identified checking the blockchain? if not, what's the best way to estimate?
This is more of a theoretical query to understand the structure of messages used in lightning network channel opening bitcoin transactions.


texts: Bip32 bitcoin core wallet `hdseed` format from xprv master key

texts:
I'm trying to use a mnemonic seed to generate a bitcoin-core wallet. I know core does not support bip39, but it does support bip32 and sethdseed should make it possible to use the seed generated by a given mnemonic.

What I'm trying to do is to generate a seed using https://github.com/iancoleman/bip39 and use that xprv to feed sethdseed on an empty wallet created on bitcoin core.

The main problem I'm facing is that the format required by the bitcoin core wallet is not available, and I'm not being able to generate it on any way:

I've just created a new wallet just for testing and make a dump, it reads something like:

# extended private masterkey: xprv9s21ZrQH143K3ndNedb7hus3kpzuUyAafU9zvKxgqgveg4623gViHrSrkiaweK2WfNNbdANyEa6D9GceWtiyWHPtSdyUCpVweg8A6wdqG7g

L5613pTNa7wks3DVt9HrPYDR1aBpMHn3qpxBLfQyDR4kKgaBrNRS 2019-07-14T21:57:10Z hdseed=1 # addr=32AoHsZ6AvTPxiqkACTMbMcdPhD4Xye1nM
KyAP4Jf5APLei25PbfeohPWaRNmCj2yQjwWtreqM4ixXJR23Dxo7 2019-07-14T21:57:11Z reserve=1 # addr=36DxZaj6JEXgSSdTtsN6yEdULgGrfc5A5W hdkeypath=m/0'/0'/9'
...

So it says that the masterkey given translate on the given hdseed

xprv = xprv9s21ZrQH143K3ndNedb7hus3kpzuUyAafU9zvKxgqgveg4623gViHrSrkiaweK2WfNNbdANyEa6D9GceWtiyWHPtSdyUCpVweg8A6wdqG7g
should translate in some way to:
hdseed = L5613pTNa7wks3DVt9HrPYDR1aBpMHn3qpxBLfQyDR4kKgaBrNRS

But I could not found any way to get from one to the other.

It seems that there is already an isssue on bip39, about this, without results.

I've tested using bitcoinjs-lib with the following code without luck:

const bip32 = require('bip32')
const bitcoin = require('bitcoinjs-lib')
const xpriv = 'xprv9s21ZrQH143K3ndNedb7hus3kpzuUyAafU9zvKxgqgveg4623gViHrSrkiaweK2WfNNbdANyEa6D9GceWtiyWHPtSdyUCpVweg8A6wdqG7g'

const node = bip32.fromBase58(xpriv, bitcoin.networks.bitcoin)

console.log(node.toWIF())

But it does generate 'L1UsWzEdexKrXmNaM8b4dyv4TsMHouVFgKhFANuhomHJjNbniWdx'.


texts: Where is blockchain located on Mac for Bitcoin-Qt?

texts:
I attempted to use Bitcoin-Qt on my PC but it could not handle the Bitcoin blockchain. I therefore decided to give up and to delete the blockchain. Sadly, I cannot find where it is located.
I have looked up in ~/.bitcoin and ~/Library/Application Support/Bitcoin/ but to no avail. Where else could I find it?


texts:
How can I generate a simple dash address from a public key?

How many address formats are there in dash?


texts: How can I make Zap synchronize with the Bitcoin network?

texts:
I'm using the Mac operating system. I downloaded Lightning App and Zap from Github.

The wallet can not be synchronized with the network, how can I synchronize it and can I do it without having to download the full blockchain?

Lightning App shows me the error the network can not be synchronized...,
when I launch Lightning App it also pops up an error: Syncing to chain ... block height: 0.

When I launch Zap:

Uncaught Exception:
Error: Connect Failed
    at ClientReadableStream._emitStatusIfDone (/Applications/Zap.app/Contents/Resources/app.asar/node_modules/grpc/src/client.js:255:19)
    at ClientReadableStream._readsDone (/Applications/Zap.app/Contents/Resources/app.asar/node_modules/grpc/src/client.js:221:8)
    at readCallback (/Applications/Zap.app/Contents/Resources/app.asar/node_modules/grpc/src/client.js:283:12)

What am I missing to get Lightning to run?


texts: What technology will supersede the BerkleyDB format? What are the current scalability limitations?

texts:
How scalable is the BerkleyDB format (the technology used within a wallet), and what are its limitations?

What technology would replace or supplement BerkleyDB to address those scalability challenges?


texts:
What does the blockchain represent? Is it the current balance of
    each account or is it the complete ledger?


texts: What does "operation not valid with the current stack size" mean?

texts:
I'm asking this question to help others who run into the same problem I ran into.  The error is, at least sometimes, misleading and might not be accurate.

The context in which this error is relevant is signing a raw transaction that you created with bitcoin software.  This is a common practice for those who are paranoid, like me.  Here's the basic procedure:

Identify the TxOuts (txid and vout pairs) that you want to spend.
Use https://chainquery.com/bitcoin-api/createrawtransaction or something similar to create a hex string.
Use https://chainquery.com/bitcoin-api/signrawtransaction along with the private keys required to spend those unspent TxOuts.

In that third step, you might get this "operation not valid with the current stack size" error.


texts:
After 21 million bitcoins miners will be paid certain transaction fees but I need your guidance for clarifying following confusions:-

Currently solving a block gives you 25 bitcoins but what is the
reward level after 21 millions bitcoins?
I understand we still need sufficient amount of verifying computing
power to secure the network even after 21 million bitcoins but do you think people would invest in
powerful machine just to process transaction where the reward level
is lower then the power consumption?
What if  bitcoin community decided to mine for other alternatives
such as litecoin, dogecoin for greater rewards, don't you think it'll
effect the value of bitcoins?
Do we still have power competition to process transaction?

Thank you


texts: Why does the feature_block.py bitcoin functional test fail in tagged release 0.16.0?

texts:
I tried running the unit and functional tests from the latest tagged release (0.16.0) from https://github.com/bitcoin/bitcoin.git.

To my surprise, there is one functional test that persistently fails for me (everything else passes).  I'm running on a VirtualBox'd Ubuntu guest (host is OS X if it matters).

Any idea what might be wrong?  Is it truly failed functionality or did I just run the test incorrectly?  If the former, what is its significance to the correctness of the latest bitcoin?

2018-03-19 18:03:57.574000 TestFramework.comptool (INFO): Running test 97: ./feature_block.py line 1279
2018-03-19 18:05:00.534000 TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/home/jack/projects/bitcoin-audit/bitcoin/test/functional/test_framework/test_framework.py", line 123, in main
    self.run_test()
  File "./feature_block.py", line 76, in run_test
    self.test.run()
  File "/home/jack/projects/bitcoin-audit/bitcoin/test/functional/test_framework/comptool.py", line 341, in run
    self.sync_blocks(block.sha256, 1)
  File "/home/jack/projects/bitcoin-audit/bitcoin/test/functional/test_framework/comptool.py", line 211, in sync_blocks
    self.wait_for_pings(self.ping_counter)
  File "/home/jack/projects/bitcoin-audit/bitcoin/test/functional/test_framework/comptool.py", line 191, in wait_for_pings
    wait_until(received_pongs, lock=mininode_lock)
  File "/home/jack/projects/bitcoin-audit/bitcoin/test/functional/test_framework/util.py", line 222, in wait_until
    assert_greater_than(timeout, time.time())
  File "/home/jack/projects/bitcoin-audit/bitcoin/test/functional/test_framework/util.py", line 42, in assert_greater_than
    raise AssertionError("%s <= %s" % (str(thing1), str(thing2)))
AssertionError: 1521482700.509922 <= 1521482700.533904
2018-03-19 18:05:00.547000 TestFramework (INFO): Stopping nodes
Traceback (most recent call last):
  File "/home/jack/projects/bitcoin-audit/bitcoin/test/functional/test_framework/authproxy.py", line 106, in _request
    self.__conn.request(method, path, postdata, headers)
  File "/usr/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1065, in _send_output
    self.send(chunk)
  File "/usr/lib/python3.6/http/client.py", line 986, in send
    self.sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe


texts: What is the proper way to handle reorgs when fetching headers

texts:
I work on bitcoin-s, and we've found a problem where if a node is stopped with it's chain tip being a one that is later reorged out it will not be able to continue syncing headers.
This happens because we request headers using a get headers message with hashes= <current chain tip> and stopHash=<00000..0000>. Since, our chain tip is reorged out we will receive the first 2000 block headers of the network.
My current solution is to walk back our chain tip, and each iteration check if don't get the first 2k blocks. However, I recognize this is a poor solution, is there a GetHeadersMessage that I should be using here, or a better alternative?
Thanks


texts: Why did Dogecoin fork into 3 chains and not just 2?

texts:
This I never understood ever since Dogecoin forked in mid-February 2014: If the cause of the fork was, apparently, the same as the one that affected Bitcoin in March 2013 (namely: a very long block being accepted by a new wallet using a different database but rejected by the earlier wallets) then...

How come there were up to three forks of he blockchain at a time? I would've expect at most 2 competing chains, one kept forth by the miners using the old version (then, 1.4) and another by those already on the new one (1.5, then). But, how was it possible to have three forks?

And finally (rant here), what was the point of increasing the size of the potential block size? In retrospect it's obvious something like this was going to happen. Why not treat the rules of a coin as set in stone once it's released, non-critical bugs and all? I had to delete the blockchain and resync twice, each time getting into a different, invalid forked chain - at the end I simply downloaded the files a volunteer shibe uploaded, with the potential risks that has - and hated the experience.


texts: Lightning: Why would Bitcoin Network Accept a Breach Remedy?

texts:
The Lightning Network Whitepaper discusses a situation in which one party of a payment channel broadcasts an outdated commitment transaction.  The other party through a breach remedy transaction will get the cheating party's coins.

How does this work though?  If the dishonest party broadcasts a transaction to the Bitcoin network, isn't that transaction more likely to be accepted (since it was first) than a subsequent (up to date and legit) transaction?


texts: bitcoind getrawmempool without downloading the full blockchain

texts:
I'm running bitcoind from a small virtual machine on digitialocean.

I'm interested only in looking at the new transactions in bitcoind getrawmempool

Is there a way to get these transactions without downloading the whole blockchain?  Currently, I'll need a minimum of 40GB instance to have the whole blockchain on the VM.


texts:
For me, scripts are one of the most interesting features of Bitcoin. They provide possibilities which have no equivalent in classical currencies. However, the wiki states

  It is purposefully not Turing-complete, with no loops.

What's the rationale behind this decision?
Are there any proposals for useful contracts which would only be possible in a Turing complete script implementation?
Are there any alternative crypto currencies with Turing complete scripts? If so, how do they solve the problems from 1?


texts: Can someone explain the reason for this discrepency in speeds?

texts:
Can anyone shed some light on why this is happening?
Firmware is reporting 15TH/s but BFGMiner says its only running at 200GH/s


texts: How can I get UTXO for a specific address?

texts: Are there API's I can use to get this information?


texts: What are pros and cons of txindex option?

texts:
I am reading "Mastering Bitcoin" written by Andreas and I found this explanation about "txindex option"

  Transaction Database Index and txindex Option

  By default, Bitcoin Core builds a database containing only the
  transactions related to the user’s wallet. If you want to be able to
  access any transaction with commands like gettransaction, you need to
  configure Bitcoin Core to build a complete transaction index, which
  can be achieved with the txindex option. Set txindex=1 in the Bitcoin
  Core configuration file

I am not sure what situations should I enable the option. In my understanding, I can set txindex=0 if I use bitcoind as just a transmission tool of Bitcoin so that I can save data and time to sync the blockchain data. Otherwise, if I intend to make a blockexplore site like Blockchain.info, I need to set txindex=1.

Is my understanding of this correct?


texts: How are transaction IDs generated and how are they then changed by transaction malleability?

texts: How are the transaction IDs generated for a Bitcoin transaction? How can the transaction ID change due to a transaction malleability attack?


texts: In Stratum protocol, whether the miners know the mining address?

texts: In Stratum protocol, since the coinbase transaction has to be hashed in the miner's side, so the pool has to send coinbase1 and coinbase2 to the miners. Therefore, is it possible for the miner to decode the output address of the coinbase from coinbase1 and coinbase2?


texts:
I am Curious about bitcoin testnet.
Since there is a massive change in bicoin mainnet i.e. https://bitcoin.org/en/alert/2017-07-12-potential-split

Will Testnet4 be there and Testnet3 completely wipe out?
I just want to perform mining on Testnet. As some people are mining with ASIC even on the testnet and increased the difficulty. If so happens then it would be great to have 0 difficulty again.


texts: Blockchain Receive Callback API in callback url not working

texts:
I want to accept payments with the Blockchain Receive Payments API
Using create different user different address on get bitcoin but not work Callback api

https://blockchain.info/api/api_receive

&& also try Monitor addresses for received and spent payments api but not work

My problem is, the callback is never called— can anyone check my code and tell me where I the problem is?

i also try to log create but not called and check callbacl log api using not call.

please solved my problem :)

create balance update api using this file create.php

$url = "https://api.blockchain.info/v2/receive/balance_update";
    $secret = $address;
    $post_data = array(
        "key"           => $this->API_KEYCODE,
        "addr"          => $address,
        "callback"      => "https://my-server.com/callback.php?customer_id=".$user_id."&secret=".$secret,
        "onNotification"=> "KEEP",
        "op"            => "RECEIVE",
        "confs"         => $conf
    );

    Log::info('START SERVICE CALL :' . json_encode($url). " : ".json_encode($post_data));
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_POST, count($post_data));
    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($post_data));
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HTTPHEADER , array(
        "cache-control: no-cache",
        "content-type: text/plain",
    ));
    $ccc = curl_exec($ch);
    curl_close ($ch);

    Log::info('END SERVICE CALL :' . $ccc);
    $json = json_decode($ccc, true);
    return $json;

this api successful return response in index id , address and callback url

second file callback.php

Log::info('TEST : START (BLOCKCHAIN Callback)========================================');
    Log::info('GET : '.jsone_encode($request));
    Log::info('GET : '.jsone_encode($_GET));
    $res = 'Nothing';

    $out_address = $_GET['secret'];
    $in_address = $_GET['address'];
    $user_id = $_GET['customer_id'];

    $transaction_hash = $_GET['transaction_hash'];
    $confirmations = $_GET['confirmations'];
    $value_in_satoshi = $_GET['value'];
    $value_in_btc = $value_in_satoshi / 100000000;

    $status = true;

    if($status == true) {

                $res = "*ok*";
        } else {
            //Waiting for confirmations

            $res = "Waiting for confirmations";
        }
    }
    Log::info('RES : '.$res);
    Log::info('TEST : END (BLOCKCHAIN Callback)========================================');


texts: how to avoid deposit fees / transaction fees when buying bitcoin

texts:
I've looked at Coinbase and CEX.io, and both have a deposit limit of $300.

For Coinbase it is $11.51 deposit transaction fee on a deposit of $300, or 3.84%, which is huuge.

For CEX.io, it is a $11.14 deposit transaction fee on a deposit of $300, or 3.71%, which is still huge.

Can anyone recommend a service which allows me to:

deposit more than $300 at a time (ideally up to $3300 for the price of 1 bitcoin)
receive a deposit transaction fee far less than 3%?

Thanks.


texts: Blockchain and Bitcoin client difference of amount

texts:
I just made a transfer of 0.06 BTC, you can look it up on Blockchain.info

The problem now is that my receiving client (Multibit) doesn't show those 0.06 BTC, it only shows 0.0001 BTC have been spend (most probably as mining fee).

The 'view at blockchain.info' button takes me to the same Blockchain page as mentioned in the beginning. How should i understand this, and where did my 0.06 BTC go?


texts: Non LuckyCoin descendant alt-coins with fair "lucky blocks"?

texts:
Dogecoin just dropped the "lucky block" stuff after it was found out the "luckiness" wasn't entirely random - multiminers were waiting for the lucky blocks to appear and dropping their hashing power onto Doge's network all of a sudden to ensure they won the extra-bonus, then jumping out to mine another more profitable (for the moment) coin.

I know 42coin has fully deterministic bonus blocks, so most probably the multipools are grabbing those as well - wouldn't be surprised if they're dropped soon for same reasons.

But after checking the graphs of altcoin ancestries, it seems to me all coins with lucky blocks descend ultimately from LuckyCoin, so almost certainly have the same deffect.

Is there an alt-coin with lucky blocks that doesn't descend from LuckyCoin? Another question: Have randomness tests ever been applied to these coins to verify both their appearance and the amount given are really random?


texts:
I've been mining with ASIC miners for a short while on Mac OS X and recently bought a few BlueFury BF1 miners but no matter what I can't get them to work.

bfgminer 3.3.0 states:

/dev/cu.usbmodem1d11 is already in use by another process

And bitminter and cgminer do nothing.


texts: Bitcoin Core 0.18.0 in Docker container: Could not connect to the server

texts:
This is likely me not understanding how Docker works, but I've tried everything I can think of. I'm trying to start bitcoind in regtest mode inside a Docker container, then execute JSON-RPC commands against the container from the host machine. I'm running Bitcoin 0.18.0.

My Dockerfile looks like

FROM ubuntu:18.04

RUN apt -y update && apt -y install curl
RUN curl -o bitcoin.tar.gz https://bitcoin.org/bin/bitcoin-core-0.18.1/bitcoin-0.18.1-x86_64-linux-gnu.tar.gz
RUN tar xvf bitcoin.tar.gz

RUN mkdir -p /root/.bitcoin
RUN echo "regtest=1" >> /root/.bitcoin/bitcoin.conf \
    && echo "rpcuser=bitcoin" >> /root/.bitcoin/bitcoin.conf \
    && echo "rpcpassword=test" >> /root/.bitcoin/bitcoin.conf \
    && echo "regtest.rpcallowip=0.0.0.0/0" >> /root/.bitcoin/bitcoin.conf \
    && echo "regtest.rpcbind=127.0.0.1" >> /root/.bitcoin/bitcoin.conf

EXPOSE 18443

CMD ["/bitcoin-0.18.1/bin/bitcoind", "-printtoconsole"]

After building the image, I start the container by running

docker run -it -p 127.0.0.1:18443:18443 <image>

I can spawn a shell in the running container and run bitcoin-cli commands successfully.

When trying to execute a bitcoin-cli command from the host machine I get this:

error: Could not connect to the server 127.0.0.1:18443 (error code 1 - "EOF reached")

Make sure the bitcoind server is running and that you are connecting to the correct RPC port.

If I run docker ps I see this:

CONTAINER ID        IMAGE               COMMAND                   CREATED             STATUS              PORTS                        NAMES
b815f8810b6b        90ef5856c984        "/bitcoin-0.18.1/bin…"   25 seconds ago      Up 23 seconds       127.0.0.1:18443->18443/tcp   gallant_rubin

I can run bitcoind on the host machine and successfully execute bitcoin-cli commands against it, so it doesn't appear to be a misconfiguration with the client.

I'm wondering if I'm running into this from the release notes:

  The rpcallowip option can no longer be used to automatically listen on all network interfaces. Instead, the rpcbind parameter must be used to specify the IP addresses to listen on. Listening for RPC commands over a public network connection is insecure and should be disabled, so a warning is now printed if a user selects such a configuration. If you need to expose RPC in order to use a tool like Docker, ensure you only bind RPC to your localhost, e.g. docker run [...] -p 127.0.0.1:8332:8332 (this is an extra :8332 over the normal Docker port specification).

Is it even possible run Bitcoin 0.18.0 in a Docker container and use JSON-RPC from the host machine?


texts: Where can I find a chart of the daily supply?

texts:
there is the blockchain.info one for total supply but that very low resolution.

I really was a graph of the actual new bitcoin mined on the market on a daily basis because it seems like a strangely elusive number given it's sigificance.

I know it's somewhere in the region of 4300 BTC per day, and probably quite stable. The stability itself though would be interesting to chart because it's not going to be perfect.

Failing all that, the blockchain has this information in it doesn't it. Perhaps I'll have to figure out now to plot it.


texts: building bitcoin-qt.exe using Visual Studio 2017

texts: I know there is a project libbitcoin-qt.vcxproj, but I have issues with building it. Is there another solution how to build bitcoin-qt.exe (only VS)?


texts: Is the unencrypted copy of the wallet still usable after a copy is encrypted?

texts:
My wallet is not protected with a password, I have a few receiving addresses generated and a some funds in it, then I make a copy of the wallet and I set a password on this one.

Will the old unencrypted copy of the wallet still be able to spend current and future incoming funds without requiring a password ?

Or does something change in the private keys and addresses that gets updated with the network and old wallet becomes useless ?


texts:
I'm trying to understand how a block is put together. From here, I know that the extra nonce used to be in the format:

pblock->vtx[0].vin[0].scriptSig = CScript() << pblock->nTime << CBigNum(nExtraNonce);

What does this syntax mean? Exactly what elements does the script sig contain and in what order?


texts: Calculate tx fees before sending with sendtoaddress

texts:
I see this question time and time again, but I only find answers for calculating the fees in creating raw transactions.

I am using sendtoaddress and would like to be able to calculate the tx fee needed prior to calling the api. I would like to avoid creating a raw transaction if reasonably possible.

how might i do this using the json-rpc api? (i'm using bitcoind)


texts: How large can the bitcoin salt value be?

texts: To mine bitcoin I believe that you take the input and add a salt number to that then run the hashing algorithm to find a suitable output, but how large can the salt be, couldn't I just take the current input subtract it from the previously found bitcoin input+salt to get a new salt, and use that new input plus new salt to find a suitable output (same output as the old bitcoin)?


texts: Do any altcoins use a DHT for connecting to peers?

texts: Bitcoin doesn't use a DHT for connecting to peers. Are there any altcoins that do?


texts: Opinions on Siacoin's cloud hosting platform? You mine Siacoins by hosting files, and their current storage rates are 10x less than AWS

texts:
I was hoping to get some insight on how useful or competitive Siacoin's file hosting platform is compared to competitors. You mine Siacoins by hosting parts of files, and they claim for their cloud storage rates to be significantly lower than that of AWS, Google Cloud, and Microsoft Azure.

You need to have 2,000 Siacoins in order to begin hosting files and earning Siacoins. I know much of the cryptocurrency pricing today is effected by speculation, but I was wondering if anyone knows how it compares to the speed, availability, and usefulness of platforms like Amazon Web Services.

I am asking because I really like Siacoin's approach to use cryptocurrency for tangible cloud hosting, as it is reminiscent of Torrents, but am hoping to get other opinions on the current state and potential of their platform. Do you think their platform is ready to used on a professional level, or if it has potential? And if anyone has a programmers perspective on the usefulness of their platform, I would love to know!


texts: What are the most popular crypto currencies after Bitcoin?

texts:
I am trying to determine which crypto currencies are the most popular with the assumption that Bitcoin is the most popular one.

This question is up to different interpretations because "most popular" can be viewed many different ways and that is why I am here asking this question.  Most popular could be based on the most real world use, the most media interest, the most valuable, or the most number of people mining or the most processing power used in mining.

I want to know your opinion based on solid facts of the current state of crypto currencies.  It could be that another crypto currency is more popular than Bitcoin based on your rank, and I doubt that, but that is why I want the help from experts here.


texts: How do you type the ₿ Bitcoin Symbol in Android Google Keyboard?

texts: Is there a way to enable the Bitcoin symbol on my Android 9 Google Keyboard? I don't see it anywhere.


texts: (Ripple + wire transfer) x Banking (loans) multiplicator = 2x debt crisis?

texts:
if Ripple users would use % loans uncontrolled way?
For example:
system (gateway) have 100 bitcoins, the quantity is limited, bitcoin holders have issued 100 loans for 1 bitcoin each with 10% rate  (IOUs+10%), and then somebody lend this 100+10% to somebody for 10% more,how it would possible to return 110+10% bitcoins in real form?

hmmm....If we talkin about dollars its simple, dollars have unlimited supply and can be multiplied infinite, as about bitcoin.. maybe XRP would take role of Dollar as fiat money and bitcoin gonna be a reserve?

*sorry for poor english