texts: How can the output of an unconfirmed transaction be spent?

texts:
This transaction has been stuck for a few days:

af660c5eafe582f22254c9778d18a628d1d2fdea812e983713379458b7c2c9df

https://blockchain.info/tx/af660c5eafe582f22254c9778d18a628d1d2fdea812e983713379458b7c2c9df

How is it possible that one of the outputs is spent if the transaction is unconfirmed?


texts: Can I "duplicate" a wallet using a backup phrase (12 words)?

texts:
My understanding is that a wallet isn't a wallet at all*, it doesn't hold my coins, but its a key store; my coins are of course "stored" as records of the events on the blockchain.
Imagine I have bitcoins with Cloud Wallet Company (A), but I then setup Wallet Company (B)'s app. And let's assume they both use the same crypto algos to compute the seed from the 12-word recovery key, as per this answer.
Is the "recovery phrase" generated by a wallet app platform independent?
If I login to (B) and choose to import/recover my wallet and punch in the 12 words I got from (A), would I effectively now have two wallets? i.e. both (A) and (B) are setup with the same wallet.
Where is my balance stored? After entering my 12-words into (B) would their servers have to "run a query" on the blockchain to aggregate all the transactions and arrive at my balance??
And if I send from (A) to a friend's wallet (Z), would my reduced balance also show on (B)? Or would (B) cache my balance to avoid expensive query/compute from the blockchain, and so it would become out of sync?
Thanks!!
*Maybe I'm wrong but I think the wallet analogy only confuses noobs, since it sets up a mental model that's the opposite of the whole point of a blockchain.


texts:
I'm not an expert with BTC or other cryptocurrencies but It was a pleasant way to do some micro transactions and to deal with some vendors.

My question is, why the hell an average Fee is around 20% of the transaction? THIS IS HUGE.

Is anyone still using BTC? Maybe I'm doing something wrong here but after some checks on https://bitcoinfees.21.co/ and blockchain it seems that those are the real fees and people just keep paying them. Why?

Screenshot: http://take.ms/muElO


texts: Wallet management now that accounts are deprecated?

texts:
I'm building a website which will allow every user to make deposits and transact with Bitcoin, how will I be able to get the balance of a specific wallet. I currently know these commands:

$bitcoin->createwallet("wallet_name");

But to get the wallet info of that specific wallet is confusing for me, according to the documentation the getwalletinfo RPC takes no parameters. So my question is how do you get wallet information of a specific wallet?


texts:
Since a while, I have been using the insight-api to view bitcoin transactions. However, recently I have found out that bech32 addresses are not supported.

Now I try to fix this issue and I am open for any suggestions.

It there some other suitable api that also supports bech32-addresses? Or, also appreciated, is there some workaround available for the insight-api


texts: I made a transaction since 10days ago to my Brother, But still not delivered to the receiver. It still remain "unspent" help me out on how to retrieve it.


texts: Generate Bitcoin addresses using a Master Key from Armory wallet

texts:
Is it possible to generate Bitcoin addresses using a Master Key from a Armory wallet with PHP?

I don't want to use Electrum Master Key as Armory has a lot more features that come in handy often.


texts: Is there something in a debug.log from 2011 that would tell me if there are BTC in an old wallet.dat?

texts:
I took an old laptop out of storage today because I recalled trying to mine BTC years ago. I remember giving up quickly because, whatever the UI was, it showed that I had mined 0. I'd like to confirm that.
Is there anything in any of these files that would confirm that there's 0 BTC in these? debug.log seems to be the only plaintext file.
Date modified on these files are in the range of 05/2011 ~ 06/2011
/user/AppData/Roaming/Bitcoin
-database/    (9MB)
-.lock        (0KB)
-__db.001
-__db.002
-__db.003
-__db.004
-__db.005
-__db.006
-addr.dat    (18MB)
-blk0001.dat (279MB)
-blkindex.dat(133MB)
-db.log      (0KB)
-debug.log   (3MB)
-wallet.dat  (104KB)


texts: Can Submarine Swaps be incorporated into a Taproot/Scriptless script?

texts:
I was looking for ideas on how to use Submarine Swaps with Taproot/Scriptless Scripts. But I couldn't find anything.

I can imagine that it would trivially be possible to incorporate a Submarine Swaps contract in a script-path spending branch of Taproot, and have a mutual 2-of-2 MuSig key-path spending that allows spending when the Lightning invoice was paid, but this doesn't mandate it and would require the payer of the invoice to use the script-path spending of the receiver doesn't cooperate.

Is it possible to use e.g. adaptor signatures in the key-path spending of Taproot when the Lightning invoice was paid? Or is there another construction that would allow the payer of the Lightning invoice to solely spend via the key-path after receiving the preimage from the invoice?


texts: After last bitcoin is mined, can miner(s) with nefarious reasons kill bitcoin by holding fees thereby deflating Bitcoin eventually to zero?

texts: Just hypothetically speaking, once there is no more rewards and we transition entirely into transaction fee regime, if a miner (or group of miners) with unlimited supply of electricity, computing resources and sole intention to kill bitcoin decides to mine and hold up all the fees they collect and never again releasing those fees back into circulation (they have other means to pay their expenses and their primary goal is to kill bitcoin), wouldn't eventually they end up with all the bitcoin ?


texts: Is Bitcoin's mining difficulty adjusted if it fails to solve a block

texts: If the current Bitcoin miners lose 99.99% of their hash rate, mining the next block would take a lot more than the average set of 6 per hour (10 minutes). Is the mining difficulty somehow readjusted in order to face this potential problem?


texts: Is there a maximum size of a scriptSig/scriptPubKey?

texts:
Previous research:

Transaction's maximum size
What is the maximum size of a transaction?
The maximum size of a standard transaction is 100k bytes.

Are there any consensus rules that prohibit scripts from being too large? I know each individual element of a script has to be less than 520 bytes, as shown here, but a script could still have many many individual elements and create an extremely large block.

For example, a malicious miner wants to make the blockchain as big as possible and creates a coinbase transaction with a particular output that has the OP_RETURN opcode followed by enough data to make their block just less than the 1 MB limit. Will the malicious miner's block, in which 99% of the block data is encoded into a dummy OP_RETURN output, be accepted or rejected?


texts: Is there a list of bitcoin block explorers?

texts: Right now I mainly use blockchain.info as my main explorer, but is there a list of other bitcoin blockchain explorers as of today (2017 March)?


texts: setting up and verify a wallet under special circumstances

texts:
A friend of mine has a problem in verifying a wallet for the following reason.

Since about 40 years he has been denied a passport and a normal ID card by the german authorities after he handed in his old IDs after marriage. But it seems there is no chance to set up an BTC wallet that permits usual activities (buying resp. selling and transferring BTC.

Q: Is there any institution in the EU (using german or english language) that permits wallet on/with alternative identification and is at the same time trustworthy and has high level of integrity?

My friend would intend to buy 3 BTC and following per year one additional BTC for an indefinite period.

I would appreciate someone's help in this matter. Thank you.


texts: How can I limit bandwidth usage in Bitcoin-qt client?

texts:
I've just finished the intial blockchain download/verify in my BitcoinQt client (17 hours..) and I now see that BitcoinQt is happily eating all of my upstream bandwidth. (About 110kByte/sec on my ADSL line.)

I'm going to be applying bandwidth limits to the app using Waterroof, which should probably work --

But shouldn't there be a built-in method for BitcoinQt to be more polite about its bandwidth consumption?


texts: Error: Package: initscripts-9.03.61-1.el6.centos.x86_64 (@CentOS 6/6.10)

texts:
I need help with this, I've tried changing the CentOS_Base.repo to different things nothing is fixing it please someone help me with this.
https://gyazo.com/08f239e65e43837796f2708f4578e180


texts: Transaction fee required by bitcoin-cli keeps increasing as I increase the fee

texts:
I am using bitcoin-0.13.0 and trying to send 0.035 btc to someone.

./bitcoin-cli [auth] sendtoaddress XXX 0.035

Error: This transaction requires a transaction fee of at least 0.00150835 because of its amount, complexity, or use of recently received funds!

Then I try to set the fee:

./bitcoin-cli [auth] settxfee 0.00150835

=> true

... and try to send again:

./bitcoin-cli [auth] sendtoaddress XXX 0.035

Error: This transaction requires a transaction fee of at least 0.00187149 because of its amount, complexity, or use of recently received funds!

.. and this keeps going on and on and on with various random values being output as required transaction fees regardless how many times I set the tx fee.

There have been no transactions in my wallet for some 4+ days.

I thought the transaction fees were optional? now this is becoming more and more like my bank charging a fee on each wire?

What am I doing wrong?


texts: Are there any linux distros that have the bitcoin client pre-included?

texts: Ideally would be able to make a bootable usb with a lightweight linux os which already included the bitcoin client.


texts: Why GPU (cgminer) scrypt mining generates so many false-positive nonces?

texts:
I understand that GPU might have less accurate results of real numbers because speed/performance is the target. But I don't understand why it also occurred in integer numbers.

Taking mining algorithm, scrypt hashing, for example, there are almost integer operations in SHA-256 or PBKDF, such as unsigned integer rotate, shift, add, xor, and bit-select operators. However, it does generate so many false-positive nonces. Everyone can invoke cgminer with arguments -T -D --verbose to see the detail logs. However, cgminer will verify the result via CPU routine again before sending it to mining pool because too many invalid share cgminer will be banned from the pool. Not everyone knows their GPU generates so many false-positive shares because the default log message does not show this.

So, I don't understand that. Is the problem in GPU or in the scrypt OpenCL code?


texts: Why does bitcoin limit the difficulty adjustment to a factor of four?

texts:
from here: https://github.com/bitcoin/bitcoin/blob/master/src/pow.cpp
 // Limit adjustment step
 int64_t nActualTimespan = pindexLast->GetBlockTime() - nFirstBlockTime;
 if (nActualTimespan < params.nPowTargetTimespan/4)
     nActualTimespan = params.nPowTargetTimespan/4;
 if (nActualTimespan > params.nPowTargetTimespan*4)
     nActualTimespan = params.nPowTargetTimespan*4;

I know that the code used to control the network difficulty adjustment limits it to at least one quarter of the target and at most four times the target. But why was the factor 4 chosen? Why not 2, or 3, or 5?


texts:
When trying to redeem a btcc chip I noticed a bad encoded mini private key. One of the character is "l". Anyway has seen this before? I guess these keys are also base58 normally?
Thanks


texts: Question about Python library coincurve/libsecp256k

texts:
I am a noob with cryptography, just trying to learn using python and the library Coincurve ( https://github.com/ofek/coincurve ) which is a mature Python binding for libsecp256k1.

The following code creates a private key and produces a signature of the string "Hello world!".

pk = coincurve.PrivateKey()
message = b"this is a test!"
s = pk.sign_recoverable(message)

The signature s is a sequence 65 bytes.

The signature is recoverable: i can extract the public key of pk from s.

pub = pk.public_key
pub2 = coincurve.PublicKey.from_signature_and_message(s,message)
assert(pub == pub2)

So far all good! However I can't understand how to use the verify method. The following code

valid = coincurve.verify_signature(s,message,pub)

gives the following error:

ValueError: The DER-encoded signature could not be parsed.

So the problem is that the method verify_signature expects a signature in DER format. This is normally produced using the sign method, as opposed to the sign_recoverable method:

t = pk.sign(message)
valid = coincurve.verify_signature(t,message,pub.format())

which works fine.

So my question is:

QUESTION: How do I move back and forth from the "DER" format to the "recoverable" format in the Python library coincurve?

THANKS!


texts: What is the best way to purchase Bitcoins quickly? I don't want to wait a month.


texts: Lightning network: Open a channel with a peer that is not a full node?

texts:
Is it possible to open a channel with a peer that is not a full node? Or to exchange lightning payments between two peers that are not full nodes, they both have to open a channel with full lightning node(s)?

I saw this map
 https://lnmainnet.gaben.win/ and I was wondering if all the graph nodes were full nodes.


texts: How do I fix socket.timeout error when getting data from blockchain.info?

texts:
I'm writing a python script using the blockchain API that takes as input a list of seed addresses, gets their transactions and the input/output addresses of each transaction. Then I get the transactions of the new addresses, their transactions and so on. Basically, the script unrolls the k-hop neighborhood of the seed addresses until there are no new neighbors left or a predefined k is met.
A lot of times I get the error "socket.timeout" when calling the getaddr() function. I've tried the following:
while (True):

   try:
      data = getaddr()
      break
   except socket.timeout:
      print("Socket timeout. Retrying..")
      time.sleep(20) # Pause for 20 secs. Then retry.

But after a point I keep getting the same error so the loop never ends. Is there something I can do to fix it?
Thanks!


texts:
It was loading slowly, and now isn't loading at all.

I got some nasty sql error messages, I posted them to webmaster@firstbits.com but the mail bounced.

Do we know if these are temporary problems, or they might mean the site is closing down?


texts: bitcoin-cli - "error: couldn't connect to server" [solved as per comment]

texts:
I have bitcoind 0.13.1 running on a Raspberry Pi. I can see it on the bitcoin network using bitnodes.21.co but I can't connect to it locally with bitcoin-cli.

My bitcoin.conf is:

rpcuser=xxx
rpcpassword=xxx
listen=1
server=1
dbcache=50
daemon=1
testnet=0
maxuploadtarget=200

I tried:

curl --user xxx --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' 127.0.0.1:8332

and I got:

curl: (7) Failed to connect to 127.0.0.1 port 8332: Connection refused

Netstat:

sudo netstat -tulpn | grep bitcoin

gives:

tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN      620/bitcoind
tcp6       0      0 ::1:8332                :::*                    LISTEN      620/bitcoind
tcp6       0      0 :::8333                 :::*                    LISTEN      620/bitcoind'

I had a crash a couple of days ago and had to recover wallet.dat from a backup. After the crash the time on the pi was an hour slow. I had to stop and start ntp to get it correct. I also did an apt-get update and upgrade after the crash. Until the crash this worked fine.

Finally I see that all the files in the dataDir are executable by everyone. The dataDir is on a USB stick that is mounted with:

/dev/sda1 /home/pi/bitcoinData vfat uid=pi,gid=pi,umask=0022,sync,auto,nosuid,rw,nouser 0 0

I am tempted to start over but would really like to understand why this has stopped working.


texts: I had a Bitcoin wallet with come coins, backed it up (have the .dat file and a .csv file) but recently had to reinstall my Operating system which sadly wiped all my programs.  Now I have a new wallet but do not know how to access my coins using the .dat...  any hints?


texts: Selecting a computer for the OFFLINE Electrum Wallet

texts:
Would a Samsung Chromebook be a suitable choice to run the offline wallet???
I read that Chromebooks run a Unix based OS.
(I would obviously disable networking, bluetooth etc.)

Thanks


texts: Why the address changes after each transaction?

texts:
Could you please help me understand these observations related to Bitcoin transaction?

I have setup a brand new wallet from scratch and I sent 0.0246 BTC to it (well, slightly more but after the fees are deducted, that is the amount I see in my wallet). So it looks like this.

(Bunch of other addresses here) => 14xEotnA... 0.0246 BTC

That one on the right side being my wallet.

Then I have sent 0.0125 BTC to a friend, and this is what I see:

(My address) => 1PkhkZ...  0.0125
                1MRQY...   0.0119056 BTC

So that second bit shows how much is left in my wallet, but the wallet address is now a totally different string?

UPDATE:
Yes, this is a duplicate. The answer suggested at the top of the page is a valid answer and was helpful.


texts: How do I export my private key on MultiBit

texts: I am using Multbit on my desktop, and I want to use my wallet on a another device like my phone.


texts: Mining Bitcoin heats up my Computer. why?

texts:
I am Trying to mining bit coins from last 1 year. but every time i turn on the mining it slows down my computer and heat it up very badly that it eventually stops working some times.
How To get rid of this?
Help Me Please.


texts: How to retrieve Trezor wallet with recovery seed?

texts: I've been at this for days now without finding the links to click on.  I have a Trezor wallet that I bought years ago.  It has some bitcoins on it.  I have the recovery seed, but I lost the pin.  From the instructions I understand that I needed to wipe the wallet before I could start the recovery seed process.  I wiped the wallet, but cannot find the proper links to click on in the active wallet window in order to recover the bitcoins from the old seed.  I have spent a lot of time reading all the advise, but still cannot find where to click.  Please Advise, Thank You.


texts:
I know that the idea of namecoin is to create distributed DNS system.
I also know that one can by bit address with namecoin.

But I have never seen any bit domains. If they do exist, how reliable are they?


texts:
I'm building a merchant system for a client that will accept payments in bitcoin and send all coins to a cold storage wallet once a week (or month). The system is using a deterministic wallet to create one wallet for each client and it is very unlikely that one "receiving" wallet will have more than 2 inputs.

This system will run on a vps and the client does not want a bitcoin client running so I will create and relay all transactions through Push TX at blockr.io

This should work fine, but I'm having some problems with the size of the transaction and the transaction fee.

According to this answer if the value I'm trying to send is bigger than 1BTC I don't need a fee

  A fee may not be required at all, if the priority of the transaction is high enough. Generally 1 BTC, one day old, is enough age and balance that you can send without a fee.
  If any of the individual payments are below 0.01 BTC, a minimum fee will always be required.
  The minimum fee, when required, is 0.0005 BTC per 1000 bytes of total transaction.
  The contribution of each input and each output to the total size is somewhat consistent, it only varies largely if there are compressed keys (standard for newly generated addresses on a recent client version)

According to this answer the value will increase a lot based on the size of transaction

  0.01 BTC fee per kilobyte of transaction, but: If the blocksize (size of all transactions currently waiting to be included in a block) is less than 27 kB, transactions are free. If the blocksize is more than 250 kB, transactions get increasingly more expensive as the blocksize approaches the limit of 500 kB. Sending a transaction when the blocksize is 400 kB will cost 5 times the normal amount; sending when it's 499 kB will cost 500x, etc.

According to bitcoinfees.21.co I should use their api to get the best transaction fee dynamically

{ "fastestFee": 40, "halfHourFee": 20, "hourFee": 10 }

So my questions here are:

What is the best way to calculate the transaction fee? Given that I will be doing calculations by hand (script) and not using a bitcoin client
What is the maximum number of inputs that can I send on a transaction?
What can I do if the transaction gets stuck because of small transaction fee?


texts: Are there any works of science fiction out there that relate to blockchain technology?

texts:
It feels like science fiction is lagging behind Bitcoin and the blockchain technology that is powering it.  Are there any writers who have discussed similar technology in their stories? Even in the past 5 years?

See also the same question at the ethereum forum


texts: Blockchain Explorer says received but it's not received yet!

texts:
I sent some Bitcoin to my friends wallet since 2 days ago. It says approved and sent successfully on my end. And even on blockchain Explorer it says confirmed and received. But my friend says he hasn't received any Bitcoin yet??? This is the transaction ID on blockchain Explorer

https://www.blockchain.com/btc/tx/d350a1334d10e7693b56cc8fd8d11297080e1aebd9ffed97588a4b5f0929ca93


texts: Estimates have been thrown around a lot recently as to the year in which the last Bitcoin will be mined- where are these estimates coming from? Could someone send me to the relevant code?


texts: What cryptographic operations are performed on the 3 public keys to produce a multisig (2 of 3) address?

texts: I'm just getting a handle on multisig, so sorry about that. I don't really get how, (what operations are performed) on the inputs (3 public keys, right?) to generate a multisig address. Or is it some simple concatenation operation?


texts: What is the difference between node, peer and mininode in the functional test framework in Bitcoin Core?

texts: I am learning about the functional test framework in Bitcoin Core. I am seeing the terms "node", "peer" and "mininode" being used. How are these defined and how are they different?


texts: Wallet, deposit and withdrawal management system or APIs

texts:
What are the most popular solutions to create a website where a user can register, deposit crypto (not only bitoin, but all major coins, e.g. ETH, BCH, XRP, XLM, DASH, EOS etc.), receive a mail confirmation on payment confirmed, withdraw etc.?

Do you think the best is to use your own custom solution (and install the relative full nodes of the coins you want to support and use their APIs to manage the wallets) or there are robust and well known software solutions to manage user deposit?

If so, can you list a few solutions one can use to create a website to accept crypto deposits?

Requirement would be, have an address for each customer, or in case of XRP & XLM, have a specific tag associated to the customer. Just like crypto exchanges work.

So far I found coinpayments.net, but from the first sight it doesn't seem to be what I'm looking for....


texts:
For now i can't afford a great GPU for mining.
But what i am thinking is...
To mine a very low difficulty coin as much as i can with my old cpu and gpu and wait untill the currency price grow up.
But i am searching and I can't get what i want...
What i am searching about and please i need your help for it.
I want a list of currencies with the lowest difficulty and CAN BE MINED.
I found many with low difficulty but not minable.
So please i need a list of minable currencies with lthe lowest difficulty.
Thanks..


texts: How to calculate low/medium/high fee transaction fee?

texts:
I have a website where the users can send and withdraw funds using Bitcoin, I'd like to give them the chance of set their own custom fee (Low, medium and high) instead of the site to choose a fixed fee or than allow bitcoind to choose it..

For it, after read and investigate, I've seen that bitcoind have a json-rpc call with the name of ''estimatefee'' which allow us to calculate in real time the fee for the transaction appears on the specified blocks.

I guess that for a high it should be checking the fee in the next 2 blocks, for a normal fee in the next 12 blocks and for a low fee in the next 25 blocks, I've saved the obtained results and I Have comparate them with the data provided by Blockcypher's API: curl https://api.blockcypher.com/v1/btc/main , which it give us a higher fee on the low priority than in the medium, this is weird for me, but except that the rest of the data provided are quite inferior to those that I Have obtained, which makes me think that maybe I am making the calculation of an incorrect way (as all the fees I have obtained are at least the double than the one provided by Blockcypher).

And here is the data obtained from bitcoind:

bitcoin-cli estimatefee 25
0.00198478

bitcoin-cli estimatefee 12
0.00265746

bitcoin-cli estimatefee 2
0.00352903

And here is the data from Blockcypher:

"high_fee_per_kb": 174625,
"medium_fee_per_kb": 83628,
"low_fee_per_kb": 90769,

I haven't found many information related with this, if someone could help me, I would be grateful.

Thanks in advance


texts: Why does my full node need to load IP addresses from DNS seeds on restart?

texts: I stop one of my Bitcoin Core full nodes (v0.19.1) with 10 connections and then start it again. It needs to load IP addresses from DNS seeds. Why is this? Why doesn't it try the addresses of peers it was connected to prior to the shut down? Are they not persisted in addrman? It could then obtain more IP addresses through gossiping from those peers and not need to keep going back to the DNS seeds.


texts: Why I cannot get transaction from genesis block

texts:
When I run command

  getrawtransaction
  4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b

in my bitcoin-qt console (or bitcoind), I get

  No information available about transaction (code -5)

But I can get raw data about any other transaction.

Here is link to blockchain.info: https://blockchain.info/ru/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b


texts: What block numbers & hashes were discarded by the March 2013 blockchain fork?

texts: When exactly (GMT) were these blocks mined?


texts: Current blockchain hot topics in research

texts:
I'm looking for a research project for my master thesis in software engineering and computer science and i'm willing to research the blockchain technology. What are the current open issues and/or hot topics regard blockchains?

EDIT: I can see my question is way too generic, i just wanted to specify i read about 20 papers on the topic and i'm more concerned about the dencentralization aspect of it.


texts: Bitcoin Wallet generation and TX signing

texts:
I am developing a Bitcoin Wallet in Javascript. I've worked on ETH but it's my first time on BTC. Here are following queries if anyone can help:

How do we generate bitcoin Wallet like we do in Ethereum. PrivateKey -> PubKey -> Address and Private Key is used to sign a rawTx, searlize and then broadcast. What I'll need to make this happen in Bitcoin.
I've gone through docs of some libraries Bitcore, Bcoin and cryptocoinjs but all of them tell to connect to a node(test/live) to generate wallet etc.
Is there any way(lib) to generate a wallet, Load wallet from privatekey, sign TX from private keys all of this offline,and then propogating this to node. How this is done in Bitcoin.
What Bitcoin node can i use for mainnet?


texts: Unconfirmed after 48 hours and counting still ... Someone please help me

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

I am new to this i have seen someone else accelerate anothers transaction can someone please help me with this i am new i didnt know about fees i left everything the way it was


texts:
I downloaded Bitcoin Core (64 bit) and I am still waiting for it to synchronize. But just now, when I open the software, it loads from 1% to 100% and then a message appears with the inscription

  Cannot obtain a lock on data directory C:/Users/ADMIN/AppData/Roaming/Bitcoin. Bitcoin Core is probably already running.

Then the program disappears to the task bar and I can't open it from the task bar. Please, any help?


texts: How does Satoshi Dice's 'zero confirmations' transaction system work technically?

texts:
The popular bitcoin betting game Satoshi Dice sends back payments very fast, they don't wait for confirmations. The user sends money to Satoshi Dice and gets back winnings a couple of seconds later. Here's a quote from their site:

  The SatoshiDice Bitcoin game operates with zero confirmations [...] This is safe because it always builds the answering transaction with the output of your bet transaction. This means a blockchain that does not contain your bet cannot contain the site's answer.

I think I understand the theory behind this: Satoshi Dice always sends back coins from your own bet. So if your bet doesn't get confirmed then your winnings also won't get confirmed.

What I don't understand is how I could technically create these kind of transactions. Using bitcoind, how could one build these transactions?

Thanks for your suggestions.


texts: bitcoin-cli deriveaddresses always returns an error

texts:
I am copying and pasting the example from the bitcoin-cli help:

deriveaddresses "wpkh([d34db33f/84h/0h/0h] xpub6EuEBhzm7KD3yxmt9wFHisymSNmK8w2CFmfgUgXi74ChFa79YouJ1w3hpZmFAWiuLezZqD38fY6K8PkxUfPifzSEB35skuBBNf1efmSp12K/0/*)#trd0mf0l" "[0,2]"

And copying in a valid xpub.

However I always get an error:

Invalid descriptor (code -5)

Even if I copy in the exact bitcoin-cli call from the bitcoin github page here deriveaddresses pull request

deriveaddresses "wpkh([d34db33f/84h/0h/0h]xpub6DJ2dNUysrn5Vt36jH2KLBT2i1auw1tTSSomg8PhqNiUtx8QX2SvC9nrHu81fT41fvDUnhMjEzQgXnQjKEu3oaqMSzhSrHMxyyoEAmUHQbY/0/0)"

I still get the same error.

I am entering the commands directly in the console. What am I doing wrong?

Im using mainnet bitcoin core 0.18.0, mac OS 10.13.6


texts: Recovering BCH sent to BTC Ledger Nano S Wallet

texts:
I've looked at existing  relevant threads, but still I didn't got the right solution for my situation, so raising this request. This case is perhaps somewhat different because it relates specifically to a Ledger hardware wallet.

I was trying to transfer BCH from Koinex wallet to my Ledger Nano S wallet, but I've given BTC address wrongly instead of BCH address! The transaction was succesfully sent from the Koinex site, however I've not received my coins into my Ledger Nano S wallet as I've given BTC address instead of BCH! When I see the transaction status in Block Chain, I was surprised, there were 63 confirmations till now! I wonder how it is possible as I've given wrong wallet id.

Anyway, I would like advice on how to retrieve my coins.


texts:
Altcoins have existed for many years and there are many hundreds of different ones already. A more recent concept is sidechains and drivechains.

What are sidechains and drivechains?

How do they differ from regular altcoins?


texts: Are there any mining pools that allow a specified amount of bitcoins to be sent to a chosen address?

texts:
This would be like using a pool as a wallet service, as you could send a subset of your balance to a retailer to purchase something and avoid running the Bitcoin client app.

Most pools only pay out the complete balance to your specified address, which makes this option unavailable.

Obviously, whether or not it's a good idea depends on how trustworthy the pool operator is, and the sum of BTC at risk.


texts: Do the keys that are derived from a BIP-32 HD wallet depend on an initial seed?

texts:
I did not understand the concept of a seed in BIP0032 that well. Would you mind telling me do the keys that are derived from a key tree of Hierarchical Deterministic Wallet (HDW) depend on a root seed? In another words, do the derived keys differ for different root seed values or not?

Thanks in advance
Best Regards


texts: Will bitcoind save all wallet transactions in prune mode?

texts: I have bitcoind running in prune mode (last 10000MiB). Will daemon have info about all my wallet’s transactions or just those that will fit 10000MiB tail?


texts: What prevents a knowledgeable person from modifying their bitcoin data?

texts: The average person would not have the knowledge, but what is the mechanism that stops a programmer capable of writing a wallet, from modifying the local bitcoin file/data to be, for example, 10 bitcoins instead of 1? Or maybe it should be - what prevents modification and then use of the data.


texts: Most of the bitcoin community is aware that the U.S. Government "seized" 2 million USD worth of bitcoins at the times current exchange rates. How would the U.S. go about using these. Generally with seized property they set up auctions, but how would that occur.


texts: What does the Bitcoin client do when it receives conflicting transactions?

texts:
I've been assuming that the second transaction will simply be discarded as invalid, while the first waits at 0/unconfirmed until it actually gets into a block (requiring a "-rescan" or similar if the second one actually ends up in the blockchain instead).  But is this the case?  What actually happens in the default client when two conflicting transactions are received?

For simplicity's sake assume the person running the client is the recipient of at least one of the transactions, and is not mining.


texts:
I'm working on a service which will require me to store bitcoin payout addresses in my database. This means that a potential attack to my service would be to gain access to the database and replace the addresses in the database with the attacker's bitcoin address so that payouts can be automatically sent to him/her.

My users will be have multiple social accounts linked to my service (Facebook, Google, LinkedIn, etc.) and they will log in with a password (which is stored as a hash). The database I'm using is MySQL, so I'm wondering if I can put any restrictions on the bitcoin address column which would require some type of validation of the bitcoin address in order to ensure that somebody hasn't just gone into the DB and put in a bitcoin address of their own. Maybe I can include some kind of a hash which validates the address with the user somehow and allows me to check the address and the hash before a payout is sent, if they match then I can send a payout.

Any other approaches to securing the address?


texts: I've sent Bitcoin to my BCH address on Coinbase. How can I recover it?

texts:
I sent Bitcoin from Binance to my BCH address in my Coinbase wallet, how can I recover it?
I have the address and confirmation from Binance.
I have contacted Coinbase, but they haven't answered yet.
Thank you!


texts:
Bitcoin is currently using the secp256k1 curve. Understand that Ed25519 is technically superior -- i.e., offers better security than ECDSA and DSA, speed and most importantly, I think, resistance against side-channel attacks.

Sia, Scorex, BigchainDB, Chain Core, Monero are some examples where ED25519 is used.

Understand that BIP32 made mention of Ed25519. Has BIP32 and/or ED25516 been implemented in Bitcoin or?

https://www.ietf.org/mail-archive/web/cfrg/current/msg09115.html

https://datatracker.ietf.org/meeting/interim-2017-cfrg-01/materials/slides-interim-2017-cfrg-01-sessa-bip32-ed25519/

Nathan Aw


texts: How Bitcoin handles addresses collisions?

texts:
Since the addresses are hashes of a public portion of a public/private ECDSA keypair, what would happen to two different people with different keys that hashes into the same address?
How would transactions to those addresses be handled?


texts:
I'm from Ukraine and do not know much English, sorry. I'm not understand where in transaction keep outpoint.

Please give me example or manual how get outpoint from input.


texts: Generating a QR code using the NXT / Ardor api for scanning

texts: Currently the nxt gui generates a QR code for certain pages where you can scan with your phone or another computer to do an air gap transaction. How can you do this via the api?


texts: i tried sending a transaction using multibit hd, and its not even that i was trying to get cheesy on the fee, i just forgot to enter one in and now three days later ive lost 15 dollars from bitcoins losing value as my transaction is stuck at being viewed by 5 peers, but receiving no confirmations. after doing some research i seem to get mixed responses on what happens now, will the transaction get rejected and my coins be returned to me with mutibit hd, or do i have to do somthing proactive to get them back?


texts:
I'm from Ukraine and do not know much English, sorry. For example first block https://blockchain.info/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, when miner confirm this block he get bonus (50 BTC). And he make transaction https://blockchain.info/ru/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b, but in the first block be kept info about coinbase and script sig

Coin Base - 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73

Script sig - 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f OP_CHECKSIG

And address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa and hash for generate address 62e907b15cbf27d5425399ebf6f0fb50ebb88f18

where did you get the address?

EDIT

How get address or hash for generate adress from publicScriptSig


texts: How to put pool name in a Bitcoin Block?

texts:
If someone access blockchain.info, see blocks and Pool name who finded. I want know how sign this?

Thanks


texts: Why Does bfgminer Show Mh/s and Gh/s As HashRate Instead Of Kh/s

texts:
I have just switched over to mining with bfgminer from cgminer and I noticed that bfgminer displays the hashrate as Mh/s on my running version whereas cgminer displayed it as Kh/s.

My GPU is a R9 280x and the most I could every get out of it using cgminer was about 750 Kh/s.

But now using bfgminer it is saying that I am getting ~1.24 Gh/s but I know this is not possible with this card.

On my pool stats this is showing as 674 Kh/s which I think is more accurate consider I have only one GPU card.


texts: Need help! Initial sync not progressing, BTC sent already, + warning message

texts:
Please help! I look forward to your intelligent caring responses.
Here is the situation:
I'm trying to do the initial synchronizing of Bitcoin-QT, which hasn't progressed in 14 hours, and:
- Significant BTC has already been sent to an address generated by the wallet.
- My primary objective is to receive the BTC that was sent to me. If Multibit is a sufficiently secure/etc wallet alternative, I do not care about completing the sync process in order to use Bitcoin-QT ** - I just want to effectively receive the BTC that has already been sent.**

Here is the problem:

For the past 14 hours, there has been NO progress in the synchronization (after some progress in the time proceeding that). (The # of blocks processed has stayed the same, but the estimate of total blocks fluctuates - what i mean is, where it says "Processed 'x' of 'y' (estimated) blocks of transaction history" - the 'x' (i.e. blocks actually processed) has stayed the same for 14 hrs, the 'y' of estimated total blocks has fluctuated (sometimes larger, sometimes smaller).) - The golden arrow wheel on the bottom right is also not turning at all.
Also the following warning message is at the top of the Overview page: "Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade."

Background on this: the whole synchronization was started over 24 hours ago, but in the middle of night Bitcoin-QT crashed. (I think the warning message appeared after the program crashed & was restarted.) Whenever I restart Bitcoin-QT, it takes 5 minutes of rainbow-wheel loading on "verifying blocks" on initial bitcoin-version screen.

(other info if relevant to resolving this: the machine is a Mac, Snow Leopard; Bitcoin-QT v.0.8.5-beta
-- The progress bar shows about 1/8th complete. That has also not budged in 14 hours.
-- I did try this on a different and faster internet connection/network for about 5 hours with same result except the last bar on the right did not go green like on my regular internet connection.
-- I do have the original .dmg download file if that's of any help.
-- I have restarted both Bitcoin-QT and the computer a # of times.
-- When the progress was actually happening yesterday before the program crashed, the arrow-wheel was turning and there was no warning message.)

So basically the questions are:

Is it actually synchronizing even though there have been NO signs of further progress for at least 14 hours & a Warning message has appeared?
What is the most effective - and secure - way for me to actually receive the BTC that were sent to me to this Bitcoin-QT wallet-generated address? Should I ditch trying to synchronize and try to receive them through something like Multibit? (Even if the initial sync ends up happening I will likely ditch Bitcoin-QT anyway for something like Multibit, as long as it is sufficiently secure.)

Your help is appreciated! Neither the sender nor receiver of these bitcoins wants them to be lost due some sort of synchronizing malfunction, if that is what's going on.
I look forward to hearing from you, oh intelligent caring knowledgeable BTC users.


texts: Which mining pools do not require account creation?

texts:
I know Eligius doesn't have a lengthly setup process, you just use your payout address as the username.

Which other pools are this easy to start with?


texts: What's the simplest way to deposit BTC into US Banking account with minimal fees?

texts:
I've been looking through the bitcoin wiki and googling isn't providing any useful results. Basically I'm looking for some way to deposit my BTC into my US bank account. Is there any service that can do this without incurring massive processing fees or surcharges?

Essentially I'm looking for the following:

Simple to use. Should not have to jump through hoops like signing up for paypal account or go through intermediate exchange like mtgox USD etc.
Preferably has a direct deposit method similar to how you might get payed from a job.
No fee or extra surcharges or kept to a minimal. Many of the exchange services I've looked at has wire-transfers but the associated fee makes it simply prohibitive especially for small BTC to USD transactions.
Doesn't necessarily have to be instant or fast.


texts:
Is there a way to extract old OP_RETURN transactions from the commandline with bitcoin-cli or something?
Something in the way of getAllOpRetFromBlock(345345) ...


texts:
So I really have 2 problems now:

I took xpub address for Dash from trezor and used it with blockcypher API to generate addresses with paths like m/0, m/1, etc
I sent some money to that addresses and noticed that trezor wouldn't show them, obviously it uses different paths than blockcypher.
I figured that easiest way is to take mnemonic and import it somewhere else, that would allow me to specify custom path, but I can't seem to find it. So I have trezor and I can access it, withdraw all the other funds from it, but I don't have mnemonic anymore.

What are my options to recover those Dash?


texts: What is the longest blockchain fork that has been orphaned to date?

texts:
The orphaned blocks view from BlockChain.info shows a recent fork of the blockchain (starting with block 173,928) that went four blocks long before being orphaned.

Other than the controlled rewind following the Value Overflow bug in August 2010 in which 53 blocks were orphaned, is there a fork of blocks orphaned as long or longer than this one that occurred at 173,928?


texts: Get Latest blocks with bitcoind on Ubuntu

texts:
The total blockcount on my machine is not increasing. I have tried doing a bitcoind -reindex -daemon, but it didn't ultimately increase the number of blocks.

Attaching machine and bitciond information below.

Operating System:

my_machine ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty

Bitcoin daemon:

my_machine ~ $ bitcoind getinfo
{
    "version" : 90300,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 322082,
    "timeoffset" : 1,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 29829733124.04041672,
    "testnet" : false,
    "keypoololdest" : 1422374797,
    "keypoolsize" : 100,
    "unlocked_until" : 0,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : "Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues."
}

UPDATE: Per the issue explained here: http://sourceforge.net/p/bitcoin/mailman/message/33222029/, it appears that OpenSSL is the issue.  I tried to rectify the latest block being stuck at 322082 by doing the following

git clone -b 0.9 https://github.com/bitcoin/bitcoin.git bitcoin-0.9
cd bitcoin-0.9
./autogen.sh
cd src
./configure
./configure --with-incompatible-bdb
make
make check
stop bitcoind
bitcoind -daemon -server -reindex

I then waited for the reindex to finish but I still have the same problem. Am I doing something wrong? How can I test that I have the right version of OpenSSL required?


texts: How users collectively sign a transaction in a multisig scenario?

texts:
Say there're 3 people (A,B,C) involving into a 2 of 3 multisig scenario. If A & B agree to sign a transaction, what steps they should take? My guess is:

A creates a transaction with the multisig address, signs it with A's private key.
A gets the raw transaction above, somehow (via email or something else) manually sends it to B.
B signs it and broadcasts to the whole Bitcoin network.


texts: Can I CPU mine other coins to win Bitcoins?

texts:
I have a useless Nvidia, until now, unconfigurable to mine (7300)

So, if I mine just with CPU, can I get more coins mining others coins like NMC,LQC,LTC,SC, or whatever, and trading after for BTCs?


texts: Can I buy or sell with bitcoins offline?

texts:
Is it possible to buy or sell something using Bitcoin, in an offline mode?

In other words, if I had my wallet on my mobile phone and I wanted to send or receive money from another Bitcoin user who also has their wallet on a mobile phone, can we send/receive bitcoins offline to each other and then later re-sync the transaction to the network?

I find offline mode critical for this currency to progress beyond a simple crypto-currency experiment because relying on the network means that if network access is unavailable, your wallet is useless.


texts: How do I find the exchange an address belongs to

texts: How do I find the exchange that an address belongs to? I have an address that I have sent Bitcoin to but I forgot what exchange that address was for.


texts: BOP: Not authorized to receive from the temporary destination

texts:
I'm trying to run my own BOP (BitsOfProof) server and connect to it. I appear to be able to connect, but I am unable to execute any commands. I am connecting with the following:

    StompJmsConnectionFactory connectionFactory = new StompJmsConnectionFactory();
    connectionFactory.setBrokerURI("tcp://localhost:61613");
    connectionFactory.setUsername("admin");
    connectionFactory.setPassword("password");
    JMSServerConnector api = new JMSServerConnector();
    api.setConnectionFactory(connectionFactory);
    api.setClientId(UUID.randomUUID().toString());
    api.init();

    Transaction t = api.getTransaction("07eec690b003f13ffe73608be35f22e3da6deb55bfd479dbc67c5f44c8d48963");
    System.out.println("t:" + t.getHeight());
    System.out.println("t:" + t.isDoubleSpend());

    Block b = api.getBlock("0000000000fb2149b0a8c0418041513b122e129e17992e22276c558ee7e8269b");
    System.out.println("b: " + b.getHeight());

and the error I am getting is:

Caused by: org.fusesource.stomp.client.ProtocolException: Received an error: Not authorized to receive from the temporary destination. Principals=[org.apache.activemq.jaas.GroupPrincipal(admins), org.apache.activemq.jaas.UserPrincipal(admin), org.apache.activemq.apollo.broker.security.SourceAddressPrincipal(127.0.0.1)]
at org.fusesource.stomp.client.CallbackConnection.processStompFrame(CallbackConnection.java:110)
at org.fusesource.stomp.client.CallbackConnection.access$0(CallbackConnection.java:92)
at org.fusesource.stomp.client.CallbackConnection$1.onTransportCommand(CallbackConnection.java:61)
at org.fusesource.hawtdispatch.transport.TcpTransport.drainInbound(TcpTransport.java:659)
at org.fusesource.hawtdispatch.transport.TcpTransport$6.run(TcpTransport.java:538)
at org.fusesource.hawtdispatch.internal.NioDispatchSource$3.run(NioDispatchSource.java:209)
at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:100)
at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77)

As far as I can tell, the admin user should have access to everything.  I tried creating a new user to connect with, and the same error was encountered.  Anyone have any idea what I'm doing wrong?


texts: Were bitcoins automatically converted to Bitcoin Cash?

texts:
Don't understand about Bitcoin Cash. It is written here:

  Bitcoin Cash is an altcoin which forked from Bitcoin in order to raise
  the maximum block size from 1 MB to 8 MB.

But:

  Anyone who held Bitcoin prior to the fork had the same amount of
  Bitcoin Cash following the fork.

So, bitcoins were automatically converted to Bitcoin Cash.

But they have different price and actually different currencies.

Some people want to keep Bitcons, some Bitcons Cash.

Or I understand it wrong?


texts: Send bitcoins using just a pub and private key

texts:
If I install the bitcoin command line client for linux, can I use just a public and private key to send coins from an address? I don't want to add it to my wallet file, I just want to move coins out of an address.

Update: After reading some of the answers I realize that I should have been more clear about my purposes. This is for more of a computer controlled money system. I want to be able to create addresses, and move money between them, and be able to move money out of addresses to other public addresses. I wanted it to be super light weight and not have to download the whole block-chain to achieve anything, and I don't want it to use wallets because they don't conform very well to what I am doing.

I want to be able to be given a private key and public address of a source, and a public address of a destination, to be able to send coins from one to another, and do it by just sending a message to the network. I want to be able to do it with only 10-20 MB of storage, and be able to do it by only connecting to a few nodes. Confirmations & balances will just be handled by hitting up some public resource like blockchain explorer.

Note: if it is not possible to do without the blockchain handy, then that can be accommodated for (though it throws in the need for a server for me rather than being purely client based.).


texts: Is there an easy way to search all the transactions?

texts: Is than an easy way to search the list of all bitcoin transactions? For example to find all the bitcoins sent to or from an address?


texts: Who issues the transaction of reward when a miner solves the block?

texts:
I know that when I send money I create a transaction.  The transaction is unconfirmed, and then gets confirmed and the address owner gets the money in his wallet by summing up all the transaction of his public key address.

But what about the miner?

Suppose I am a miner with address x213123abcah23 and I solve a block and propagate it.  Who issues the mining reward to me?
Does Mr. Satoshi with his address send money to me or what?


texts:
I transfered 0.013 mBTC into Bitoincore.org wallet.on the 07/07/2020. As yet I have not received
Hash:-
13290114c5e1fe381c707e5f67b246cd0260f5bd24c9a1fc1aed0eab08dd2521
Address:-
1AKWvdsoAQC43sBANr9pCnk74nHCdrAvB6
0.0126 after fee, not recieved, can someone help me please


texts:
I put my Bitcoin into a wallet some time ago, kept the 12 words but do not remember which wallet I used.
Now I understand that all that matters is that I have my 12 words but I am having difficulty (due to lack of knowledge) in using these words to regain my coins.
Any help please?
Many Thanks
Dave


texts: Sendrawtransaction error with locktime : 64: non-final txid


texts: How is scalability of walletnotify of the full node wallet

texts: I'm thinking about how large exchanges handles customer deposits, it appears there are two available solutions, one is to use external notification apis, like blockchain.info 's notification api, another is run a full node and use the walletnotify feature. Since the first approach brings dependency to an third party service, also, it does not support testnet notification, which we use during development, so I'm trying to run a full node. My question is how scalable is it? Suppose there are 10,000 users, and platform must support add more addresses for a user, say in average each user generate 10 addresses, that's 100,000 address to watch. If I add those 100,000 address as watch only to the full node and enables walletnotify, is that a good way to handle it? Will there be any technical issues?


texts: I need to send a message to the person resposible for a specific wallet

texts:
Using Multibit, we sent btc to an incorrect wallet address. We have sent a small amount of BTC to this address before, so it is listed in our wallet's Transaction list, but is unfortunately not associated with any recipient information. The blockchain record of that original transaction is accessible.

Question is, is there any way to send a pure message to the address, to see if they have a record of he more recent incorrect transfer. After that, it's in the lap of the gods!  If recipient is identifiable and honorable, he would respond favorably to our request for return.  If not, we fully understand that the funds are lost.


texts: Is Bitcoin mining pools safe to invest with?

texts:
I happened to follow a few Bitcoin related profiles on Instagram today and within a few hours received about a dozen  messages from ppl asking if i wanted s fast secure return up to 5x my investment.  Of course i immediately assumed it was a scam then I did a Google search on.mining pools.  I haven't read where it's a scam or even a high risk move?

Can anyone give me advice on if I should even entertain the idea.  Or is it something that is just too good to be true.


texts: Is this how to generate a bitcoin address with python?

texts:
So I have already the public key. My question is if I'm applying correctly the b58 encoding, since bitcoin uses b58check, and also adds x00 prefix. Can somebody explain me that? Thanks.

import hashlib
import base58

# ECDSA Public Key
base64_str = 'MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE7P0EE5amecnYKMlq96RUL3Q+mZJCQrta6iHyjQWtsbbgcBMayhR/CTzDi5j4Fb/wD9EclHt3dpYRyJcl9Rtmug=='

hex_str = base64_str.decode('base64').encode('hex')

sha = hashlib.sha256()
rip = hashlib.new('ripemd160')

sha.update(base64_str.decode('base64'))

rip.update(sha.hexdigest())

# Get address
print base58.b58encode(rip.hexdigest())


texts: Transaction fee of 8.44 mBTC for 1.22 mBTC?

texts:
I made a transaction of 1.22242 mBTC with the electrum client and, I don't know why, it looks like it transferred all the remaining BTC from my account to myself which made a 13063 bytes transaction and costs me 8.43769 mBTC...
Do you know what happened?

https://www.blockchain.com/btc/tx/24c9a54cd4686ef4e0f51298d3fb3862c03ba126fc78cbe382c9094397913314


texts: I know MuSig makes n of n multisig  scriptless. However, can we also aggregate multiple internal public keys in one public key, and unlock funds using either one of the internal public keys?


texts: Is there a block explorer for Ardor Testnet?

texts: I'm looking for a block explorer for Ardor Testnet, but can't find one. I know of http://ardor.tools but that is only for main net.


texts: Is the Mycelium HD wallet private key stored encrypted on the device?

texts:
haven't found details on that in the net.

My concern is that I'm using a corporate (bring you own device) phone. We have to install a "security" app running with administrator rights.

IMHO this app can read EVERYTHING what is on the device. I'm pretty sure. Therefore, is the private key of the Mycelium HD wallet encrypted (with the PIN hopefully) when stored the device?

Any thoughts?


texts: Bitcoin Core 0.21.0 Loading PSBT from file gets error: "unable to decode psbt...."

texts:
The Bitcoin Core GitHub text says to ask my question here. I also asked on reddit but maybe this is a better place.
I created a PSBT file from my online Bitcoin Core wallet. I transferred it to my offline PC to sign on that Bitcoin Core wallet but when I try to load the PSBT file into the wallet through the "Load PSBT through file..." option I immediately get the following error:
"unable to decode psbt. global unsigned tx key is more than one byte type: iostream error"
Any help would be very greatly appreciated.
If you need to know the steps I completed to get to this stage, here it is:

Got my scriptPubKey and pubkey for my bitcoin address that I own and have bitcoin on and want to test my PSBT with. I used command: getaddressinfo to get this on my offline Bitcoin Core

Created a new wallet on my online Bitcoin Core with "Disable private keys & blank wallet" checked off

Imported the scriptPubKey and pubkey from step 1) into my online Bitcoin Core wallet. It says successful. Command used was: importmulti '[{"scriptPubKey" : "XXXXXXXXXXXXXXX","pubkeys" : ["XXXXXXXXXXXXXXX"],"timestamp" : "now","label" : "PSBT-test", "watchonly": true}]'

Inputed my transaction details on the Bitcoin Core online watch-only wallet and generated the PSBT file.


texts: What goes in the id/BTCUSD field for Mt. Gox "submit an order" API call?

texts:
I am trying to place a new order using Mt. Gox's submit an order API call. However I keep on getting the error object

{ result: 'error', error: 'Bad API call' }

I'm fairly certain I'm doing everything right, except I suppose the order Id which is referred to as BTCUSD in the documentation.

https://data.mtgox.com/api/1/BTCUSD/private/order/add

It gives no other explanation on what this field is, and I have found other projects calling it ID, so I'm using the node-uuid v1() method to generate a unique ID for the field.

So this is the URL I create:

/api/1/36c1f990-a4a4-11e2-84fd-a100a9f27dd2/private/order/add

and the object I send with it

{ type: 'ask', amount_int: '100000.000', price_int: '20000000' }

What am I doing wrong?


texts: Assume that there are only three mining pools, all with the same hashing power, mining for bitcoins in the bitcoin network. Which mining pool is most likely to get the block reward? Do you all think that it will be equally likely? Since they have the same hashing power and working on the same candidate block.


texts: How can I troubleshoot whether an unconfirmed transaction that seems stuck is a problem on my end or just from high volume on mempool?

texts:
Never had transaction hang unconfirmed like this before. Granted its only been a few hours but it's not like I skimped on fees either. I always choose the default electrum fee, but when it got stuck I doubled it using RBF to increase the fee.
But it's still stuck!
How can I check whether I'm really in the queue being ignored because people are paying higher fees or if there's something wrong I'm doing on my end?
Regenerating my wallet in electrum at least restored my pre-send balance. So at least I can see my coin even if there's no movement on this transaction that I'd love to either cancel out of or see confirmed.


texts: bitcoind JSON-RPC interface timeouts under unit tests

texts:
I am running unit tests against bitcoind which do JSON-RPC requests in high rate. Random failures are an issue. E.g. if you have something like this in printconsole logs:

ThreadRPCServer method=gettransaction
ThreadRPCServer method=gettransaction
ThreadRPCServer method=gettransaction
ThreadRPCServer method=gettransaction
....
ThreadRPCServer method=gettransaction
ThreadRPCServer method=gettransaction
sending: inv (37 bytes)
ThreadRPCServer method=gettransaction
ThreadRPCServer method=listtransactions
sending: inv (37 bytes)

You start getting:

synced with network?".format(name)) from e
cryptoassets.core.backend.bitcoind.BitcoindJSONError: Got timeout when doing bitcoin RPC call listtransactions.

I have tried with both reusing HTTP connection and not reusing HTTP connection with various results.

Are there any low hanging fruits to make bitcoind RPC interface more stable (increase threads, concurrency, etc.?)

I am using the following Python JSON-RPC implementation:

https://github.com/jgarzik/python-bitcoinrpc/blob/master/bitcoinrpc/authproxy.py

UPDATE: Looks like the problematic call might be listtransactions. When called at the same the time from command line using curl there is no response either:

[~]% curl --user foo:bar --data-binary '{"id":"t0", "method": "listtransactions", "params": ["cryptoassets"] }' http://127.0.0.1:8332/ |python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:--100    70    0     0  100    70      0     58


texts: What's the difference between a 4 core VM running a Bitcoin Node vs. a 16 core VM?

texts:
I'm trying to help out the Bitcoin network as efficiently as possible. I have access to VM's, with a $1200 monthly budget. I'm trying to figure out if a single 16 core/ 56gb RAM VM would be better than a multiple barebone dual core/3.5gb RAM VMs.

Here's the pricing list:

https://azure.microsoft.com/en-us/pricing/details/virtual-machines/

How would you set up these VM's the most efficient way with a $1200/month budget?


texts: What are the weakest cryptographic guarantees in Bitcoin?

texts:
I read in this Github pull that Bitcoin relies on weaker cryptographic guarantees than SHA256.

What are the weaker cryptographic guarantees being referred to?

Could it be that RipeMD is 160 bits? ... or is it something else? Perhaps in the ECC curve itself?


texts:
If one were to receive Bitcoins then immediately use a conversion service (for example to PayPal) would gains/losses need to be recorded?
If so, is there any software that can do this automatically?
Thanks in advance.


texts: sent bit coin cash to coin base by mistake

texts:
hey guys i sent 300$ of bit coin cash to my coin base account coin base does not support bit coin cash but i can see that the transaction went threw and was verified  more than 41 times. the address it was sent to was generated by my coin base account so im not worried about someone else having my money i was wondering if there was some way to get that bitcoin cash out of there some how i cant see it on coin base because they only have bit coin but i know the address.

thank you
Rachel


texts: ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8) in altcoin

texts:
I am trying to create altcoin(Abccoin) from bitcoin and change parameters in chainparams.cpp and also generated the genesis block hash and hashMerkleRoot but when I start the daemon with
abccoind -daemon

I get the error in debug.log :

ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)

Using -reindex also doesn't solve the problem, then I got another error :

ERROR: AcceptBlock: high-hash, proof of work failed (code 16)

Does anybody know how to solve this problem?


texts: Is there a way to query blockchain stored data

texts: I have a single smart contract which stores the investor details record and i have a global variable in that smart contract which stores the total number of investors when each investor records creates this gets incremented. Now I have two dapp one is to create the investor record which will communicate to the smart contract. Another dapp which shows the total number of investors. Is there any way i can fetch the total number of investors (uisng ABI of the contract) from the blockchain rather than calling any function from the smart contract


texts: What is the fastest public SHA256^2 code for x86?

texts:
I am asking about the double SHA256 hashing function - the one that bitcoin uses.

Which publicly available implementation is the fastest one out there?

It can be in assembler, as long as it is for x86, also 64 bit.


texts:
Some time ago I lost my phone with copay installed on it. I also dont know my seed info. Not a big deal I had no funds in the wallet.
Sadly I forgot I used that address for auto pool payouts. Yesterday that pool payed out, and I can not access the wallet (no seed).
How do i get that btc back?


texts: Can I balance load between two instances of bitcoin daemon by switching RPC request?

texts:
The question is pretty simple.

I have two instances of bitcoin daemon. When I'm running my pool with parallel RPC requests to each instance it calls daemons too often and daemons queue of RPC calls exceeding. I want to balance calls between instances.

The main question: can I get job from DAEMON 1 pass it to mining devices but submit share to DAEMON 2?

Do jobs stateless or if I got job from the daemon 1 I must submit PoW to that daemon too?

If not, can you explain why? And did you know how to properly load balance between bitcoin instances?


texts:
I have funds in BitPay that I received from several sales on my website. My split is 0% USD cash and 100% Bitcoin.

Is it possible to transfer this Bitcoin balance to another account within BitPay?

Alternatively, how can I withdraw bitcoins from my account? I cannot find a withdraw option in my dashboard section.


texts: PHP functions not working in bitcoin JSON-RPC version 16 (bitcoin-cli is working properly)

texts:
Trying to implement Bitcoin JSON-RPC using Digital Ocean Ubuntu using bitcoin version 16.

Here is my php code

<?php

require_once('easybitcoin.php');

$bitcoin = new Bitcoin('someusername', 'somepassword');

print_r($bitcoin);

//print_r($bitcoin->getwalletinfo()());

$getinfo = $bitcoin->getblockchaininfo();

print_r($getinfo);

?>

  Output

  Bitcoin Object ( [username:Bitcoin:private] => someusername
  [password:Bitcoin:private] => somepassword [proto:Bitcoin:private] =>
  http [host:Bitcoin:private] => localhost [port:Bitcoin:private] =>
  8332 [url:Bitcoin:private] => [CACertificate:Bitcoin:private] =>
  [status] => [error] => [raw_response] => [response] =>
  [id:Bitcoin:private] => 0 )

  Giving error HTTP ERROR 500

I'm not much php aware, I tried enabling error reporting in php.ini but not getting errorlog.

Here is my bitcoin.conf

rpcuser=someusername
rpcpassword=somepassword
prune=600
maxconnections=12
maxuploadtarget=20
daemon=1
server=1
keypool=10000

Bitcoin server is fully synced in prune mode, up & running.bitcoin-cli properly working. If anyone have new working php-bitcoind examples, please share on vd30992@gmail.com

  Thanks for any help.


texts: How easily can asics be ported over to other sha algorithms?

texts: Let's say I want to rewrite the software behind the hardware of current asics. Would it still mine, for example, sha1 algorithms orders of magnitude faster than a normal cpu would?


texts: Meta-Mining: Can mining exist in abstract states?

texts:
Has anyone here explored or pondered possibilities for meta-mining?

Theoretically, you could have miners work on any computational problem, and then have rewards handed out proportionally as part of a programmable smart-contract, based upon how the contribution to this mass-calculation is progressing.

This form of mining could itself be tied to side-chains and the actual blockchain, but executed through applications which make mining more agile and customizable to a specific computational or explorational need.

Are these "meta-mining" practices possible?


texts: Handling "dead" (double-spent) transactions in my mempool

texts:
Say I receive transaction A and it is in my node's mempool and unconfirmed.

Then a block gets mined directly, which spends one of transaction A's inputs, rendering transaction A invalid.

What can I expect my node to respond with, when I ask: getrawtransaction <transaction A's txid>?


texts: Litecoin getwork specification, endianness

texts:
Please help me with getwork protocol for litecoin miner.There is mixed info online about endiannes of data provided by getwork and data that should be submitted to mining pools.

According to https://litecoin.info/Scrypt the data recieved has to be split into parts  and each part has to be be byteswapped to little endian(even the 32byte merkle root has to be byteswapped so 31'th byte is 1'st and so on).

According to pooler's implementation in java https://github.com/pooler/JMiner the header is byteswapped per 4 byte chunks.

And then after hashing this header with scrypt, I don't know if I am supposed to check first bytes or last bytes in hash because of endianness.

I am implementing getwork because I have code for stratum, but i am lost in all the endianness so I want to implement getwork to get all endian issues sorted and then use stratum to generate block headers according to rest of the "proper" spec.

I suppose Bitcoin and litecoin may have same specification, but i am not sure.


texts: Do keypool keys from an unencrypted wallet backup become unusable once I encrypt my wallet?

texts:
I'm a little confused by this, which i found in the technical documention:

  When wallet passphrase enrcyption becomes enabled, any unused keys
  from the keypool are flushed (marked as used) and new keys protected
  with encyption are added. For this reason, make a new backup of your
  wallet so that you will be able to recover the keys from the new key
  pool should access to your backups be necessary.

If I were to encrypt my wallet.dat and had a recent backup that was unencrypted do the keypool keys in the unencrypted backup become invalid?

If I hadn't made any new transactions using the new encrypted wallet would I still be able to restore the backup using the unencrypted wallet backup or would this cause problems?


texts: How long would it take for all the Bitcoin Key pairs to be calculated?

texts: Is this even something one should be worried about?


texts:
After submitting a transaction to the blockchain..

1) If I pay a higher transaction fee will first confirmation happen faster?

2) I found today that a 250B transaction with 1000 Satoshi fee took just under 2 hours is this normal?

3) Does the network I submit the transaction to make any difference to the fee and the time to first confirmation, as indicated here... http://p2sh.info/dashboard/db/fee-estimation

4) I hear that some miners prefer to mine transactions with no fee as it gives them some kind of advantage? Any information on this would be great


texts: Is it possible to make PoW ASIC-resistant through dynamically generated hash chains?

texts:
Bitcoin's static proof-of-work function SHA256(SHA256(data)) was apparently easy enough to be implement as ASIC which lead to the re-centralization we see today.

But what if the PoW function changes for every new block based on the hash of the last block mined? One could generate a new hash chain by seeding a commonly known PRNG with the hash of the last block and use it to generate a chain of hash functions from a (large) pool of commonly known hash functions.

Steps:

RIPEMD(SHA2(SHA3(MD5(RIPEMD(SHA2(data)))))) => digest (i.e. old block header hash)
PRNG(digest) => SHA2(MD5(SHA3(SHA3(RIPEMD(RIPEMD(data))))))
digest (i.e. new block header hash)

This way every miner would know how to generate the new chain of hash functions which has to be used to generate a digest with certain criteria (leading zeros) for the next block but nobody could calculate the subsequently hash chains and nobody could implement static hash chain circuits but has to use FPGAs which have to be reprogrammed every block and have to be able to host every possible hash chain constellation. If the hash chains are complex enough it might even lead to a decrease in FPGA efficiency which would favour general computing hardware and reinstate the "one-CPU-one-vote" principle.

What do you think of this approach? Why might it be flawed?


texts: Are there any stochastically dependent proof of work algorithms?

texts:
In bitcoin, the probability of discovering a block on the X-th hash is the same1 as it is on the Y-th hash. As such, the probability of discovery is stochastically independent.

Are there proof of work algorithms that are stochastically dependent? Miners using one might have no idea how close to a discovery they are, but they would know that they are "getting closer".

Read on if you would like a quick and dirty description of why I think such an algorithm could be interesting:

A consequence of bitcoin's stochastical independence is that whenever a miner discovers a block, none of the other competing miners are "any closer" to rediscovering the same block (with a different, yet valid hash also meeting the difficulty). It is of course only natural then that bitcoin doesn't provide any incentive/reward for rediscovering blocks, as that proof of work is better spent attempting to discover the newest block. Unfortunately though, an attacker with enough hashing power and time has a good chance of besting the competition several times in a row; which is why it's said that to be safe you need to wait for 6 confirmations, which amounts to an hour of transaction waiting time for. We could say that in bitcoin confirmations are serial.

In contrast, stochastically dependent proof of work could allow for efficient implementation of parallel confirmations; thereby greatly reducing transaction waiting time, since rediscoveries could be expected to follow shortly after the first discovery of a block. Assume a cryptocurrency using such proofs to reward not just the first discovery of a block, but also the first X of its rediscoveries. The payment receiver then only needs to verify that the transaction is listed in all the block's discoveries (or at least a high enough percentage thereof). The amount of hash power needed by an attacker to make rediscoveries should ideally be the same as it was for the initial discovery (grow linearly). These rediscovery hashes could be recorded in the same way as transactions, by being included for a fee/reward in a child block.

1Actually, the probability increases ever so slightly when no blocks have been discovered yet, and only a fixed minimum of bits are altered such as when only the nonce field is increased; but the difference is so small as to make no matter, given the astronomical number of possible hashes meeting the current difficulty.


texts: CPUMiner - Do I also need to download Bitcoin client and 15gb chain?

texts:
Just out of curiosity, I downloaded cpuminer, signed up at a mining pool site and started the miner.  It seems to be doing something.

[2014-01-22 22:51:09] 1 miner threads started, using 'sha256d' algorithm.
[2014-01-22 22:51:09] Starting Stratum on stratum+tcp://stratum.bitcoin.cz:3333
[2014-01-22 22:51:10] Stratum detected new block
[2014-01-22 22:51:12] thread 0: 2097152 hashes, 1600 khash/s
[2014-01-22 22:51:42] Stratum detected new block
[2014-01-22 22:51:46] thread 0: 56289640 hashes, 1652 khash/s
[2014-01-22 22:52:47] thread 0: 99121136 hashes, 1624 khash/s
[2014-01-22 22:53:48] thread 0: 97418224 hashes, 1599 khash/s
[2014-01-22 22:54:40] thread 0: 95913336 hashes, 1821 khash/s

I was under the impression that mining could not be done without first downloading the whole chain (that takes about 3 days to download).  Is cpuminer really doing something or just showing me some fake data?


texts: Can the system of votes (of Stack Exchange) be considered as a blockchain?

texts:
When discussing with a friend about blockchain, he told me that he read an article about using blockchain in management: people can vote on somebody else's work, so that he can gain reputations points, etc.

This made me think immediately of stack exchange, with its voting system. Then I found this: https://followmyvote.com/online-voting-technology/blockchain-technology/

It is possible to hack stack exchange et add manually reputation points? Is there anything to compare with blockchain technology?


texts: How to restore my old wallet from address and privatekey?

texts:
Few years ago I created a bitcoin wallet. I did it with some command line util which generated bitcoin address from template. At the bottom of output util tells me to store this in private place. I did it and forgot about bitcoin for few years. I attach util output below this post.

Now I would like to restore my wallet and hope to find some bitcoins on it. How can i do it with official Bitcoin Core wallet?


texts: If I want to build up a website to offer bitcoin exchange service, how to add my site to https://bitcoin.org/en/exchanges

texts:
Does anybody give me a clue?
I want to run some business with exchange bitcoin for people. But how to make it well known? Adding it to bitcoin.org's list is a good idea, but is that possible, and how to achieve this?


texts: How do Bitcoin transaction signatures actually work?

texts: So I recently got interested in Bitcoin, and have been trying to learn more. I was reading the Satoshi whitepaper on Bitcoin and came across a diagram of transactions (I can't post pictures yet so I have attached a link to the paper, the image is on page 2 nearest the top: https://bitcoin.org/bitcoin.pdf) I was wondering if someone was able to explain this a bit better for me. My understanding, as the white paper seems to say, is that Bitcoin is a chain of digital signatures that works as follows: "Each owner transfers the coin to the next by digitally signing a hash of the previous transaction and the public key of the next owner and adding these to the end of the coin." So would that mean taking the previous transaction and hashing it together with the recipient's public key, and then encrypting it with your private key in order to create a signature? Is the previous transaction just represented by a signature? I realize this question is a bit dense, but any explanation about how transactions actually work would be very beneficial.


texts: Why don't any of the SHA-256 vulnerabilities matter for mining?

texts: Wikipedia lists several vulnerabilities in SHA-256. Presumably, none of them can be used to mine faster, or it would be done already. Why don't these vulnerabilities lead to a problem for mining?


texts: Why is creating a bitcoin fork very difficult and a Ethereum fork easy?

texts: There are a dozen of projects based on Ethereum but very few based on the Bitcoin network. Why is this?


texts:
What do you find the best way to generate a paper wallet for BTC?

I've heard of this one: https://keybase.io/warp/warp_1.0.9_SHA256_a2067491ab582bde779f4505055807c2479354633a2216b22cf1e92d1a6e4a87.html

How can you be sure your address is not compromised?

Thank you!

David


texts: I can withdraw my BTC on cryptoayo and they insisting on me to pay an amount ...?? How can one unlock block chain and be independent and withdraw?

texts: Hello guys ...Im asking how can I withdraw from cryptoayo and there is a block chain that doesn't wanna release my current balance and it's 23,825 been trading on auto trading for six months


texts: How does Bitcoin Cash implement replay protection?

texts: Bitcoin Cash says that they are providing replay protection for their fork. How does this replay protection work?


texts:
Is there any other options how an i buy BTC other than on an exchange ?
Why do i ask, we would like to buy BTC as a company which is not in ENG speaking country.
For that reason all paperwork has to be translated and then sent to exchange in order to create a business account - do you have any experience of doing so ?
In the meantime is there any legit way how to buy a BTC as a company ? - do you have any experience of doing so?
Thank you all for information ! stay healthy


texts: Inherited bitcoin. Want to sell. Have wallet.dat . Please help

texts: Inherited bitcoin. Want to sell. Have wallet.dat on my computer. How to sell the bitcoin in the wallet? Do I need a passcode ?


texts: Is it possible to retrieve bitcoins from a Bitcoin address and possibly a private key?

texts:
While mucking about with Bitcoin a couple years ago, I setup a Bitcoin address and added a couple bitcoins.

I have the Bitcoin address and possibly a private key, but I cant remember how or where I set it up.
Using blockchain I can see the wallet and its contents.

Is it possible to access the wallet and retrieve the coins?


texts: Errors Connecting to Bitcoind Server with RPC

texts:
I have been trying to connect to a remote bitcoind -daemon running server. I can access it with the curl command explained at the end of the page here (https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)) by putting in the correct port number, but when I try to call from a remote host, I get a:

curl: (7) couldn't connect to host

error

I checked with netstat and it looks like bitcoind is listening on the port (otherwise I wouldn't be able to do rpc locally), and accepting all incoming IP addresses.

My bitcoin.config file also allows for all IP addresses and rpc (no ssl, although if anyone has a detailed decscription of how ).

I also made sure that I opened up a TCP port.

Here's the curl command I'm using:

curl --user <user> --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' <ip address:port>

Does anyone know what else might be wrong?


texts:
I installed the bitcoind and started it as daemon.
After 10hours I've tried "du -h"

ubuntu@ip-172-31-37-93:~/.bitcoin$ du -h
16K     ./database
59M     ./blocks/index
29G     ./blocks
646M    ./chainstate
30G     .

How to know if it synced or not?

UPD found an interesting script to monitor node sync status How to check Bitcoind block chain download progress level


texts: Bitcoin-cli -regtest getaccount, listaccounts, setaccount, method not found

texts:
I just setup bitcoind (0.18.1) and put it in regtest mode, I am trying to work with accounts, but the account commands are not found...

setaccount

 jlroberts@mixerregtest:~$ bitcoin-cli -regtest setaccount 2NDCk4d7BYGztagf812gUdWqqPSMymdH4rS one
 error code: -32601
 error message:
 Method not found

getaccount

jlroberts@mixerregtest:~$ bitcoin-cli -regtest getaccount one
error code: -32601
error message:
Method not found

listaccounts

jlroberts@mixerregtest:~$ bitcoin-cli -regtest listaccounts
error code: -32601
error message:
Method not found

getblockchaininfo

{
  "chain": "regtest",
  "blocks": 303,
  "headers": 303,
  "bestblockhash": "77d7169d013574a1254ccf472389b40c3393f41498ddc6f84b8d078c740d3da3",
  "difficulty": 4.656542373906925e-10,
  "mediantime": 1568636861,
  "verificationprogress": 1,
  "initialblockdownload": false,
  "chainwork": "0000000000000000000000000000000000000000000000000000000000000260",
  "size_on_disk": 92175,
  "pruned": false,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "reject": {
        "status": false
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "reject": {
        "status": false
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "reject": {
        "status": false
      }
    }
  ],
  "bip9_softforks": {
    "csv": {
      "status": "locked_in",
      "startTime": 0,
      "timeout": 9223372036854775807,
      "since": 288
    },
    "segwit": {
      "status": "active",
      "startTime": -1,
      "timeout": 9223372036854775807,
      "since": 0
    }
  },
  "warnings": ""
}

What could I be doing wrong?


texts: How to get the bitcoin balance of a public key in C#?

texts:
How can I get the bitcoin balance of a public key in C#?

E.g. for this public key: 1FqLoEpbQpMxow5bqEPpFbPVnBEbFcsg3J

How can I get its balance in C#?


texts: Antminer S1, how to mine on multiple pools

texts:
I have an ant s1 and I want to mine on 3 pools. We can set them in the miner configuration but  the antminer use only the first one. I guess it will use the second then the third one in case of failover.

Is there a way to make the antS1 mining simultaneous on the different pools?

Thanks.


texts: How is the UTXOs of each partially-spent TxIn determined?

texts:
My current understanding of a transaction is as follows:

a transaction (Tx) can have multiple inputs (which are previous unspent transactions = UTXOs), let's call them the TxIn
a Tx can have multiple outputs (which thus become UTXOs before they will themselves become spent by being used as TxIn), let's call them the TxOut
the TxOut have a specific order N in the transaction: TxOut[0], TxOut[1], etc.
each TxIn references the number N which corresponds to the index of the TxOut referred to in point 3 above, so this makes the link between a specific TxIn and a specific TxOut
each TxOut specifies a specific bitcoin amount (which represents the UTXO amount that can be later spent)
each TxOut references one or multiple (in the case of MultiSig) bitcoin addresses (public keys) that can spend the amount
however, and this is what I don't understand, the TxIn does NOT specify the amount of bitcoins that are used

If the TxIn does not specify the amount that is used, how do we determine the spent amount for each TxIn, and thus the UTXO of the part of the TxIn that remains unspent?
Example, a transaction with 2 inputs and one output (assuming no fees):

TxIn[0] whose UTXO before spending is 1 BTC
TxIn[1] whose UTXO before spending is 1 BTC
TxOut[0] whose value is 1.5 BTC

How do we know which TxIn, and how much of which, was spent?

was it TxIn[0] for 0.75 and TxIn[1] for 0.75?
was it TxIn[0] for 0.5 and TxIn[1] for 1?

What am I missing? Because given the above, it is not possible to determine the spent proportion of each input.


texts: How to find/view derivation path in Bitcoin Core

texts: I have found many default derivation path online which is used in bitcoin core, but i still can't get the correct one so that i can import my bitcoin wallet to my electrum wallet (BIP 39 option) with 18 words seed which i had got from bitsblock.io while initial download. I wanted to know how can we exactly find the derivation path in Qt GUI, as i had found a command online wallet.keystore.derivation but it doesn't work.


texts: Getting transactions and time from Block Chain Info Api

texts:
I want to fetch transactions for an address from the following api:

https://blockchain.info/address/$btc_address?format=json

The thing is understanding the json returned from the api, I don't understand which of them are the transaction and the time when that transaction took place.

Can any one help?


texts: Can we sign a psbt raw tx having multiple inputs created from BTC node with bitcoinjs lib?

texts:
Due to secruity reasons, unavailablity of private keys on my end and as per project requirements I need to build back end apis where I will provide a PSBT raw transaction hex (having multiple inputs)  to front end, On front end, user will add their mnemonics and will sign all the psbt inputs individually, once all inputs are signed then a final signed raw tx hex get created.
Upon receiving signed hex I will broadcast it to the btc node and return the txid to the front end.
I am unable to find any way to sign psbt raw transaction inputs ( which is generated from btc node ) using "bitcoinjs-lib".
Could anyone please suggest how can I achieve this.
Regards,
Giri


texts:
On Coinmarket cap there are volumes listed on http://coinmarketcap.com/currencies/bitcoin/#markets but there are some large numbers at the bottom of the page which dont seem to be included in the daily volume total at the top of the page.

What do these numbers mean?


texts: What is the bitcoind command to send all coins to another address?

texts: I'm running bitcoind and I want to send all my coins to another address. What is the command for this?


texts: Isn't bribe smearing possible because no payee signature is required?

texts:
The Bitcoin protocol does not require the payee to sign for a payment; only the payer signs (the payer signs a hash of the payee and payer's public keys). In other words, a payee signature is not required for a transaction to be added to the Ledger.

So wouldn't the following kind of smear attack be possible?

(If you're a Democrat, insert "Koch Brothers" for the Attacker; if you're a Republican, insert George Soros; etc.)

Victim runs for public office.
Attacker easily figures out Victim's public key(s) from the Bitcoin Ledger and other sources.
Attacker makes lots of big, expensive Bitcoin payments to Victim's public key(s) from mysterious payer public keys that are not (easily) traceable to the Attacker.
Attacker tips off Fox News/MSNBC/etc that Victim has been receiving enormous, shady Bitcoin payments, and all they have to do to verify this is look in the Ledger.
Victim's candidacy becomes engulfed in Fear, Uncertainty, and Doubt, and Victim's polls plummet.
Victim withdraws candidacy for public office long before the election.

Q1: Am I missing something, or does Bitcoin make this possible?

Q2: If it is possible, couldn't it be fixed by only accepting payments in the Ledger that are signed by both the payer and the payee?

TMIA.


texts: Why does the bitcoin wiki have an invalid ssl certificate and show PHP errors at the top of every page?

texts: I figured this would be cleaned up pretty quickly, but it seems to have been that way for a month or more.  Was just curious - it is many people's first exposure to bitcoin and doesn't really install confidence.


texts: getblocktemplate fails in regtest mode even when it is connected to the other node

texts:
I have created two nodes and connected the 1st node with the 2nd node in regtest mode . Now when I make the getblocktemplate command using bitcoin-cli . It fails with bitcoin is downloading the block.

Bitcoin core vs v0.16

admin1@root:~/Projects/bitcoin$ ./src/bitcoin-cli -regtest -port=8333 -rpcport=8332 -rpcuser=test -rpcpassword=test getconnectioncount
1
admin1@root:~/Projects/bitcoin$ ./src/bitcoin-cli -regtest -port=8333 -rpcport=8332 -rpcuser=test -rpcpassword=test getblocktemplate
error code: -10
error message:
Bitcoin is downloading blocks.


texts: Can't generate same addresses as bitcoincore using xprv from bitcoin-core

texts:
First of all all addresses below are for testing purposes so I don't care about private keys.

So dumped wallet created by Bitcoin-qt v0.16.2:

extended private masterkey: xprv9s21ZrQH143K3mYiBBH7MwWV9VTkeB5q5sxEFGgvLbLqRZ3xPVAKvwyxSLVtTcL2tz665vdZnHLrMQPr6MWGKdDHYoncZmUNiUgtShGCmZE

From what I can understand from the rest of the dump the first receive address is:
addr=3DhmoRSx2bjxyJm7A1Crs3bCPnVcEx51fE hdkeypath=m/0'/0'/0'

Now I am trying to generate same addess using bitcoinjs-lib but haven't had any success so far with it.

import { HDNode } from "bitcoinjs-lib";
const key = HDNode.fromBase58(
 "xprv9s21ZrQH143K3mYiBBH7MwWV9VTkeB5q5sxEFGgvLbLqRZ3xPVAKvwyxSLVtTcL2tz665vdZnHLrMQPr6MWGKdDHYoncZmUNiUgtShGCmZE"
);
console.log(key.derivePath("m/0'/0'/0'").getAddress()); // prints 1NoQERVA18v5WcFUbgvz22tDGigmAkqy4U

Now I get confused becuase I use same derive path but I get 2 different addresses and on top of that looks like address from dump is multisig? Is it becuase of multisig?

If so how should I generate wallet.dat that is not multisig and is HD.


texts:
Is this a valid case in blockchain?

if yes whether the reward for t1 is shared and if not, which block will be invalidated or why not everyone will prefer to solve the block with a single transaction


texts: Is it possible to copy BTC balances of only some addresses while forking

texts:
I want to fork a Blockchain for private use, however I want to keep only balance of some known adresses
for example if my adresses are @A(10BTC), @B(20BTC), @C(30BTC)
I want to see same adresses with same amount on the new forked one
@A(10BTC), @B(20BTC), @C(03BTC), @D(5BTC), @E(6BTC)

Many thanks


texts: How would Bitcoin look like if the primary design goal was to have LN-like payments?

texts:
Today (assuming SW), we have Bitcoin, which allows us to build LN using a set of smart constructs such as HTLCs. But this is a result of a work of people trying to figure out how to take what Bitcoin offers and build something on top of it, what was not necessarily in the mind of the original designer. This is where we face certain technical issues that we can overcome, and it will work, but it is probably not the optimal design IF we wanted to have LN in the first place.

So, what would such a design be? Would you add new types of transactions, would you have different script opcodes, would you start of Mimblewimble?

Say you want to design an altcoin with one main goal - to have as good LN-like system as possible. Let's define LN-like system as a system of off-chain transactions with on-chain guarantees, but don't limit it very much further.

Would it be possible then to have something better than Bitcoin's LN? For example, would it be possible to avoid that channel capacity limitations (i.e. there is a total capacity of a channel and if you don't balance it, you will need to open a new one) etc.?

What are these factors in Bitcoin design that limit LN to be even better?


texts:
I tried to find an online tool that would allow me to calculate how many BTC (or portions of it) I might be able to mine with my computer, but I couldn't find an answer that is exhaustive.

Is there any such tool?


texts: What is the exact moment when a miner gets rewarded?

texts:
I know that a miner rewards self through a coinbase transaction in the newly created block. But the block has to be accepted by 51% of the network to be considered mined.

1). Does the miner get rewarded once 51% nodes accept the block? If so, how is that acceptance information propagated to his/her own node - is it done as and when each node in the network accepts it?

2). Or does the miner get rewarded the moment he/she creates a block and broadcasts to peers?  If so, how is the reward reverted if the block is found to be invalid?


texts:
I sent Bitcoin cash to a Bitcoin paper wallet. I think it is wrong because the transaction on public key give me 0 BTC.
What can I do to recover my Bitcoin cash?
Thanks!


texts: Why does every "defi" thing only support garbagecoins and never Bitcoin?

texts:
I swear, I seriously feel like I've already gone insane and I can't even trust my senses at this point. I've been chewing through website after website listed as "defi", repeatedly finding the exact same thing:
Bitcoin is not supported, and they all want me to "connect my wallet" inside the browser.
What's with this? Why do they support 927 different garbagecoins I've never heard of (outside of these websites) but never Bitcoin (BTC)?
I honestly believe that all of those websites are made by the same entity, and that they are all some kind of elaborate scam. But what I can't figure out is why none of them even support Bitcoin -- the only real crypto currency.
What am I missing?


texts: How long does it take to earn back the investment of a miner?

texts:
I was strongly considering buying one of the 25 GHash/s miners and hooking it up to my laptop or desktop when not using them, as in, leave the miner running overnight or while I'm at work.

The mining profitability calculators confuse me. If I join a pool and mine the way described above, would it be profitable?

How long would it take to earn that c. $800 back?


texts:
What is the difference between red and green rectangle?

And why there is 0% written in the chart?

And also, why is mtgox only focusing for 1 month and no more?

EDIT: The 0% in the chart appears only after loging in.


texts: A node can publish any block at any time. How? How to publish?

texts: Can anyone tell me what to do to publish if I mined a block


texts: Using regular expression match instead of prefix, is there a way to add a difficulty and probability check? Seems to only report keys/s and total keys tested.


texts: How does solving a block work in relation to the first letter/number after the 0's?

texts:
I did a terrible job of explaining it in the title so I'll explain here. Say the target hash to solve for a block is 00004aef... etc. does that mean that you can't solve the block if you get 00005fad (since 5 is more than 4 so technically you didn't get lower or equal to the hash)? Or is the only thing that matters in relation to the less or equal when it comes to solving the hash the amount of 0's you get?
Also, what if you get a letter after the 0's, for example 0000ba2... does that mean you need to get 0000a... or does it not matter?
Thanks.


texts: I have been reading about the LiteCoin, and how it uses a hashing function (scrypt) that is not able to be mined by ASICs.  As a side-effect of this, it has been said that people with GPUs will move to Litecoin, as the ASICs take over bitcoin mining.  I'm wondering, are there any hashing functions that are resistant to GPUs as well as ASICs?  It would be nice to have a crypto-currency based on those, so I could use my CPU to do mining, without having to buy an expensive graphics card to keep up.