texts: Do all private keys that are resolved to the same address give access to the bitcoins on this address?

texts:
The algorithm to get the public key and the address from a private key consists of a few steps.

Which of the intermediate keys is used to sign transactions with?

Ultimately, there can exist two different private keys that resolve to the same address or public key. Can both be used for signing transactions spending outputs assigned to that address?


texts: Creating Base58 public key & private key in Java?

texts: How can I create a base58 private key and public key in Java? I'm pretty familiar with Java and I have the bitcoinj-minimal code, but it's not clear to me how I can generate a base58 key pair from the code.


texts:
On Ubuntu 18.04 using the /depends for ./configure but I keep getting this error:

checking for boostlib >= 1.47.0 (104700) includes in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../include"... yes
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib/x86_64-linux-gnu"... no
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib64"... no
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../libx32"... no
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib"... yes
checking for boostlib >= 1.47.0 (104700)... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system-mt-x64... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem-mt-x64... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread-mt-x64... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono-mt-x64... yes
checking whether the Boost::Unit_Test_Framework library is available... yes
checking for dynamic linked boost test... no
checking for mismatched boost c++11 scoped enums... ok
configure: error: No working boost sleep implementation found.

The command called is

./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-wallet

. I've tried this without the depends and with. Tried to checkout to 0.18.1 and on master, but getting same error. Help very much appreciated.

Extra info from config.log

uname -m = x86_64
uname -r = 4.15.0-65-generic
uname -s = Linux
uname -v = #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019

More from config.log here: https://paste.ubuntu.com/p/v6nhPvW68s/


texts: What is the difference PoW algorithms (as used in Bitcoind) and BFT (used for instance in Libra) ?


texts:
I read the following on bitcoin.org

A full node is a program that fully validates transactions and blocks.
Almost all full nodes also help the network by accepting transactions
and blocks from other full nodes, validating those transactions and
blocks, and then relaying them to further full nodes.
Most full nodes also serve lightweight clients by allowing them to
transmit their transactions to the network and by notifying them when
a transaction affects their wallet. If not enough nodes perform this
function, clients won’t be able to connect through the peer-to-peer
network—they’ll have to use centralized services instead.
Many people and organizations volunteer to run full nodes using spare
computing and bandwidth resources—but more volunteers are needed to
allow Bitcoin to continue to grow. This document describes how you can
help and what helping will cost you.

In some ways it sounds like they are describing mining when they say "validating those transactions and blocks", but I also believe running a full node is different than mining. In what way is running a full node help the bitcoin network? Does it just help transfer information about transactions that have been processed by miners?
If running a full node is in fact distinct from mining, what incentive do people have to run full nodes if they aren't able to earn the reward as a miner would. Is it just for bitcoin supporters who want to help bitcoin grow?


texts: can I Re- encryp my wallet with a wallet.dat file from before encryption

texts:
My computer crashed and I lost access to my bitcoin wallet.. before that happened I knew I had lost my passphrase so when trying to recover my wallet with my wallet.dat I looked for a very early dated wallet.dat and loaded that, when it came up it was not encrypted so I encrypted it.

and made a new passphrase should that bring my wallet back with all the coins with the new encryption


texts: bitcoin-cli says transaction amount and balance are 0, but that's not the case

texts:
I imported a few TestNet addresses and sent some funds to one of them. When I run

bitcoin-cli getaccount mvKoQLrzovNbgALa2D7prh9pagd2QUKpWo

it responds with the account I named it to.

I sent 1.1BTC to that address, as can be seen here but when I run gettransaction it says amount: 0, but everything else looks correct. getbalance also returns 0. What am I doing wrong here?


texts: What would happen if mining difficulty would be decreased to almost nothing?

texts:
What would happen if Bitcoin mining difficulty would be reduced to nothing/very easy?
I can only think of the benefits such as exceptionally lower enery waste and much faster transaction processing.
The rewarded Bitcoins would, of course, be distributed at a much slower, reasonable pace.
Sure the bitcoin miners would lose a ton but in my personal opinion the mining industry shouldn't have grown to such extremes in the first place.


texts:
The miner that creates a block gets the reward and all the fees that are in that block.

What happen with other nodes that does not create a block. In their case, will not they  get any reward and also any fees? How do they survive?
As I understand, when a block is created, all the miners start again finding the solution to create the next block. Can the miners choose which transactions validate? If it is like that, all the blocks in that time frame, are they the same?

Thanks!


texts: Will I pay BID price or lowest necessary amount?

texts:
I was wondering about how ASKs and BIDs are matched:

Say I set up two separate trading accounts on mtgox.

On my first account, I offer to sell 1 BTC for 1000 USD

...Nobody will buy it (at current rates) so a sell will not happen.

Now, on my second account I offer to buy 1 BTC at 1000 USD.

I guess everyone will take that offer, and the buy will happen.

But will I get the 1000 USD that my first account is willing to pay (being the highest match), or what will happen?

I have a feeling this is a 'stupid' question, but I have no experience in how trading systems work.


texts: Recovering wallet from MultibitHD backup file

texts:
I was able to create a Multibit HD hash in the form of $multibit$232characters32characters*32characters... If Hashcat has uncovered a password for a mbhd.wallet.aes file, what's next? One thing I'm confused about is why did Multibit HD create a wallet file with the .aes ending when it's not even a AESCrypt file or maybe that's just to throw people off??
Anyway, it doesn't really matter as long as I have the wallet password, I guess. So, what are the next steps to take to see if the wallet has private keys or not? It is only 27 Kb so I'm assuming it's a dump of the private keys, if any or it could be corrupted. I don't know the process moving forward. I think I read that Multibit HD wallets are not safe and should be converted to something else, like Electrum or something... is that true? In addition, I do not have the 12 seed/secret words so Multibit HD doesn't allow you to enter a remembered password... it wants the seed words to recover the wallet.  What do you recommend and what's the correct process?  Should I try to get the seed words somehow or should I try to import the keys into Electrum or something else?
Also, how does one go about getting public keys or addresses or both from private keys? Google searches are not helping so much as the Multibit HD wallet information is old and I'm not sure it's reliable. Any help and/or direction would be greatly appreciated.


texts: Talking to bitcoind thru web browser returns empty JSON document

texts:
I am attempting to access bitcoind's http-json-rpc api thru firefox. I enter the following URL

http://user:password@localhost:8332/getinfo

and it returns

There was an error parsing the JSON document. The document may not be well-formed.
Document contents:

So the document contents are empty, but when I inspect element and look at the response, I get

Status-code: 404 Not Found
Connection: Close
Content-Type: "application/json"
Server: "bitcoin-json-rpc/v0.8.2-815-g5f083af-beta"

So the server is replying, but doesn't recognize the request or something.

My bitcoin.conf file reads

rpcuser=user
rpcpassword=password
rpcport=8332

If I do

 http://user:password@localhost:8332/

instead, it gives me a 500 Internal Server Error

Any idea what is missing?


texts: Do I need the bitcoin blockchain for having a simple wallet using the bitcoind (daemon)?

texts:
I want to start playing around a bit with the technical side of Bitcoins (thinking of setting up an exchange). So I built a bitcoind (daemon) binary from source and now the docs say that when I run that, it will start downloading the blockchain, which is several GBs large and takes a couple hours.

The only thing I want to do however, is create a simple wallet and make transactions from and to it. And because I ultimately want to deploy this to a server, I would prefer to not download several GBs.

So do I really need to download the whole blockchain in order to get a simple bitcoin wallet? Or is there a smarter way than deploying a wallet on a server using the bitcoin daemon?


texts: Is it possible to brute force the Secure Element of Ledger Nano S?

texts: Only things I could find about this subject always tell that Ledger has a secure element like SIM cards and credit cards have. Also something about another OS running near the main application. But simply when you cut the power isn't it just a storage device? SIM cards and credit cards are encrypted with a pin. I also think the secure element in Ledger is. So can an advanced adversary pull the secure element off and brute force a 6 digit PIN?


texts: Reports of Cryptocurrency Exchanges faking volume trade data. Where can one find this report?

texts: In 2018 December there was a research report on cryptocurrency exchanges faking volume trade data. Where can one find this report on these exchanges? Supposedly the only 2 exchanges that had real trade volume was Bitfinex and Binance. I'd like to know what were the rest.


texts: Get 10 new addresses with a single request

texts:
Referring to the documentation: https://bitcoincore.org/en/doc/0.20.0/rpc/wallet/getnewaddress/
Using the example:
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getnewaddress", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/

How do I generate multiple new addresses with a single command to the server without looping the curl command, which will create a new connection each and every time.  As in, if I know I need 10 new addresses, instead of looping that curl command 10 times, can I not structure the json in such a way which will send me back 10 address in 1 connection call?


texts: Noob: new to bitcoin, bitcoind will not run on Windows 10

texts:
I just heard about Bitcoin, it looks huge, and am trying to get it to work and see how it works.

I live in a very rural community and we do not have Internet yet, I had to do some dirty deeds to get my first minimal hardware, and to get this far to simply post.

--
I installed QT and let it sync.
I want to learn how to run bitcoind on my local Windows PC and issue commands in hex to the network.

I can't get bitcoind to run.

C:\bitcoin-0.17.0\bin\bitcoind -daemon -datadir=c:\bitcoin          ( when I ran QT, I added -datadir=c:\bitcoin )
Error: -daemon is not supported on this operating system

--
I am assuming I can't or should not run Bitcoin QT and the daemon at the same time.  I'm trying to understand the bitcoin commands, from the command line (not the QT console) and believe that I can not run both at the same time, because both try to sync the blockchain, correct me if I'm wrong.


texts: OpenSSL error when running "make" command

texts:
I am trying to install bitcoin core on my ubuntu server.
installed necessary dependencies.
RAN :
./autogen.sh
./configure --disable-wallet --with-incompatible-bdb --with-gui=no
./configure
make
I am getting OpenSSL errors when I run make.

bignum.h:593:77: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
593 | inline bool operator>(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) > 0); }
|                                                                             ^~
|                                                                             |
|                                                                             const CBigNum*
In file included from /usr/include/openssl/asn1.h:23,
from /usr/include/openssl/objects.h:15,
from /usr/include/openssl/evp.h:28,
from /usr/include/openssl/x509.h:18,
from /usr/include/openssl/ssl.h:20,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:24,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:23,
from /usr/include/boost/asio/ssl.hpp:18,
from rpcprotocol.h:16,
from rpcserver.h:10,
from bitcoind.cpp:6:
/usr/include/openssl/bn.h:274:26: note:   initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
|            ~~~~~~~~~~~~~~^
make[3]: *** [Makefile:865: bitcoind.o] Error 1
make[3]: Leaving directory '/root/bitcoin/src'
make[2]: *** [Makefile:887: all-recursive] Error 1
make[2]: Leaving directory '/root/bitcoin/src'
make[1]: *** [Makefile:673: all] Error 2
make[1]: Leaving directory '/root/bitcoin/src'
make: *** [Makefile:509: all-recursive] Error 1

I did run sudo apt-get install libssl-dev but it doesn't help.


texts:
I'm freelancer and I'm willing to get paid with bitcoins. Hence I need to find some service which allows to top up bitcoin wallet with minimum efforts (even without registration). Something similar to: https://paynow.payoneer.com/ (but for bitcoins). Simplicity is really important.

May anyone suggest some?


texts: How to protect the early stages of a proof-of-work application?

texts:
For a given cryptocurrency or other blockchain application, proof-of-work provides intrinsic security in the algorithm itself that makes it unlikely that someone can attack the network unless they have more than 50% of the computational power of the network under their control.

This makes sense and works once the network has a considerable size, but every network has to start somewhere, and when a new application is born and the number of miners is still very small, it would seem very easy to outpower the network to insert fraudulent transactions and still be the longest chain of blocks.

Is there a way to mitigate this risk?


texts: How might I create a new Electrum wallet programmatically?

texts:
I want to create a new wallet using Electrum-apis. I have gone through the documentation given here but I haven't found any method to create a new wallet or an address.
Would someone guide me in this?


texts:
i was thinking of using a service like blockonomics linked to an offline store via Xpub.
When a user signals their intent to make a payment, the app would generate a new address (API call), display it, set a timer for blocking the address, then use its HTTP callback to wait for Confirmed before updating the user balance. Without knowing the TX id I would poll the address and see whether the amount had been received since the timer started.
All payments go to a single cold address pool.

Is this a sensible secure way of going about this? What are the potential risks?


texts: Is a mining program necessary for mining, or can bitcoind mine by itself?

texts: I'm having a hard time understanding the relationship between daemons (such as bitcoind or litecoind) and mining.  Some things I read make it seem that you need a separate mining app and some things seem to suggest that the daemon itself does mining.  Which is it?  I'm thinking maybe the daemon can do mining but it needs to be enabled and if you don't enable it you can use a separate app instead?  I'm confused.


texts:
I would like to receive a payment for selling my bitcoins. I don't trust the person much, so I will ask for money in advance. However, I'm not sure which payment processors could I use for such a transactions that are chargeback-resistant. I know PayPal is bad for this, but what are my other options?

Which payment processors do not allow for chargeback?


texts:
I want to learn about bitcoin/blockchains, and from what I understand so far is, new blocks are validated/continued by the finding of hashes every, 10-ish minutes (mining).
My question is, if everyone stops mining, or we finished getting most of the bitcoins, how will the chain be continued?
I am noob, and would like to learn more, any resources, or corrections are greatly appreciated. Thanks!


texts:
Be kind! It was my first time!
Is there anyone out there that can intercept this transaction? Or redirect it to just return to the wallet it came from? It was my first transaction and I sent BCH to BTC. Expensive lesson!
1edfdf8e76e8e46fe5c1034ee129efd92b4b5d8f15004ae5acf1b961a176a809


texts: How do we know which miner or pool mined a block?

texts:
There are websites that talk about each mining pool's total % of hashrate.

I think they do that by calculating what % of the last X blocks were mined by a particular miner/pool.

But how can we know who mined a block?

Edit : this isn't a duplicate.

That other question mentions that: "People could try to trace where the mined bitcoins are first seen and where they go. And you could trace the first IPs known to report the blocks"

Sites produce very detailed stats covering mining pools with as little as 0.3% of the global hash rate. see this

There's probably some very reliable method for doing this and I'd like a detailed answer about it.


texts:
I have read a lot of threads regarding this but haven't sovled it. My scenario is this.

I have saved all the .zip.aes Multibit files on my Dropbox. Now I have reinstalled Windows on my computer and trying to set up Multibit again. I have the wallet words and password.

I have set up my wallet to use the same folder on my Dropbox where my .zip.aes files are. The secret word and password worked great. The balance of my account is correct, allthough I get the "Unconfirmed" in front of the balance.

I have also downloaded Bitcoin core which somebody stated would work. Also tried "Manage wallet > Repair wallet" with no success.

How do I solve my problem?


texts: How does the Blockchain detect a cheater, who manipulates the blockchain?

texts:
Let's assume we have 100 blocks. One miner x has the intention to manipulate block 90. So he has to recalculate the hash for block 90. Following he also has to recalculate the hashes for block 91-100.
Correct me, if I'm talking non-sense here.

So how do all the other miners figure out that miner x is cheating? And what happens to miner x, if he gets caught?


texts: How do I spend a paper wallet into my coinbase.com account using the Android Coinbase app and the paper wallet QR code?

texts: I created a paper wallet using bitaddress.org and spent bitcoins into it using the Coinbase mobile (Android App). I then noticed that the paper wallet cut off part of the private key during printing! They don't leave anough room for the entire private key. I need to get those bitcoins back out of that wallet/address using only the QR code. I can't figure out how to use the Coinbase mobile app to do that. It apparently can send to a QR code, but not receive from one.


texts: How can a Bitcoin consumer and a Bitcoin seller mediate disputes?

texts:
Since Bitcoin payments are non-reversible, what technical and business solutions are there to mediate issues such as

Product wasn't as expected
Payment was double spent or in an invalid chain
etc...

Right now it seems that these issues are fixed by "having a service on top of Bitcoin" and these mediators use their own opinion to mediate the transaction.

The problem I have is that these mediators may be biased for the seller, or the buyer and may not be publicly accountable (or audited) for their decisions.

Question

What solutions exist (no matter how imperfect they are) to address product disputes when doing transactions with Bitcoin or other Virtual currency?


texts: How long should confirmation (spendable amount) take?

texts:
My transaction already has 24 confirmations at blockchain.info, and the transaction is correctly recorded in Multibit.

But there is no "spendable amount".

I've already "Reset Blockchain And Transactions", but to now avail.  I've closed MultiBit and restarted, to no avail.

I'm sure I've have connections (or else the transaction wouldn't have recorded), but I don't know about how to check how many nodes Multibit is connected to, or where to find out, or what to do about it.

I'm new to BitCoin, so I'm here to learn . . .

Is there something else I should be doing?


texts: What is [::]:0 address in bitcoin debug.log?

texts:
I am trying to run and connect multiple nodes on a single machine, i.e different nodes using different ports. I am having trouble in connecting the nodes and making them talk to each other. While debugging, I inserted a LogPrintf("%s\n",addr) in the while loop of ThreadOpenConnections() in net.cpp file.

The output in the debug.log file is always [::]:0. What does this address mean ? Is it for localhost representation or something else ?


texts: What resources are required for bitcoin mining?

texts:
What resources do I need to mine for bitcoins?

Do I need a computer and computer software?

Do I need a license to mine for bitcoins?


texts: How much should I spend when I send BitCoin to other people using electrum wallet?

texts:
The fee displays "Target: Within 10 blocks, Current rate: 2.5 sat/byte" when I use electrum wallet to send BitCoin to other people.

I can't understand completely the means of "Target: Within 10 blocks, Current rate: 2.5 sat/byte" ?

How much should I spend if I send one BitCoin to other people ? Thanks!

I hope you give me the details about how to calculate the fee!

Added Content

To Abdussamad: Thanks!

1: The sat is 0.00000001 BTC , right?

2: I send one BTC to other people, how can I know the byte?
   If I know the byte, I can calculate the fee= byte * 2.5* 0.00000001 BTC


texts: Who to rent virtual private server from accepts bitcoin?

texts:
Have preferences for service. Desirable that machine hosted in nation disagreeable with United States. Standard linux images available.

Will create webpage which lists links to youtube videos, expect accusations of copyright infringement. Good if host tells Hollywood companies where to stuff court papers. Service in Russia, former Bloc nations, China all good.


texts: Basic Concept of Bitcoin (public and private) Keys

texts:
Can anyone please tell me the difference in the following Bitcoin terms?

Difference between xpriv and xpub
Difference between xpub and tpub.
Difference between ypub and upub.
Difference between public key and standard public key.
Is xpub and ypub are same? also tpub and upub?


texts: Can a low fee unconfirmed transaction prevent confirmations of following transactions?

texts:
To be more precise, consider the following situation:

Address A gets an input of 4 BTC.
You try to make a transaction from A to B with 1 BTC and a very low fee, which means its unconfirmed for a long while. The transaction's output are B and A (to account for the change of ~3 BTC after fees)
Before waiting for the previous transaction to be confirmed, you send again from A to B, this time you send 2 BTC with a higher fee, hoping it'll be confirmed fast.

My question is, since the output of the first transaction is the same address A, will it need to be confirmed first for the second transaction to follow through, because the input of the second transaction is A?

In this example I used amounts to make sure there's "enough" bitcoin for each transaction separately (since if you have 1 BTC and you try to send it twice intuitively see why it shouldn't work).

Assume no extra addresses are generated automatically by the wallet to handle it. I'm talking about this specific re-use of addresses scenario.


texts: Coinbase wallet address listed as spent without spending

texts:
I created a coinbase account and a new wallet that only had one address "A" associated with it.

I then gave that address to a friend and had them send me some amount "B" of bitcoin.

Shortly thereafter my coinbase wallet was listed as having the correct amount "B" of funds and the address "A" associated with my coinbase wallet shows up in the blockchain as having the correct amount "B" sent to it. However, my address "A" immediately showed up in the next block spending the funds, and the address "A" is listed as spent (e.g., on blockchain.info shows up as "spent"). There are a large number of subsequent transactions spending the funds to a bunch of addresses that I have never seen before.

Does anyone know why this is happening? Is this some attempt at coinbase to perform some mixing and try to anonymize transactions? Or does coinbase send the funds to a "cold storage" or something and just pretend like they are "in" the address listed in my coinbase wallet... very curious...


texts: Does a transaction have multiple signatures

texts:
In the question "Is there a way to prove ownership of a transaction?" the statement was made "A (regular) transaction must be signed with the private keys of the addresses of all the inputs".

Does that imply that a transaction has multiple signatures or is a single signature just encryted with multiple private keys?


texts: Are Bulletproofs fully implemented into liquid?

texts: Blockstream themselves released a paper in 2018 about a more efficient range proof and Calles IT Bulletproofs. I'm wondering if it is already fully integrated into the liquid sidechain?


texts:
i need an expert to clarify is my understanding correct to block reorganization. I can't find answer can persuade me, sound like only i dunno what is block reorganization :(.
say my bitcoin network has total 10 nodes, and 10 of 10 are all miners
say i had successfully mined a block#10, and that is another competitor also mined a same height of block at the same time and then i shut down my node.
after few days, i restart my node, so now what event will be trigger in my bitcoin program? i imagine possible steps would be like this. below "I" refers to my bitcoin node.

i found my largest chainwork is block#10 with hash 0000123.

i broadcast getheader message to all my peers, with max query blocks = my block height + 100 to grab next 100 block headers after my block.

say 5 of my peers return me result. i wonder now is bitcoin performs PBFT on returned result? say at least 3 peers return me same result, then i assume that this result is correct.

ok, now result return from point 3 told me that there no longer got block added after my blockhash, i know my block has been orphaned.

next, i lower my block height to 9, then i ask my peers again, and peers response me yes that is block#10 which hash is 0000456 and prevhash same to my hash in block#9.

before start to download all blocks start from hash 0000456, i need orphan my block#10, so i remove it from chain and revert the transaction to mempool.

and now i feel safe to keep download until meet most chainwork block.

i need your clarification. thanks.


texts: senting wrong address from BCH to BTC address PLEASE HELP!

texts:
please help me I am New to this please show me step by step how to recover the lost coin let me explain.
First I used Trezor wallet sent bitcoin(BTC) out convert to bitcoin cash(BCH) using shapeshift.io, however the received address I input BTC received address instead of BCH address so I email shapeshift and asking to recovery my lost coin, they emailed me and say they're nolonger access to my coin to recover it, so they sent me a LINK (https://blockdozer.cominsight.tx.......) ask me to extract the coin using your private key...
please show me how, Im lost...
thank you so much..


texts: How can I get all transaction for a specific address using Nbitcoin?

texts: How can I get all transactions for a specific address using Nbitcoin?


texts: Should i invest in a Antminer L3+ or a Antminer S9

texts: i've been looking to invest in a antminer s9, at the moment the earning i can get from that machine is around 10$/day. but it's a litecoin miner (Antminer L3+) for the exact same price that i could earn 30$ a day from. people say that the value of bitcoin will rise like a rocket, but i dont know about litecoin.


texts:
I am trying to understand the Blockchain algorithm used in Bitcoin.

I do not get the part how blocks are created.

Let’s say transactions occur at some time. Then, if some nodes get these transactions, these verify the transactions are valid and then send it to other nodes.

With this verify-send algorithm, almost every node verifies these newly occurred transactions in few seconds.

Now, it is a time for a miner to do his job, which I do not understand.

He needs to find a nonce which makes a lower value than hash values given in transactions.

Question 1 How many transactions should a miner should verify in a single block? For example, if a miner A finds a nonce which gives a lower value than hash values given in 50 transactions, and if a miner B finds a nonce which gives a lower value than hash values given in 70 transacations, would a reward be given only to the miner B? So should a miner appropriately choose how many transacations he will work for?

Question 2

How is a block created? In some webpages, it is written that if a miner finds an appropriate nonce, a block is created and a miner is rewarded. What exactly is a block? Is it correct that a block is exactly a text file of “transaction lists+ appropriate nonce value corresponding to those transactions”?

Question 3

When is a miner rewarded? Is he rewarded at the time he created a block or at the time after his block is chosen to be a part of the greatest cumulative difficulty chain?


texts: Blockchain android app did a stupid thing!

texts:
First of all, Sorry for my terrible English!

On Sep 24 i installed the BLockchain.info android app, before that, i signed up in their web application and made my account strong with 2-step-verification and wallet recovery phrase.

When i used the app, i logged in first time and it wants my verification(email and phone number 2FA), I just fill them and wait for app, but after it all of my bitcoins send to another address without my confirmation ( the address is 16hUh5k9V41EMzcuYW3kmkTCzyqju7RXr1 and yesterday had a another transaction ).

So what's going on exactly?

Their support says it must be hackers or malware, but how? It was their app.
After all, i just installed the app on 3 different devices, each of them shows the same picture in attachment with same address.

Please help me, and tell me what i must do?

Really, I'm SORRY FOR MY ENGLISH!


texts: How can I import wallet.dat from offical Bitcoin client into Electrum?

texts: How can I import wallet.dat from official BitCoin client into Electrum?


texts: What is needed for Bitcoin to become the reserve currency of the world?

texts:
Bitcoin's characteristics seem to make it a prime candidate as a reserve currency, given it has fast transactions to anywhere in the world at a low cost with little to no price manipulation or export/import controls.

Imagine a traveller arriving in a foreign country, having bought 100 Bitcoins in his country. Rather than go through a middle-man currency exchange, he finds someone who wants Bitcoins (or even a Bitcoin ATM) and sell his Bitcoins for local currency.  When he is ready to leave, he simply sells back his local cash for Bitcoins without being hit twice by the currency exchange's transaction fees.

What would have to happen to make this a reality?  Is it feasible?


texts: HTLC in blockchain regtest mode by creating transactions manually

texts:
I am trying to create a htlc smart contract manually by writing a script and  finding the hex using the btcc compiler. Now node A has to create a transaction using that hex and lock money in that p2sh address for upto 150 blocks. If node B can provide the secret value before 150 blocks then he can claim the coins and if not the it will go back to node A. I am new to this concept and where ever i read about creating transactions they are explaining in a theoretical way and I could not understand what to do the redeem script hex and how to lock money and how will node B claim it before 150 blocks and how will the raw transaction created by node A will be accessible to node B. Can you please give a reference or steps to follow to understand and implement it?

Which documentation should i refer for doing it and what commands should be used and how it should be used?

How to create the p2sh address. And another problem i am facing is that i am getting different hash160 everytime in different website. Not sure which one is accurate. Please guide me.

P.S:  I am running bitcoin in regtest mode.


texts: Is it viable to CPU/GPU mine popular cryptocurrencies given that they have dramatically spiked in value recently?

texts: In the past two months the value of bitcoin has dramatically spiked (and fallen and spiked and fallen), with a general upward trend in value. Many websites about cryptocurrency mining give a loud disclaimer that it is not effective to mine coins with your CPU/GPU. I was wondering if this is still the case given that the value of the coins has dramatically risen? Where before 0.001 bitcoin was worth 12 bucks, now it's worth 12000 bucks (I am pulling these numbers out of my ass, but you get the idea). So even just grinding away to get a small percentage of a bitcoin might still pay out a decent little bonus right?


texts: Is Lightning Offers an improvement over Key Send?

texts:
The draft for BOLT#12 (Offers) introduces a new payment flow where the receiver of funds posts an Offer. The Payer can then request a unique invoice and pay the invoice. There are significant improvements in the flow including payment and payer proofs.
In a Key Send payment, a payer can send funds to a receiver without an invoice by encoding the preimage in the onion payload for the receiver.
Let's say in the context of donations, a receiver can either post an Offer to use the BOLT#12 payment flow OR post their node's public key to use the Key Send payment flow.
Am I correct in thinking that BOLT#12 is an improvement over Key Send payments? Or are these two solutions solving completely different problems?


texts:
I tend to distinguish two types of trust:

a) I trust you to lend me XXX in quantity up to N units.

b) I trust you to borrow from me YYY in quantity up to M units.

However, ripple documentation appears to not make such a distinction. At least not clearly and explicitly.

Using ripple.com client I can trust someone to lend me, but I see no way to trust someone to borrow from me.

Can you help clear this conceptual hurdle for me?

I've been lending & borrowing all my life and never, ever was I confused about who owes me and whom do I owe. Now, with the advanced mathematical currency & exchange system I am not sure about that anymore.


texts: If bitcoin exchanges can be "scammed" why is bitcoin better?

texts:
Reading a post about someone getting scammed in an exchange and thinking about becoming a bitcoin user, now I am wary about this form of currency exchange.

If the exchanges can scam you, see How to denounce a scam exchange, such as this exchange called BitNake, then why would I use this form of currency? At least with US Dollars we are insured up to $250,000 per bank account by the FDIC.


texts: how to get confirmations about many transaction at once using bitcore node or bitcoind rpc?

texts:
how to get the confirmations of many transaction at once using bitcore node or bitcoind rpc?

I think it's possible to get the confirmation of a single transaction using getrawtransaction of bitcoind rpc, but i want to check the confirmations of multiple transaction by one call. Is it possible?

Thanks


texts:
Having a hard time getting the amount of testnet coins I need. Anyone know a way of getting a rather large amount of testnet coins?

If you can spare some:mvhTdSXUhs812vY5t1StAKohwid5GwALgK


texts: How does a non-segwit full node ensure validation of the blockchain?

texts: Let's say a block been created with most tx are segwit , now the block is more then 1MB and will be near to 4MB, I understand that a non-SegWit node ( let's say bitcoin-core 0.15 ) cannot get a block with that size, so How does it see this block as valid ? and if it's because the transactions omit the part of segwit in the inputs then how can the legacy nodes validate the block ?


texts: What could this Python Assertion error mean?

texts:
When I run the code below, sending a BTC transaction to the blockchain (using blockcypher api) I get an Assertion Error. I am not sure what an Assertion error means.

The code:

Btw the address had only around 5000 satoshi left....
Link to api documentation

https://www.blockcypher.com/dev/bitcoin/#creating-transactions

Thanks


texts: Javascript library or code that can convert an "uncompressed" bitcoin private key to a compressed one

texts: I forked a pretty old brain wallet generator: https://dvdbng.github.io/memwallet/ -- Currently it generates uncompressed bitcoin private keys. Is there a javascript library that can convert an uncompressed bitcoin private key to a compressed one? Or what is the required fundamental knowledge to know in order to compress a bitcoin private key?


texts: Is there a way to use the block chain as entropy in random number generator?

texts: I want to create a transparent gambling/lotto site and use the block chain as entropy for lotto numbers, dice rolls, that kind of thing.  Would the transaction hash of the latest transaction be the best way to do this?  How often are transaction hashes created?  How would you, programmatically, access them?


texts: jsonRPC calling createrawtransaction in PHP

texts:
I can't get createrawtransaction to work in PHP using jsonRPC.

I found this thread https://bitcointalk.org/index.php?topic=133769.0 from a few months ago describing the process. It won't work however, no matter how many different ways I try it...

$arg1 = array( array( "txid"=>$lasttx, "vout"=>$n));
$arg2 = array( $address=>$coins);

array(1) {
  [0]=>
  array(2) {
    ["txid"]=>
    string(64) "valid_tx_id_goes_here"
    ["vout"]=>
    int(1)
  }
}
array(1) {
  ["valid_address_goes_here"]=>
  float(0.01)
}

$this->bitcoind->createrawtransaction($arg, $arg2);

EDIT: All of the other commands work, like getblock and etc. So I'm connected to the RPC server clearly. The errors aren't helpful either -- it says unable to connect when I output the error for createrawtransaction, but all of the other commands go through the RPC fine and are able to connect. I wish I knew how to even begin debugging this.


texts: Is there any python lib could be used to analysis the local block data?

texts:
Just downloaded all the block files to local and want to try some analysis on the transaction data in the block.
is there any python library can be used to do the analysis?


texts: Electrum 3.3.2 the transaction was rejected by network rules dust error.... Tried different nodes, Doesnt Work

texts:
I'm getting the an electrum 3.3.2 error with something to do with dust.

the transaction was rejected by network rules dust error

I'm using the cli to send out a transaction and its just using 1 input and 1 output only. And the fee is auto set. It was working fine yesterday. I read it's something to do with the node. But what is wrong with it? I tried many other public nodes and it says the same error. What is happening? An attack?

What solutions are there for something like this? My application depends on having electrum working at all times.

result = server.runcmdline(configoptions)
  File "/xxxx/Desktop/Electrum-3.3.2/packages/jsonrpclib/jsonrpc.py", line 650, in call
    return self.send(self.name, args)

  File "/xxxx/Desktop/Electrum-3.3.2/packages/jsonrpclib/jsonrpc.py", line 532, in request
    checkforerrors(response)

  File "/xxx/Desktop/Electrum-3.3.2/packages/jsonrpclib/jsonrpc.py", line 1220, in checkforerrors
    raise ProtocolError((code, message))

jsonrpclib.jsonrpc.ProtocolError: (-32603, 'Server error: File "/home/xxx/Electrum-3.3.2/packages/aiorpcx/session.py", line 501, in sendrequest | aiorpcx.jsonrpc.RPCError: (1, \'the transaction was rejected by network rules.\\n\\ndust (code 64)\\n01000000......70800\')\n')


texts: What is point of encrypting wallet, if Bitcoin API's sendtoaddress needs passphrase?

texts:
The Bitcoin API enables programs on the server to use JSON RPC to interact with the Bitcoin wallet.  Most commands do not need the wallet locked (which I assume is the same thing as encrypted).

Though, it would be nice to encrypt the wallet.dat file on the server for extra protection.  However, it doesn't seem that I can get any extra protection if my program needs to use the passphrase to execute JSON RPC commands such encryptwallet and sendtoaddress.  My program and wallet will be on the server.  If a hacker accesses my server, he can get the passphrase from my program file and then use that to access the wallet on my server.

Therefore, is there any point in encrypting the wallet on the server, if I need to use commands such as sendtoaddres which needs the passphrase on the server?


texts: is it possible to retrieve some block transactions using bitcoin-core?

texts:
I'm trying to fetch specific block transactions, is it possible to do so using bitcoin-core?

for example block number: 517716 can I get hex transactions or even just the txid's of that block?


texts: Where can I find the explanation of each field of the result returned by the api of blockchain.info?

texts:
Such as in this result: https://blockchain.info/rawtx/6b1c57d98a557b5f578c02f6c386ef049df5890ebddd01d286bf345f47c5cecc

I don't know what ex. the fields "tx_index", "type", "n" mean.


texts:
The Bech32 BIP declares that Bech32 is "based on BCH codes". But if you look at the wikipedia page on BCH codes, you see a lot of mathematical equations, but none of those equations seems to be similar to the code that calculates a bech32 checksum.

Can someone explain what parts of BCH codes that bech32 is based on?


texts:
With Bitcoin's gossip protocol, could we take it for granted that if I sent a transaction, for example, at 1:00 PM on 1st January 2018 UTC that then every node connected to network at 1:00 PM would receive that transaction by let's say (for network latency) 1:05 PM 1st January 2018, because of how the gossip protocol works?
And by everyone I mean every single node that was connected to the network at that time.
Given some time for network latency, do messages reach all connected peers, and if so, how long does it take for them to do that?


texts: Can miner include non-broadcasted transaction in his block?

texts:
If I understand correctly, when miners try to produce a block, they get the transactions from node's mempool, where it is put if it satisfies the transaction validity criteria. For most of the nodes the source of the transaction is another node, via the gossip network.

Since a miner can not hoard transactions and try to create block, they is a risk that while miner A tries to mine a block containing transaction TX1, some other minder B is quicker to mine a block that contains this transaction, thus putting all the work of miner A to waste.

So, it seems that miner has incentive to pad his block with transactions that are unknown to other miners. It's not hard to create a valid transaction that sends coins from one address to another address, both owned by the miner. So, if a miner puts such transaction in his block, there's now lower probability to lose the race for the next block. Heck, he could create block that contains only such "private" transactions, thus getting income only from the coinbase transaction.

What feature in the bitcoin algorithm/network prevents miners to do so?


texts: Is it possible to use the same payout address on multiple miners at the same time?

texts: I just started out mining, and I'm using Nicehash to mine BTC, so my question is if I ran the Nicehash client on two different computers in my house, both using the same wallet address, does it add the profit to the wallet? What are the problems with it if i do use this?


texts:
I am kind of confused with something. I hope you can clarify it for me...
Let's say I want to make a transaction. So my exchange wallet does that for me. The way it does this is it first grabs the UTXO list (let's say it has that on disk D), grabs those that can be used, and using those UTXO creates a transaction with the valid inputs. Then, this transaction goes to the node's mempool. Then, when starting to mine a block, the node grabs those transactions, puts them in a block and mining starts.
Question 1) when will the UTXO list be updated on disk D? Before putting a transaction into a mempool, or after a miner solves a block or maybe at that time when the miner grabs transactions from the mempool?
If the answer is: before putting a transaction into a mempool, then, things get complicated because if that node doesn't solve the block, there's a chance that updating UTXO shouldn't have happened, so it means that the node will revert the utxo back to what it was.
If the answer is: after a miner solves a block, then it's possible that my node will let me do the same transaction twice, since before creating a transaction, it checks UTXO list.
If the answer is: when a miner grabs transactions from mempool, then this is pretty wrong, since mempool already contains validated transactions.
What do you think?
UPDATE QUESTION:
Let's say I have 1 BTC and published 1BTC transaction to Bob on nodeA and the same 1BTC transaction to Alice on nodeB.
So, let's say transaction broadcasting didn't happen, so they(nodeA, nodeB)  don't know each other's transaction.
Now, nodeA mined a block first and broadcasted the block. nodeB received this block. Now, nodeB uses lots of different UTXO's as you stated. One check that gets done is nodeB loops through the nodeA's block's transactions and if any of the transaction can be found(compares transaction id's) in its mempool, it removes it. Now, How will nodeB remove the transaction to Alice(which is now a double spend) ? How does it come to this conclusion ?


texts: Where are my bitcoins after wallet removal

texts:
I'm a newbee with bitcoins, but there is something I don't understand.

I've downloaded MultiBit, but with this I was not able to see anything on my iPhone. So I also openend a wallet on Blockchain. I transferred the money from MultiBit to Blockchain and this al went well.

Secondly I removed my wallet in MultiBit and now my Blockchain wallet is also empty... How is that possible?

This is my last transfer... https://blockchain.info/nl/tx/b9a85a99f168f9e8fcd5b1385868cdbfc8bcb4f4205e65499bd13a27fc024d95


texts: Could i build a mining rig with these parts?

texts:
I have researched bitcoin mining for a while, and i have decided that i want to build a dedicated miner. Since i am very low on budget, I thought that maybe i could use an old computer that i have in my house for the motherboard and CPU requirements, and by only a GPU. My old computer has an AsusTek computer inc P5S800-VM motherboard, featuring an Intel Pentium 4 processor. Link:
http://www.asus.com/Motherboard/P5S800VM/

Is there a way to add an ATI GPU to this system and make it work as a miner? Thanks for any responses, and sorry if i was not clear enough - i am quite new to this field.


texts: How to broadcast a Bitcoin Gold transaction

texts:
I'd like to broadcast a signed BTG transaction - In Bitcoin it's very easy to do with tools like coinb.in. Is there a public RPC/API endpoint similar to the following examples where you can broadcast a signed transaction:

coinb.in
chain.so
block.io


texts: Where can I find graphs the values of alternative crypto currencies?

texts: Hashrates and value in BTC. Is there one site that can show them all, perhaps even on the same chart?


texts: Multibit HD shows confirmed transactions as unconfirmed

texts:
My entire balance in MultiBit HD appears as "unconfirmed". MultiBit HD does not allow me to send them to another address, so they are "stuck". When I click on the individual transactions under "Payments", the pop-up window says "Unknown transaction status". These transactions are more than a year old, and they seem to exist and be completely valid on blockchain.info (see for example this transaction.

I have already tried the "Repair wallet" option, but it has no effect. I have also tried using accelerators as described in this question but also without effect. Likewise this question is not helpful since it is about the generel speed of confirmations - my problem is related to MultiBit HD where my balance is unconfirmed even though the transations are confirmed on blockchain.info.

How can I get my bitcoins back?


texts: why is the growth in the number of bitcoins not convex?

texts:
If I look at the chart below:
https://blockchain.info/charts/total-bitcoins?timespan=all&showDataPoints=false&daysAverageString=1&show_header=true&scale=0&address=

and I check the trend for 'All Time', it looks like the rate of growth in the number of bitcoins INCREASED around January 2010.
I thought that the rate of growth (enforced by a computer algorithm) would halve every 4 years and that it would never increase...
Am I missing something?


texts: Does Bitcoin protocol define how miners do the selection from their set of txns?

texts:
We know that miners select a set of txs from their local memory pool and put them into a block before they do PoW.

I wonder whether this selection process is defined by the protocol or do even "honest" miners can select them in the way they want, e.g. they select the subset that maximizes tx fee.


texts: New To Mining - How Much US$ Am I Making / Day?

texts: I am using a GTX 1050 ti SSC with fans at 100%. I got really lucky and this card might be the best overclockable one ever, I boosed performance by about 20%, when other people are happy to get 10%. Anyways, I am using MultiMiner and I am curious how much US$ I will make every 24 hours on average. The difficulty says 440.79B, price is Bitcoin, Profitability says 100%, Average is 386.21 MH/s, and Intensity is D. Thank you for help and is this good or bad?


texts: Does Satoshidice benefit the wider Bitcoin ecosystem?

texts: Aside from the entertainment benefit players get from the service, does it in any way help the Bitcoin ecosystem to have a large churn of small transactions?


texts:
I have been mining coins for a long time (started with BTC/LTC years ago, moved to altcoins recently) and have realized I am not clear on the actual source of the value.

Do the exchanges deem the value of these coins? With all of these new alt-coins, do they not actually have a BTC/USD value unless they are added to an exchange?

How do buy/sell orders affect the coin price? If someone bought X amount of , that would cause the value to increase correct? Wouldn't they then just be able to turn around and resell what they just bought plus any they already had for a higher value?


texts: It’s been a month now and my tx still is unconfirmed. I know it’s because of my low tx fee. I tried using Viabtc and paid them a fee of $117.00 and nothing happened. I’m still stuck waiting not knowing how to get my money. I really need help.


texts:
Say for an exchange that manages thousands of users, and each transaction needs a new receiving address, how much space would thier wallet(s) take.

I am assuming 100000 users and each user would have about 10000 transactions, so there are about 10^9 keys to be stored. For safety, we would say there are 10^10 keys max that may be stored.

All I need to know is the size of one key stored in the wallet.


texts: How can one simulate and analyze attacks on the Bitcoin network?

texts: Are there any other platforms or tools beside TestNet where I can simulate and analyze various attacks like double spending (finney/block withholding attacks etc.)?


texts: Bitcoin checkout on website - do i need to download the blockchain?

texts: Based on a previous setup, what I was thinking about doing is coding my web application to send JSON RPC calls to a bitcoin node to see if a transaction has been received. Previously I have done this by running the bitcoind on the web server, but my server isn't big enough for that now. Is it possible to just send the JSON RPC to any other bitcoin node? Is there some way of finding those nodes without just always using the same, hardcoded node?


texts: How do you determine if a transaction is unique?

texts: I originally thought one could determine whether a transaction is unique or not by its id. However, if you perform sendmany, then each of these transactions will share the same id, is that right? In this case, how would you go about determining if a transaction is unique?


texts:
b9d6d458f312b6ce2ef27bbb4a4a88f95e4a5db7aa04c9ab1f6225ecde47a77e

Can I move it ?

Thanks for your help


texts: Why was the chain with the largest work chosen as the metric of consensus?

texts:
There seems to be a myriad of ways to find consensus (PoW, PoS, PoD, PoE and various other methods and hybrid approaches).

What was the reasoning behind bitcoin being PoW and treating the chain with the largest amount of work as the correct chain? Is there something about PoW consensus that was inherently appealing to Satoshi or was it merely the default option?


texts: What are the biggest motivations for common people to adopt crypto currencies?

texts:
So far I've seen only two sets of people using crypto currencies:
1. Who does illegal things (like black money/drug trading etc)
2. Who sees them as shortcut to become rich

But what are the other motivations for common people to adopt? I earlier read that crypto currencies only have deflation and no inflation, but I don't think that is true because if a new crypto currency gets launched with better features, people may shift to the new currency and existing currency price may go down.


texts: Is it possible to see how much trust a certain wallet/user has extended in Ripple?

texts:
I can use the Ripple Live Network graph to see the balances of any given wallet on Ripple, but in order to know whether to trust someone (even a close friend), I might want to know how much trust they have extended to others.

If, for example, somebody has a current balance of 30 USD but they have extended trust worth 150 USD, I might not want to trust that person since at any moment they might have sent out IOUs for far more value than they actually possess.

So is it or will it be possible to see how much trust somebody has extended to others in their network? (Or have I misunderstood something here?)


texts: I have a GTX Ttan and plan on getting a GTX 1060. I want to only mine with the 1060. How would I do that. Im using sgminer v5.3.1


texts: which indicates the correct total received bitcoins, blockchan.info or bitcoind

texts:
I'm trying to see how much bitcoins I've received via bitcoind's one method, getreceivedbyaddress specifying a certain address, and after knowing the amount of bitcoins, I soon realized that such as block explorer services, blockchain.info or blockcypher indicates the different amount of bitcoins.
It's interesting that when I specified another address, both bitcoind and block explorer services indicated the same amount.

Since I'm developing a crypto exchange, I need to know a user's deposited amount of bitcoins in order to calculate how much a user has bitcoins rightly, even after letting other users withdraw their bitcoins.

So which is exactly right and reliable?


texts:
The writer describes it as a "solution to the blockchain consensus problem that does not require mining."

The white paper is viewable here:
http://tendermint.com/docs/tendermint_v04.pdf

I don't mean what are the pros and cons in relation to Bitcoin specifically, since I don't believe Bitcoin is likely to take it up. I am thinking more of the possibility of a popular altcoin like Dogecoin adopting it, or perhaps an smaller altcoin e.g. Reddcoin.


texts: CPU Miner return Internal Server Error for getblocktemplate request

texts:
I was developing an altcoin using bitcoin v 0.17. I am using CPU miner for mining purposes.
I started the miner using this command:

./minerd -a sha256d -o http://localhost:19230 -O adreno:adreno@123 --coinbase-addr=2NDMNtJB4wR2mEkDpFiqSr7yzuYAzT7dpDZ -D --protocol-dump

I got this response

[2018-10-30 22:18:47] JSON protocol request:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "workid"], "rules": ["segwit"]}], "id":0}

* Rebuilt URL to: http://localhost:19230/
[2018-10-30 22:18:47] Binding thread 1 to cpu 1
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 19230 (#0)
* Server auth using Basic with user 'adreno'
> POST / HTTP/1.1
Host: localhost:19230
Authorization: Basic YWRyZW5vOmFkcmVub0AxMjM=
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 147
User-Agent: cpuminer/2.5.0
X-Mining-Extensions: midstate

* The requested URL returned error: 500 Internal Server Error
* stopped the pause stream!
* Closing connection 0
[2018-10-30 22:18:47] HTTP request failed: The requested URL returned error: 500 Internal Server Error

When I directly hit the RPC server with a getblocktemplate request, I get this response

{"result":null,"error":{"code":-10,"message":"Adreno is downloading blocks..."},"id":"1"}


texts:
I originally downloaded Bitcoin wallet app on an old phone that had broken, the incentive for downloading the app was one free Bitcoin. Is there any system files that I can find referencing the Bitcoin information from the app if I'm able to get back inside so I can transfer it?
Phone: Samsung Galaxy s2
App: Bitcoin wallet


texts: Where is data folder for Bitcoin Core in Windows 7?

texts:
I cannot find any wallet.dat file on my c: drive. Any ideas where it can be put?
Everybody says the same and I'm doing it. Maybe I'm kind of idiot so I'm pasting screens with steps I have done:

1

2

The same with Litecoin Core


texts: Zero to Bitcoin in sixty seconds - how to set up a Bitcoin client in case you need it fast?

texts: Lets say I have a bitcoind instance running on a server with proper wallet.dat backups created regularly. The server crashes, blockchain data becomes corrupted or what have you, and I need to set up a server client fast to take over traffic. Moreover, I need the service to be interchangeable with the official client - that is it needs to provide the same RPC commands, conform to the wallet.dat specification so it can be interchanged between the clients and so forth. What is the fastest way one can do that in case of emergencies?


texts: Why does blockchain.info say BTC was traded for $35?

texts:
According to blockchain.info, BTC reached a peak rate of $35 in June 2011. According to the data available from bitcoincharts.com, the highest price BTC was traded in Mtgox that month (and until recently, the all-time high) is $31.9099.

What is the reason for this discrepancy? Does blockchain.info give the rate from an exchange other than Mtgox?


texts:
For example, I want to travel from Country A to Country B.
If i exchange money from Currency A to Currency B, i will have to pay conversion fees.

Is it possible to convert my money from Currency A to bitcoins, and then go to country B and convert bitcoins to Currency B?


texts: Wouldn't compromised crypto require entire block chain to be recomputed?

texts: If one of the cryptographic building blocks of Bitcoin were to be broken, couldn't that result in the entire block chain needing to be recomputed? And how would that work, given the computational expense involved?


texts:
/root/BCoin/node_modules/bcoin/lib/db/backends.js:16
    throw new Error('Database backend "' + name + '" not found.');
    ^

Error: Database backend "leveldown" not found.
    at Object.get (/root/BCoin/node_modules/bcoin/lib/db/backends.js:16:11)
    at Function.getTarget (/root/BCoin/node_modules/bcoin/lib/db/ldb.js:118:21)
    at LDB (/root/BCoin/node_modules/bcoin/lib/db/ldb.js:32:20)
    at new ChainDB (/root/BCoin/node_modules/bcoin/lib/blockchain/chaindb.js:58:13)
    at new Chain (/root/BCoin/node_modules/bcoin/lib/blockchain/chain.js:91:13)
    at Object.<anonymous> (/root/BCoin/p2p_pool.js:7:13)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
root@NoobEngine1:~/BCoin#


texts:
I am new to Bitcoins, and I'd like to get started mining, but I'm on OS X. I've tried several different mining applications, and none of them have worked for me. I've got nothing but errors. Is there a mining application that has quick and easy setup?

I have tried DiabloMiner, RPC Miner, and one other that I can't remember the name of. I will put it up here if I find it.


texts: MtGox withdrawal transaction not in blockchain

texts: I just withdrew some BTC from Mt Gox to address 1Mvk4YAtKZAP43wEhZ6ZQrTzLZwZzPxtTJ, transaction id 3dfa979af56ff061efbceed0dd7c9dc9fd8c774249544018f6bbf646323ff03b, but didn't receive the coins and the transaction isn't in the chain.  Should I be worried?


texts: What are the bandwidth requirements of a mining rig?

texts: How much bandwidth consumption can I expect per 900 Mhash/s rig (for instance) for both pooled and solo scenarios? I'm looking for a ballpark number for the on going requirements, after the initial blockchain download.


texts: Freelancer.com-like website but based only on BC payments using some sort of escrow-like system to make sure that employer has enough money?

texts:
Can a project similar to Freelancer.com or elance.com but based only on BC payments be created or the implementation of BC transfer between the employer and the freelancer would be too complicated?

I mean, i.e. freelancer.com is using escrow for transactions etc.

Is something silimar possible to develop but only for BC? If yes, is there some company that can do it like e.g. https://www.escrow.com/index.asp but with bitcoins?


texts: Why Bitcoinchain.info Ticker API is not stable?

texts:
I am trying to use Blockchain.info Ticker API (https://blockchain.info/ticker) to get current BTC price in USD.

The interesting thing is that script not every time returns the same value. When you visit this page directly, none of the values never changes (well just every 15mins) https://blockchain.info/ticker, but on the script it changes on every nth refresh of the page.

Something similar happens if you go to blockchain.info/ticker? with at least a question mark added. Just refresh it a lot and you will see.

Why this is happening and how to get a stable price every 15mins as their API should provide it?

The script I use:

$api = "https://blockchain.info/ticker";
$json = file_get_contents($api);
$data = json_decode($json, TRUE);
$rate = $data["USD"]["sell"];
echo $rate;


texts: What programming language should be used to develop Bitcoin exchange software? Why?

texts: I've only heard PHP is terrible (e.g. in the context of Mt. Gox) and a more efficient/more security-oriented language would be preferable for matching orders and account security. Which programming language, and due to what reasons, would be better?


texts: Decodescript for a Testnet pubkey hash address

texts:
This is the address information:

bitcoin-cli validateaddress n35oDVMPNkHRzBKy7q9RDB7r5e8qbVa9SW
{
  "isvalid": true,
  "address": "n35oDVMPNkHRzBKy7q9RDB7r5e8qbVa9SW",
  "scriptPubKey": "76a914ec90ca28c0ec302e991fb1c8171bf49c0d3d05be88ac",
  "isscript": false,
  "iswitness": false
}
bitcoin-cli decodescript 76a914ec90ca28c0ec302e991fb1c8171bf49c0d3d05be88ac
{
  "asm": "OP_DUP OP_HASH160 ec90ca28c0ec302e991fb1c8171bf49c0d3d05be OP_EQUALVERIFY OP_CHECKSIG",
  "reqSigs": 1,
  "type": "pubkeyhash",
  "addresses": [
    "n35oDVMPNkHRzBKy7q9RDB7r5e8qbVa9SW"
  ],
  "p2sh": "2NFyoZJJuWpvyiHFirFqsQnPXXna6mtf4Li",
  "segwit": {
    "asm": "0 ec90ca28c0ec302e991fb1c8171bf49c0d3d05be",
    "hex": "0014ec90ca28c0ec302e991fb1c8171bf49c0d3d05be",
    "reqSigs": 1,
    "type": "witness_v0_keyhash",
    "addresses": [
      "tb1qajgv52xqasczaxglk8ypwxl5nsxn6pd7307tfg"
    ],
    "p2sh-segwit": "2MwgL2byHmKdRvfGhufKpJkpAvtDLpo1REs"
  }
}

  Why are the 2 P2SH addresses also shown? Are they interchangeable?
  What do they have in common?

  What is a "witness_v0_keyhash" address?


texts: Where can I find some reputable resellers of Casascius.Physical Bitcoins?

texts:
Casacsius stopped selling physical bitcoins directly on April 1st 2013, and instead refers people to resellers.

Where can I find some reputable resellers?


texts: Why does gettransaction report me only the receiving address?

texts:
Both on "send" and "receive" transactions, the command gettransaction gives me the account name, and the receiving address, ignoring the send address. Why should I care about receiving address in a "receive" transaction? I want to know the send address, of course...

"receive" --> send address, receive account
"send" --> send account, receive address

Why doesn't it work this way, what am I missing, and how can I get the send address in a receive transaction?

edit: I'd like to stress out the question about why it behaves this way? as in this comment "I don't get it: if I enter the txid into blockchain.info it tells me the sender address, since it obviously is present in the blockchain... so it's just a choice of bitcoind not to tell me?"

edit: sending back anything to the from address is totally out of the scope of the question, so it is irrelevant if they might not wish receiving anything there.


texts:
I'm currently trying to detect blockchain forks and I noticed that even when dumping all blocks I get to a separate file I seem to miss a few.

Specifically I'm looking for the blocks marked as orphans in blockchain.info/orphaned-blocks in my dump and I'm missing quite a few.

Now I'm wondering whether nodes stop forwarding blocks that they believe to be orphans (because they currently have the concurring block as their blockchain head)? Shouldn't all concurring blocks be distributed?


texts:
I dont understand how a wallet comes into play?
Is a wallet a necessary part of a transaction or is it just a way of collating multiple addresses?

I get how I should use a new address for each transaction but don't understand whether they have to be attached to a wallet?

I am looking to generate thousands of addresses to accept payments for purchases in my online shop. Once an address has money in it, do I need to collate all the money together in a central account?


texts: Errors with `walletcreatefundedpsbt` & non-solvable UTXOs

texts:
I'm attempting to use walletcreatefundedpsbt with a watch-only wallet.

With 2.0 BTC in the watch-only wallet, I attempt to create a psbt sending 0.2 BTC without specifying inputs and receive an "Insufficient funds" error:

$ bitcoin-cli -regtest -rpcwallet=watchonly getbalance "*" 0 true
2.00000000

$ bitcoin-cli -regtest -rpcwallet=watchonly walletcreatefundedpsbt '[]' '[{"bcrt1qnv3tl3z9cll9faqf79ppfn3rrp7pn9wwmq04p5gqgqtxg55xfxuslkyk94": "0.20000000"}]' 0 '{"includeWatching": true, "changeAddress": "bcrt1qa4h6amsgyc878k094grqh6ktmgvp97dt6et9cy5hjmyxlgd9q63q3p6hch"}' true
error code: -4
error message:
Insufficient funds

When I specify inputs to the same RPC call, I get a (confusing) "Signing transaction failed" error:

$ bitcoin-cli -regtest -rpcwallet=watchonly walletcreatefundedpsbt '[{"txid": "1d76879500aecafde541770b5d44ccec5955b4c1a455fae446bf1df7b5ea43e9", "vout": 0}, {"txid": "e5a8dfa9459ac154fe62652e1d43049dae13f11815da36cc32881e27917a0dff", "vout": 1}]' '[{"bcrt1qnv3tl3z9cll9faqf79ppfn3rrp7pn9wwmq04p5gqgqtxg55xfxuslkyk94": "0.20000000"}]' 0 '{"includeWatching": true, "changeAddress": "bcrt1qa4h6amsgyc878k094grqh6ktmgvp97dt6et9cy5hjmyxlgd9q63q3p6hch"}' true
error code: -4
error message:
Signing transaction failed

These inputs are visible in listunspent, but they are not "solvable".

$ bitcoin-cli -regtest -rpcwallet=watchonly listunspent
[
  {
    "txid": "1d76879500aecafde541770b5d44ccec5955b4c1a455fae446bf1df7b5ea43e9",
    "vout": 0,
    "address": "bcrt1qupu3f9ekx2jpu9adgnrckkuh60d0x5zunmrxla34cwc5z79lajrs52gcpu",
    "label": "",
    "scriptPubKey": "0020e07914973632a41e17ad44c78b5b97d3daf3505c9ec66ff635c3b14178bfec87",
    "amount": 1.00000000,
    "confirmations": 205,
    "spendable": false,
    "solvable": false,
    "safe": true
  },
  {
    "txid": "e5a8dfa9459ac154fe62652e1d43049dae13f11815da36cc32881e27917a0dff",
    "vout": 1,
    "address": "bcrt1qz9xlsapracexvk7gwjd8ytf9c5ckyeg6v64lmuun8j9x6l2770cs42f7kl",
    "label": "",
    "scriptPubKey": "0020114df87423ee32665bc8749a722d25c53162651a66abfdf3933c8a6d7d5ef3f1",
    "amount": 1.00000000,
    "confirmations": 103,
    "spendable": false,
    "solvable": false,
    "safe": true
  }
]

These UTXOs correspond to exotic scripts that cannot be expressed in the descriptor language, and were imported with the importmulti RPC. During the import, the following warning was displayed:

$ bitcoin-cli -regtest -rpcwallet=watchonly importmulti '[{"scriptPubKey": "0020e07914973632a41e17ad44c78b5b97d3daf3505c9ec66ff635c3b14178bfec87", "witnessscript": "63522102a7451395735369f2ecdfc829c0f774e88ef1303dfe5b2f04dbaab30a535dfdd62102303cc8dc4e50bb574899b4715c0ddcd63268137b2d95011ff0e71db0968d819d2103d9dcfae4253ef1dd7b2401f82f79b1e739e76ad22ad30cd6a58a04076a033e5a53ae6702f401b1755221033defb46605b0bf90e99821150926daabc0a909ae4d7e09ddd9cc691735896709210245449f5d5cb7cd0d299fcbfd7a3bf2e46a5ae43bdc75289f5ab1e0c7654cc057210299f94c03fc71ae8ced4d3a4f739cc2f227687885b8d1a5184ad1de14faa6c71c53ae68", "internal": false, "keypool": false, "timestamp": "now", "watchonly": true}]'
[
  {
    "success": true,
    "warnings": [
      "All private keys are provided, outputs will be considered spendable. If this is intentional, do not specify the watchonly flag.",
      "Importing as non-solvable: unrecognized script. If this is intentional, don't provide any keys, pubkeys, witnessscript, or redeemscript."
    ]
  }
]

Are both of these errors caused by the same problem -- the absence of "solvable" utxos?


texts: How to implement Lightning Network in to a cryptocurrency exchange

texts:
A highly potent use-case for the lightning network are the millions of transactions that occur on a daily basis. There's still a good chance of data breach and hacks due to centralization. The possibility of centralized exchanges scamming people, and many more...

This question aims at a detailed step-wise implementation of the Lightning Network in a Binance like cryptocurrency exchange.


texts: What are the limitations for amortizing the interactive session setup of MuSig?

texts:
I'm trying to find a way to amortize the interactive session setup in the MuSig signature aggregation scheme.  My motivation is to use signature aggregation between devices communicating using low bandwidth (radio) channels without having to do the session setup multiple times. Ideally pre-shared public nonces could be reused for different signer sets, public keys and messages.

I've summarized below how I understand it works now, mostly from looking at the code example here:

each peer creates a per session secret key from the hash of the set of signers public keys and the secret key for the peer's public key (independent of the nonce)
each peer creates a secret nonce from the signers public keys and other hashed information, including a random number
each peer creates a public nonce, generated like a public key from the secret nonce.
all peers send to all other peers a 32-byte nonce commitment
all peers send to all other peers their 32-byte public nonce and verify the others against their previously shared nonce commitments

  the key point seems to be that the public nonce should NOT be freely chosen by anyone after learning the public nonces of the other signers

each peer can now sign using their session secret key and secret nonce
other peers can verify the final (or partial) multi-signature using the other signers chosen public keys and their corresponding public nonces.
What I wonder is if the public nonce can be committed to once in advance by all peers, and then reused for different combinations of (public key, other peers public keys, messages).

It seems like peers could cache each others public nonces and reuse them for different signing sessions with different public keys and other signers as long as all signers were compelled to use the same public nonce every time they signed.

Any pointers on the restrictions for reusing these MuSig public nonces would be appreciated.


texts: What if somebody invested $100 billion in bitcoin now? What are the thing that will get effected?

texts: I know this is just a hypothetical situation but just out of curiosity I wanted to what are the thing that will change after this investment like the price, difficulty etc.


texts: Can my internet provider see I'm using bitcoin core (Russia)

texts:
I live in Russia and bitcoin is prohibited here. Can my internet provider see I'm using bitcoin so I will have problems?

UPD: Right now I'm still syncing bitcoin core. Is syncing as dangerous as participating in transactions?


texts: Is there any study or research of how to make BTC transfers refundable?

texts: is there any study or recent research of making the bitcoins transfer refundable? As if your account is hacked and the bitcoins are transferred there is no way I can return it back.


texts:
Can I migrate from a trezor to a ledger nano s just by using my BIP 39 word list?

It is ok to use a duplicate hardware wallet? I assume it is, but would like to hear your opinion.


texts: Are exchanges tolerant of reduced transaction capacity?

texts:
In case a UASF is deployed and activated by exchanges there could be a stand-off situation in which miners mine on a different chain than exchanges. This would look like a sudden and long-lasting reduction of transaction capacity to exchanges. The situation appears to be very similar to a hard-fork in this regard.

If 75% of miners reject the UASF the UASF-nodes would perceive a reduction of transaction capacity by 4x (to 25%) for 8 weeks until the difficulty adjusts (2 weeks times 4).

Are exchanges capable and willing to go though that phase? It seems the damage would be considerable (like it would be in a similar hard-fork situation).

Exchanges and users would suffer from higher fees and from not being able to transact with the majority portion of the ecosystem.

This question seems relevant to assess the viability of a UASF.


texts: Do I have to pay taxes on a Bitcoin investment when I'm withdrawing it to my US bank account before I actually received the money?

texts: I am new to Bitcoin investment trading, I recently invested $500 in 401trade.com and got $19,000 setting in their account, I went to withdraw $18,000 and they said I had to pay $200 in taxes and gave a different bitcoin address to send it to. I had previously asked them if there was anymore fees or charges before withdraw the money and they said no. I figured they could take it out of the amount being received or I could pay it when I got the money. I've never done this before and worried I'm being scammed.


texts: Manipulation of Bitcoin RPC with programmatically

texts:
I'd like to use Bitcoin source code(only RPC part) to manipulate with programmatically.

I have bitcoind and bitcoin-cli installed in my local computer but I don't know how to write code for my purpose.

What I want to get senario is Writing the code that works like bitcoin-cli getblock <hash>

Actually, I got same result by calling shell script code like below.

#include <iostream>
#include <stdlib.h>

int main() {
    system("bitcoin-cli getblock 000000000000000082ccf8f1557c5d40b21edabb18d2d691cfbf87118bac7254"); // Get 300000th block
    while(1);
}

However, I want to write c++ code using pure Bitcoin source code.

To achieve the my goal,

I should know how to call getblock() function.
I should know how to compile it.

getblock function is defined here : https://github.com/bitcoin/bitcoin/blob/ae6943620ab369e8e0865c3ec2d2848ba9389325/src/rpc/blockchain.cpp#L828

If you have experience on my question, can you give some guide?

Sorry for my English.


texts: Do all block explorers show all unconfirmed transactions?

texts: If I want to show someone that I just made a transaction without showing them my wallet, could I expect that it would be recorded on a block explorer immediately?


texts: Lost mining shares when restarted GUIMiner

texts: I am new to BTC mining, even totally new to bitcoins. I closed and restarted my GUIMiner and all my bitcoin shares were gone. What am I doing wrong? Is there a way to persist these shares across GUIMiner restarts?


texts: Bitcoin difficulty: One block with very high difficulty vs. long chain with accumulated difficulty

texts:
First assume the hypothetical scenario, that someone has infinite hashing power, starts with the genesis block and mines one block, that has higher difficulty than the whole "normal" blockchain accumulated. Let's call this one-block blockchain (B) and the regular one (A). Would this be the new "real" blockchain with only 50 BTC in circulation? To extend the question, secondly assume our attacker splits their hash power to mine a whole blockchain with similar length to the current one but higher accumulated difficulty, how would we know if it's the real blockchain? All non-fake transactions are in Blockchain (A).
There is no concept of time in the blockchain, but everyone on the planet would know that (A) is the real blockchain because it had been used for so long. Is there some mechanism to prevent this, some kind of sanity check?


texts: cannot get bitcoind working on ubuntu 12.04

texts:
i was previously using ubuntu 10.04 and i tried to install bitcoind. this failed and i upgraded to ubuntu 12.04. when i run bitcoind it still doesn't work:

$ bitcoind
************************
EXCEPTION: 11DbException
Db::open: Invalid argument
bitcoin in AppInit()

terminate called after throwing an instance of 'DbException'
  what():  Db::open: Invalid argument
Aborted (core dumped)

also trying to install again does not work:

$ sudo apt-get install bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  bitcoind
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 981 kB of archives.
After this operation, 2,873 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/ precise/main bitcoind amd64 0.8.5-precise1 [981 kB]
Fetched 981 kB in 7s (130 kB/s)
(Reading database ... 222704 files and directories currently installed.)
Unpacking bitcoind (from .../bitcoind_0.8.5-precise1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/bitcoind_0.8.5-precise1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/bitcoind', which is also in package bitcoin 0.3.24-ppa2~lucid
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/bitcoind_0.8.5-precise1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

how can i get bitcoind working? i don't mind uninstalling and reinstalling if that is what it takes...

update 1

i just tried removing the package and installing again, but still no luck:

$ sudo apt-get remove --purge bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bitcoind is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

$ sudo apt-get install bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  bitcoind
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 981 kB of archives.
After this operation, 2,873 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/ precise/main bitcoind amd64 0.8.5-precise1 [981 kB]
Fetched 981 kB in 7s (136 kB/s)
(Reading database ... 222704 files and directories currently installed.)
Unpacking bitcoind (from .../bitcoind_0.8.5-precise1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/bitcoind_0.8.5-precise1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/bitcoind', which is also in package bitcoin 0.3.24-ppa2~lucid
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/bitcoind_0.8.5-precise1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


texts: How many addresses can an Electrum Seed generate?

texts: If I generate too many, they go red for some reason. So what is the maximum amount of addresses that a seed can make?


texts: bitcoin-qt stops subsequent RPC calls, then won't shut down

texts:
I am running latest bitcoin client,  0.9.2.1 - running on 64bit ubuntu..

I can start up the bitcoin client, via bitcoin-qt -server or bitcoind -daemon (both have the same behaviors)....
... once the client is running, my Railo app is making the RPC JSON calls.. The first couple work perfectly, but from that point on, the http calls will simply time out.

then I restart the client, well, try to.. upon restarting it, it tells me "cannot obtain a lock on data directory..  bitcoin core is probably already running".

so at this point, it's impossible to gracefully stop the client (I have tried waiting overnight for it to stop, and no go).   If i restart the computer, start the bitcoin client again, I will be able to process a couple commands and then it'll start timing out again.

2014-09-08 17:20:22 AddLocal(73.my.ip.addy:8333,4)
2014-09-08 17:20:22 ext-ip thread exit
2014-09-08 17:20:23 146 addresses found from DNS seeds
2014-09-08 17:20:23 dnsseed thread exit
2014-09-08 17:20:27 receive version message: /Satoshi:0.9.2.1/: version 70002, blocks=319733, us=73.my.ip.addy:50804, them=74.someone.else.240:8333, peer=74.someone.else.240:8333
2014-09-08 17:20:27 Added time data, samples 2, offset -1 (+0 minutes)
2014-09-08 17:20:27 receive version message: /Satoshi:0.9.1/: version 70002, blocks=319733, us=73.my.ip.addy:49165, them=74.someone.else.180:8333, peer=74.someone.else.180:8333
2014-09-08 17:20:27 Added time data, samples 3, offset -1 (+0 minutes)
2014-09-08 17:20:39 receive version message: /Satoshi:0.9.2.1/: version 70002, blocks=319733, us=73.my.ip.addy:54101, them=37.someone.else.27:8333, peer=37.someone.else.27:8333
2014-09-08 17:20:39 Added time data, samples 4, offset -1 (+0 minutes)
2014-09-08 17:20:43 UpdateTip: new best=0000000000000000092cd65c42a96763e0028edd607555  height=319734  log2_work=80.577054  tx=46257023  date=2014-09-08 17:20:32 progress=1.000000
2014-09-08 17:20:43 ProcessBlock: ACCEPTED
2014-09-08 17:20:45 receive version message: /Satoshi:0.9.1/: version 70002, blocks=319734, us=73.my.ip.addy:50345, them=61.someone.else.11:8333, peer=61.someone.else.11:8333
2014-09-08 17:20:45 Added time data, samples 5, offset +0 (+0 minutes)
2014-09-08 17:20:45 nTimeOffset = -1  (+0 minutes)
2014-09-08 17:21:08 receive version message: /mining.bitcoinaffiliatenetwork.com:0.9.2.1/: version 70002, blocks=319734, us=73.my.ip.addy:52554, them=74.soemone.else.12:8333, peer=74.soemone.else.12:8333
2014-09-08 17:21:08 Added time data, samples 6, offset -1 (+0 minutes)
2014-09-08 17:21:08 connect() to 173.soemone.else.82:8333 failed after select(): Connection refused (111)
2014-09-08 17:21:20 receive version message: /Satoshi:0.9.1/: version 70002, blocks=319734, us=73.my.ip.addy:35721, them=46.someone.else.134:8333, peer=46.someone.else.134:8333
2014-09-08 17:21:20 Added time data, samples 7, offset +0 (+0 minutes)
2014-09-08 17:21:20 nTimeOffset = -1  (+0 minutes)

at this point, i do my rpc calls again, and it starts to time out..  so I figure i'll restart the bitcoin client..

username@computer:~$ bitcoind -stop
: Cannot obtain a lock on data directory /home/username/.bitcoin. Bitcoin Core is probably already running.

after I type the above, the log file then shows:
2014-09-08 17:30:17 : Cannot obtain a lock on data directory /home/mrtom/.bitcoin. Bitcoin Core is probably already running.

2014-09-08 17:30:17 Shutdown : In progress...
2014-09-08 17:30:17 StopNode()
2014-09-08 17:30:17 Shutdown : done

Even after reading through the whole log, there are no strong error messages..

Maybe i'm hitting a connection limit or something really fast?


texts: How to re-secure a multisignature wallet if private key is stolen

texts:
Here are two attack scenarios on bitcoin private keys:

1) Assume  that,  BitCorp has just noticed that a Mallory  has just compromised one of their servers holding their Bitcoin Private keys. Luckily, they are using a 2-out-3 multi-signature wallet, so Mallory has learnt only one of the 3 sets of keys. The other two sets are on different servers that Mallory cannot access. How do that re-secure their wallet and effectively revoke the information that Mallory has learned?

2) If BitCorp uses 2-out-,2 instead of 2-out-3 wallet, what steps can they take 'in advance' so that they can recover, even in the event of one of their servers getting broken into(and Mallory not just learning but also potentially 'deleting' the key material on that server)?


texts: How an LN node can be sure about existence / liveness of an individual path of channels?

texts:
Assuming nodes A and B do not have a direct channel between themselves and previously they could find an indirect path of channels and finalize their payment successfully.

After a while, they decide to make another payment, and to avoid waiting for another routing, they prefer to use the same previous path. However, since the network state after each transaction is changed (even without opining new channels or closing previous channels and even all nodes remain alive, yet the direction of the balances in individual channels has been changed).

A and B therefore need to be sure about the situation of previous path they had used in their previous payment.

Is there a reliable approach for that?


texts:
I should receive a bigger amount of bitcoins to my wallet. Now I got the message: missing turnover 2,1 BTC. I got explained, the amount was to big so I have to put in 2,1 BTC in my wallet so that it will be fully verified so that I can receive the amount which was send ( and stuck on the way).
Is this fraud or does this really exist in blockchain?


texts: How does CryptoNote provide anonymity for a new coin when the user base is still small and additional signatures are scarce?

texts: So far as I know the anonymity feature in CryptoNote is achieved through the ring signatures technology. But what if the coin is new and the number of users is small? Does it mean that unless a new CryptoNote-based coin amasses a significant amount of users the anonymity feature won’t be accessible?


texts:
I'm trying to redeem a 2of2 p2sh unspent output. I have the complete multisig redeem script, a single input and a single p2pkh output.

My understanding is that I should replace the ScriptPubKey of that single input with the unhashed redeemscript, serialize the Tx with SigHashAll at the end, and sign it with each of the required public keys.

This should yield an input with a signed ScriptPub of OP_0 [Sig][Sig][RedeemScript]. However, this fails to yield a valid signature. I'm using compressed keys in the redeemscript.

Each Sig is of the form OP_PUSHDATA/Size+1[DER encode Signature]

Is there something else particular about the way the transaction needs to be serialized and signed? Should I only be using uncompressed keys?


texts: Is there any tool to extract the bitcoin transaction network from the blockchain?

texts:
I'm looking for a way to extract some data from the latest downloaded bitcoin blockchain. In particular I'm interested in extracting the whole transaction network, so input and output public keys used in each transaction, the transaction date, hash, block hash and BTC amount.  I tried several solutions so far with no luck:

Bitcoin-Transaction-Network-Extraction

rusty-blockparser

bitcointools

BitcoinDatabaseGenerator

BCGraph

I've had some luck with bitcoindatabasegenerator and rusty-blockparser, but while these tools succesfully extract the output PKs, input PKs are nowhere to be found in the resulting files.

Summarizing, I'm looking for something like this to produce a network visualization of bitcoin transactions:

|Source PK(s) (BTC)| ------> Transaction ------> |Target PK(s) (BTC)|

Im not really an expert in coding so this makes everything more complicated for me. Can you suggest me a way to extract this data from downloaded Blk files?

Any help would be greatly appreciated!


texts:
If I wanted to build a vending machine where one could buy a cola paying with bitcoin, is the following scenario the typical way to do it?

Customer approaches the machine, and selects the product (whatever the method - button by the product image, or typing a corresponding numeric ID on a keypad)
Machine generates bitcoin address for this transaction and displays on a screen the address' QR code and alphanumeric representation, and the amount to be paid in bitcoins.
Customer uses their smartphone (or whatever device with bitcoin client) to scan the code, enters the amount and submits the transaction.
Vending machine waits for the expected amount to arrive in the account and

delivers the product if the amount is what was expected
sends the money back if the amount is not what was expected
timeouts if nothing arrives within 2 minutes
sends the money back if there were technical issues in delivering the product

To avoid necessity to store the private keys for every successful transaction, the vending machine sends the just collected amount to aggregation address and forgets the temporary address.


texts: Is it possible to extract legacy address from segwit address?

texts:
After 24 aug 2017 starting from block #481824 blockchain DB consist transactions with the segwit-addresses.

For example (have a look to the address, specified in the output):
https://btc.com/461e8a4aa0a0e75c06602c505bd7aa06e7116ba5cd98fd6e046e8cbeb00379d6

address
bc1qeklep85ntjz4605drds6aww9u0qr46qzrv5xswd35uhjuj8ahfcqgf6hak
or (how I understand it is the same address, but in another format)
cdbf909e935c855d3e8d1b61aeb9c5e3c03ae8021b286839b1a72f2e48fdba70

I have to notice that only btc.com parsed this output (for example, blocktrail.com or blockexplorer.com couldn't parse this).

In the same time json-rpc of bitcoin-core client couldn't parse this address too.

[vout] => Array
(
[0] => Array
(
[value] => 0.005
[n] => 0
[scriptPubKey] => Array
(
[asm] => 0 cdbf909e935c855d3e8d1b61aeb9c5e3c03ae8021b286839b1a72f2e48fdba70
[hex] => 0020cdbf909e935c855d3e8d1b61aeb9c5e3c03ae8021b286839b1a72f2e48fdba70
[type] => witness_v0_scripthash
)
)
)

How we see - no section "addresses" in the section "scriptPubKey" (in case of "legacy" addresses json-rpc returns information about the addresses).

So what I want to ask:

1) What is the difference between
bc1qeklep85ntjz4605drds6aww9u0qr46qzrv5xswd35uhjuj8ahfcqgf6hak
and
cdbf909e935c855d3e8d1b61aeb9c5e3c03ae8021b286839b1a72f2e48fdba70
? Is it different formats of 1 address?

2) How could I know hash of legace-address of the followed transaction? Is it possible? May be I have to parse scriptBubKey hash for this?

3) Why bitcoin-core json-rpc doesn't provide this info? I use last version of bitcoin-core client.

Thanks a lot for the any information.


texts: How to overcome the 21M limit of Bitcoins as adoption increases?

texts: Are there any ways to increase the Bitcoin maximum coin limit, as a wider adoption would mean there would be a lot of real money chasing fewer number of coins? Also can one hold a fraction of a coin?


texts:
Is it possible to have a kind of "multiparty" transaction in bitcoin. For example, a protocol where say Alice and Bob send you bitcoins at the same time, but if Bob tries to break the protocol and not send bitcoins Alice will not end up sending bitcoins either.

Something the ensures that both send or both don't send.


texts: How to derive BTC m44 addresses from xpub?

texts:
I checked Swan's Address Derivation Library https://github.com/swan-bitcoin/xpub-tool.
I try to get m44 address, but I got m84. Why? Do you know is it any parameter to force return m44? I tried to pass path: "m/44'/0'/0'/0", but it did not help.
Do you have any idea?
addressFromXPub("xpub6C5oXscLYZwgq2DB42TFC32QcoPa1MeCWUNPZSjydunniCM77TRcBfFnjScJeToVXS5RBDr53Ls5RXvDHujmFSL4Fqc9kkpsMjU1vg68xv7"
  );

export const addressFromXPub = (key) => {
  console.log(
    addressesFromExtPubKey({
      extPubKey: key,
      network: "mainnet",
      addressCount: 3,
    })
  );
};

[
    {path: "m/84'/0'/0'/0/0", address: "bc1qfgnqm6g46ys0h9gh606m76wemka2rrttrac90x"
    },
    {path: "m/84'/0'/0'/0/1", address: "bc1qnvzdj2m4wsrcrtl30j5c304qa77v4h2s8ajp0r"
    },
    {path: "m/84'/0'/0'/0/2", address: "bc1qjf5u77e6clwkxgf7a0shw7zq2nhqr4vjys7an0"
    }
]


texts: How to get hex string from transaction in bitcoinj

texts:
I want to use this tool: http://blockchain.info/pushtx to push transaction. I don't understand the input data. It says it is hex string representation. I've read information about that in the raw transaction of the RPC API, but I am working with bitcoinj, it there a way to get this hex string ?

Thank you

EDIT: I want to do that to compose and broadcast a transaction

For now I did this:

final StringBuilder sb = new StringBuilder();
Formatter formatter = new Formatter(sb);
try {
    ByteArrayOutputStream os = new ByteArrayOutputStream();
    transaction.bitcoinSerialize(os);
    byte[] bytes = os.toByteArray();
    for (byte b : bytes) {
        formatter.format("%02x", b);
    }

    return sb.toString();
}catch (IOException e) {
    return "Couldn't serialize to hex string.";
} finally {
    formatter.close();
}


texts: What is the difference between X11 and X11 Ghost (Gost)

texts: I'm looking at SIBCOIN. Its algo is X11 Gost. I've been trying to see what differentiates that algo from "plain, vanilla" X11.


texts: I try use --net 'dogecoin',but display errors:invalid choice: 'dogecoin',How should I do to make p2pool join dogecoin Network


texts: Who proposed the XBT ticker for Bitcoin and why is it used over the more logical XBC ticker?

texts:
Some standard requires tickers for currencies to start with an X. So, the usual abbreviation of Bitcoin, BTC, cannot be used in contexts where this standard is applied.

Usually, the unofficial ticker/abbreviation XBT is used in those contexts. Why? Bitcoin consists of two words, bit and coin, it's logical to abbreviate that to BC. For this reason XBC sounds like a much more logical ticker than XBT.

What is the first reference of XBT and is a consideration made before using it that favoured it above XBC?


texts: Why Would Someone Not Use a new Change Address

texts:
I have previously asked questions and read about the importance of always using a new address every-time you receive a transaction, even for change. Sometimes when I watch the block explorer I see transactions where the send address and change address are the same, like this one:

Tx: 7c99440257f45b2b87f655744a8ec4f87c73f54ca5a9873e083eae5214d51aa2
It is also my understanding that most wallet software automatically generates a new address for change. This leads me to believe that the transactions where the change address is the same might be people using more advanced wallet software that gives them more control over these features. Are there known reasons or types of users who intentionally choose not to follow the advice to use new change addresses?


texts: What are the qualities of a country that might make it more or less likely to freely allow Bitcoins or crypto-currencies?

texts:
As some examples which seem logical to me, but should only be taken as examples:

A government that is susceptible to commercial lobbying is probably more likely to be pressured by banks to disallow competition with their services.

Governments that have a corruption problem might also be quietly bribed to legislate against a currency that competes with the official one.

Countries that support open source software might tend to have a "for the good of the community attitude" that matches the philosophy of Bitcoins.

For this question, it's probably important to provide references/examples (such as information about who is trying to stop use of bitcoins and why).

I see the need to ask this question to help provide a foundation for this one: Is there a list of countries that are not likely to persecute bitcoin businesses?