texts: How to modify for Hex to base58check converter via python

texts:
I am far from programming, I found this convenient script, it just has an input - a text file with a HEX list in a column and the output of the result - a text file with a WIF list in a stack. I would like to get another output - a text file with the Base58check list in a column.
I have this Hex to wif converter python script
import binascii, hashlib, base58, sys

arq = open('list-WIF.txt', 'w')
def convert(z):
private_key_static = z

extended_key = "80"+private_key_static+"01"

first_sha256 = hashlib.sha256(binascii.unhexlify(extended_key)).hexdigest()

second_sha256 = hashlib.sha256(binascii.unhexlify(first_sha256)).hexdigest()

final_key = extended_key+second_sha256[:8]

WIF = base58.b58encode(binascii.unhexlify(final_key)).decode ('ascii')

print ("Private Key on WIF Compressed format below")
print (WIF)
arq.write("%s \n" % WIF)

with open("brute-pvks.txt") as file:
for line in file:
print (str.strip(line))
convert(str.strip(line))
How to modify this for convert Hex to Base58check?


texts: How can I work out why a transaction isn't being included in any blocks?

texts:
I've crafted a testnet p2sh address using python-bitcoinlib.

The script contents is 2-of-2 multisig: 2, key1, key2, 2, OP_CHECKMULTISIG

Redeem script:

522102e637c8658a9647e67b3d9961f0e0a6d1af9427396db430bfef9e2e01bb5618d12103e645fe283cc6759cb0b5aae4a767f74195fa3deeee69749345b5e4b5f3aae7d852ae

Address:
2N1TtyXGR2kDpnaGkJNx17fPyURqgLDdEgd

I then generated and signed a transaction spending some funds. I used python-bitcoinlib's VerifyScript to check the transaction and no exceptions were raised.

Transaction:

0100000001604b635009e1c6ba2db554607b08af3a6ea54f852900e9bc3729589f9b8bdee901000000db0048304502210081e35badb1795ce3c5f22430ac01e51eed2d364dc55292bdc9783e64f5cf5e2f02205cf02ec0bad7c9efd1af57c3cd825b2eda819de0aa64639dc3f2cc274ca0fffa01483045022100b360d75cd92fd5482345a9aebfe44714fe85edab75d1d1bd8d0ba169d13b4b50022031175c5c39145acc3c6635d6c9a9bb1b55c31a5b54140899a4f0b6104d68390e0147522102e637c8658a9647e67b3d9961f0e0a6d1af9427396db430bfef9e2e01bb5618d12103e645fe283cc6759cb0b5aae4a767f74195fa3deeee69749345b5e4b5f3aae7d852aeffffffff01a0860100000000001976a91418c72ac74d84b2bc8a5e4db72a518a4a39025b3888ac00000000

It's been over 10 hours and the transaction hasn't been included in any blocks.

Is there some way to work out why that might be, or if there is something wrong with the transaction?


texts: Calculating the mining profitability of Novacoin

texts: I've been researching altcoins and keep coming across some staggering figures. I think it's just too early to do math, but if I were to farm novacoins for example calculator here and I have pretty much no cost (0 power and 0 hardware), my rig can run 500-600 Mhash/s (aka 500,000-600,000khash/s since that's what the calc uses), lets ignore difficulty increase. The calculator says I can make ~$100 PER DAY. This can't be right, can someone figure out what I'm doing wrong here?


texts: Can I build a raw segwit transaction with no segwit inputs?

texts:
I am trying to build a segwit transaction between a regular p2pkh address and a p2sh 2-of-2 multi-signature address. I have successfully transacted back and forth between these two addresses before (Testnet), but now I want to implement a segwit transaction. However, when I try to broadcast the transaction, it says "unexpected witness payload for non-witness script..". I am seeing the default witness field as "b'\x00'".

Documenting myself more about the subject, I found that "If all txins in a transaction are not associated with any witness data, the transaction MUST be serialized in the original transaction format, without marker, flag, and witness".

Does this mean that in order for me to test my segwit code, I will have to wait till I get a segwit input somehow?

This is my transaction hex:

01000000000102575307b5cd2a1364c48501434790c0e83c22a16a4b5a902b62e46a34bca06a81000000006b483045022100e07aeaa18e08dedbeebfa7c7299dad2a5dd18df0b31af2f654f2a139d5c6f3900220286b641f4a444d23c952cded85939177abbc7510f909f156fadef5399e20dbe8012103e07f96e5ba598431c0c994493a4ae988c9854c171d5d4bb140db0a27a4c853e4fffffffff53d3533ab79d8425526a7378c91a718e8b526ca32e317b4193333949c261ec9000000006a4730440220780a21e18feeddecb6ca999370fe76a8b612dbaca18ea1249bc312da32f4534c02207342a4d9daea5bbc314e1965f952fbc7fcfcfa5b3b208efc9f2fe0f380afa39b012103e07f96e5ba598431c0c994493a4ae988c9854c171d5d4bb140db0a27a4c853e4ffffffff02102700000000000017a914c104b576f5436309587aefa3ddddd5c295b904808702db1d00000000001976a91452903efc1004de01883ba3687be2a8ea4f6b1b1988ac0100010000000000


texts: What is the best way to restore an old Multibit wallet to the new version (and also different OS)?

texts:
My files from Feb 2014 (on a dusty old usb) are as follows, all in a directory called MultiBit.
directories:

multibit.log (containing a log file)
multibit-data, containing four backup directories including key-backup, which itself contains two files like multibit-201402xxxxxxxx.key
and five files: checkpoint, info, properties, spvchain, wallet  (all preceded by multibit.)

It seems the “multibit” prefix changed to “saving” after 0.5.13. Also I have no “wallet words”, only a password, so I guess that changed too.

My thought is to use the import private keys procedure given in Multibit support. This would get around a new Multibit install asking for the wallet keys with the restore wallet procedure. And possibly issues with using a new OS too (Linux).

But:

1) Which multibit-201402xxxxxxxx.key file should I use,  the most recent, or both?  Will this work with my old files; should I change the prefix to “saving”?

2) Should I instead install some early Multibit version and use restore wallet from within the program? In which case can I tell what version I had in 2014 from my log file (or otherwise)?

3) Possibly not relevant, but I’m not sure if my files are from running a Multibit backup, or just manual copying. There is no .exe files in there, but they were created under Win (98 I think).

Note this question Help retrieving my old wallet, is similar, but doesn’t ask about importing private keys, among other things.
Also this question Transferring bitcoins out of an old multibit wallet, has a brief comment by the OP they managed to import their private keys, but not how this was done.

Not massive value in there but I’d be very grateful for advice.


texts: In case of a double spend (after double spend and prior getting resolved) what is actual account balance?

texts:
For eg. if Ta and Tb are a double spend of the same transaction with different outputs. These two transactions can flow through different path in the network, and assume flow in exactly opposite path. So Ta reaches miner Ma who creates a block and Tb reaches another miner Mb. Now, Ma may solve the block with Ta and Mb with Tb. Both start broadcasting the respective blocks with Ta and Tb to be a part of block chain (fork created here).

After fork is created and before it is resolved, what is actual balance appearing on the account? Is it double down and gets credited later on?


texts: What would be an example for an insertion into the blockchain?

texts:
I'm reading the paper The Bitcoin Backbone Protocol:
Analysis and Applications. On page 21, definition 8 reads:

An insertion occurs when, given a chain C with two consecutive
blocks B and B, a block B* created after B′
is such that B , B*, B′ form three consecutive
blocks of a valid chain. A copy occurs if the same block exists in
two different positions. A prediction occurs when a block extends
one which was computed at a later round

The word round seems to be indicating that the network is considered synchronous and time is divided into rounds. My understanding is that an insertion has a negligible probability but what would it look like if it did happen? I could use an example and more explanation for how insertions could happen and under what conditions.


texts:
I am reading the bitcoin developer reference and having a look on the transaction input structure. If you have a look here https://bitcoin.org/en/developer-reference#raw-transaction-format it says that the previous output  has 36 bytes. I am confused, because I read also the 'Mastering Bitcoin Book' and this wiki page (https://en.bitcoin.it/wiki/Transaction) and they state that the size is 32 bytes.

Is this a mistake in the reference or is it something new which did not propagate to the other sites? Would be nice if someone could clear that up for me :)


texts: How can I buy Bitcoin via a Credit Card or Paypal?

texts:
I want to buy some bitcoins. Ideally, I would like to buy them on the MtGox exchange (because the consensus seems to be that this is the most reputable exchange), however I have found the system for transferring USD to MtGox to be very disappointing. I would have liked to be able to add funds with PayPal or directly with a credit card, however both of these are not possible.

My question has two parts:

Is there an easy way to use a credit card to add USD funds to my MtGox account. Liberty Reserve, Dwolla, and Paxum seem to be the financial institutions of choice for MtGox and the rest of the exchanges. Is any of these simple to fund using a credit card, or are they all basically PayPal analogues (which Paxum seems to be) that require a large amount of setup?
If it is not possible for MtGox, is there another, hopefully reputable, exchange that I can use PayPal or a Credit Card to buy bitcoins with?


texts: Signature digital algorithm in bitcoin, to what will it change in the future?

texts:
in follow-up to the question: 85202
There, @Ugam Kamat wrote ""ECDSA is the first thing that can get vulnerable with quantum computer. signature will need to move to post quantum world much before quantum PoW.""

My follow-up to that:
to which signature concept are experts thinking on moving to in the future, any ideas circulating right now?

thx


texts: wallet will not sync it has been a week and I still do not have my money in the wallet. It took out my account

texts: I have video proof that this has been going on for a week I have restarted the computer multiple times and have yet to receive any money into my account. I do not even have a wallet number.


texts: How should a node deal with a block that is not connected to the chain?

texts: Suppose I am a node in the Bitcoin protocol and I receive a block that does not point to any  block in my current chain. Should I keep it on the side, waiting for missing intermediate ones? Should I propagate it? Should I just erase it?


texts: What would happen if two blocks had the same hash?

texts:
Consider the following scenario:

January 2016 block A gets submitted. Its hash is 0001010.
January 2017 block B gets submitted. Its hash is also 0001010 (collision).
10 minutes later, block C gets submitted and the previous field points to the hash 0001010.

Is it still possible to determine that the previous block is block B and not block A?

Note that while this is unlikely, there are not 2^256 possibilities a block hash can be. Every block hash has to start with zeroes which decreases the amount of possibilities. In this scenario there are only 2^4 possibilities even though the hash has 7 bits which would theoretically allow 2^7 possibilities.


texts: Is there any way to change wallet gap limit in Electrum from command line? If yes, how? If not, could it be bypassed using some kind of external script? I really need to avoid GUI. Thank you in advance.


texts:
According to https://bitcoinfees.21.co/, "For the median transaction size of 226 bytes, this results in a fee of 0.678 mBTC."

At the time of writing this equates to approximately $1.53US.

This means that many bitcoin transactions are infeasible (e.g. buying a cup of coffee).

As a result I have a few questions:

Is it possible to anticipate what fees will be in the future (i.e. are they likely to increase, decrease or is it unknown?)
Can changes be made to the bitcoin system to encourage a reduction in transaction fees?

In my limited understanding, I cannot see how this currency has a future when the transaction costs are so high, so I'm interested in whether there is a solution to this, or if it is simply an inevitable part of the bitcoin system?


texts: LoadBlockIndexDB: transaction index disabled

texts:
I'm trying to run bitcoind on a Raspberry Pi 3 but I'm stuck on an error. The raspberry has a Hdd for storage with a fully indexed blockchain that was synced on my laptop and than copied to the Hdd (txindex=1).

When calling the log file I get this message:

Side note: I also did a reindex-chainstate=1 afterwords, but I still got this issue.


texts: Where is the actual data stored and how does that data get stored

texts:
How does data get stored for bitcoin?

Does data in the blocks get stored in files or a database and then get referenced by the blockchain?

If data is being stored in file, how does the blockchain create the files, put the data into them, and in what format are the files?

If none of that is true and the blockchain data exists in memory, if all of the nodes went down, how do you bring the blockchain back up?


texts: Bitcoin Pay-to-PubKeyHash (P2PKH) in multi-sig addresses

texts: Can we send Pay-to-PubKeyHash (P2PKH) to an address which starts from 3 . I tried to send raw transaction to one of my coinbase address which starts from 3 but it send to completely different address which starts from 1 . How can I send transaction to address which starts from 3 ?


texts: To be blunt bought bitcoin in 2009 at 25 cents have not touched it

texts:
I am hoping you can help
I read through a few of you answers to other inquiries and as per my research you are very well versersed.
I acquired Bitcoin back when it first came out of trading at 0.0008 I cant remember the catalyst that popped it out bu was running equities trading desk at the time and was thinking it is stupid not to.
Peer pressure said no but still bought $25 at 8 cents it was in june 2009.  Our tech fellow got it done for me and asked if I wanted a wallet and my limited understanding said I wanted it to stay on the block chain.  Perhaps he did out in the Qt wallet at the time.
I have left it alone for so long but now worth a bunch so wanting to access it with prudence, if I can and it is still there.
I was smart enough to call my mom and have here put the codes in a family address book my sister happened to be there so it ain't no dream.
I will look back for a response and lets hope for a great end to the story.
Excuse the brevity and spelling errors
Regards,
Rainbow Dash


texts: How can you get a list of all addresses mentioned in the blockchain?

texts:
I'd like to parse the blockchain in order to produce a list of all addresses that are mentioned in the blockchain.

I'd like to do this with a program, language agnostic.


texts: What happens when I restart my asic miner?

texts:
I'm new to mining bitcoin with asic miner.
My question is, what happens when I replug my miner?
I have connected it to a pool. And when I replug it, the pool is showing that I stoped mining.


texts: I inverted 2 digits to a wallet in a transfer

texts: Is there anyway to contact the wallet owner to retrieve the coins?  If the wallet doesn't exist, can the transaction be reversed?  Is there anything that can be done?


texts: What is the reason for halving the rewards?

texts:
What is the reasons for halving the rewards?

Why not, for example, let the reward be always the same and the amount of currency always growing? Are the reasons technical or just purely ideological?


texts: How can someone prevent a sybil attack when connecting through TOR?

texts:
As I understand it, running sybil BTC nodes through an anonymous network like TOR is much less expensive than in clearnet. This makes it possible that one could be connected to a majority of nodes controlled by the same entity, right?

Is there any way to limit exposure to this when connection through TOR?

( I am asking for a friend :P )


texts:
To generate offline BTC addresses, I use the bitcoin-core app from bitcoincore.org.  What is the BCH equivalent of this?

Is it the bitcoin-unlimited app?


texts: Find the midstate of an already mined block

texts: I am playing around with a bitcoin miner and wanted to run some tests. Hence I wanted to find the nonce of an already mined block. Lets take  http://blockchain.info/block-index/353394/0000000000000083ee9371ddff055eed7f02348e4eda36c741a2fc62c85bc5cf as an example. I can find the nonce. I can calculate the block header. But how do I find out what the target was as well as what the midstate and data was when the getwork was called for that particular block at the time of mining?


texts: How basecoin transaction is added to a block?

texts:
I'm new to blockchain and bitcoin. In my understanding, miners are trying to find a nonce that is added to a block, and then the hash of the block will have some zeros at first and the first transaction in each block is a coinbase transaction.
Is coinbase transaction added to block before calculating the hash or after??? And what forces the miner, not to add 100 bitcoins as their basecoin transaction??
Also on btc.com I saw that different blocks have different amounts of bitcoins. Shouldn't it be a fixed amount of bitcoin, i.e 6.25??


texts: Nxt / Ardor not downloading blockchain, it just stuck and hangs on startup at "known peers"

texts: I have a fresh install of nxt / ardor and it just hangs on "Known Peers:". I waited a few hours and nothing happens. How can one debug this issue?


texts: Choose where to install bitcoin-qt (linux)

texts: I don't have much space on my / (~12GB) so I would like to install bitcoin-qt to some other drive with free space (since the data files will take around 10GB after synchronization). How do I do that?


texts: For what purposes do we need "Sign message"?

texts:
I got a simple but straight question:

Why do we need "Sign message". Also give explanations and examples.


texts:
What do people exactly mean when they say the person "signs" the transaction to transfer bitcoins?
Is it decrypting the previous output with your private key and encrypting it with the new recipient's public key?
Thanks for your time and efforts.


texts: In Lightning Network, what are the proposals for solutions to transfers to offline end users?

texts:
Basic examples in LN always mention payments from an online end user to other online end user. But let's say we want to send a micropayment donation to a blog that does not have an always online LN client.

With an on-chain transaction, the payer can send the money and the money will be there even if the payee can't check that within a week time. How about LN?

What are the current proposals for such payments? And what are the requirements for such end users who want to receive payments? Do we require the payee to get online at least once a day, once a week, or no such requirements are there?


texts:
Something comparable -- though not necessarily as comprehensive -- to the datasets found here: http://api.bitcoincharts.com/v1/csv/

These links are all dead:
Is there a source for historical LTC trades available?

This site apparently had full trade data history: http://ltc.block-explorer.com/charts

...But that's dead as well.

help greatly appreciated!


texts: So i made my first bitcoin wallet with multibit a long time ago and it didn't require wallet words to create the wallet (aka i don't have wallet words for that wallet). I do however have the wallet files. But seeing as i had a problem with the old wallet i had to update to the newest version of Multibit HD. I did that but how can i get my bitcoins on my old bitcoin wallet back? If i click restore it is asking me for my wallet words but i don't have those because they were never required when i made my first wallet. Please help.


texts: Why can't the genesis block be found I create an altcoin?

texts:
I have built the bitcoin source code with a new pszTimestamp, hashGenesisBlock and hashMerkleRoot

The code builds fine and does not run into any assert problems when validating these hashes on [line 128 and line 129 of chainparams.cpp]. (Great)

However...

When I run bitcoin-qt I run into the error below:

Error: Incorrect or no genesis block found. Wrong datadir for network?

Potential Cause:

Is the reason I am encountering this error because I have not yet mined the genesis block? If so how do I do that? It seems that in the bitcoin code there is nothing about mining the genesis block. I have heard rumours that this functionality was removed and that I will have to download a separate program for this step. Please confirm.


texts: When does the main client relay its knowledge of TXs in INV message?

texts: The inv message is used to relay one's knowledge of blocks and txs to other clients in the Network. When a new Client connects to the Network, it first receives information about all the blocks in form of an inv message, as a response to getblocks messages. As there is no gettx message, I presume the information about transactions is  relayed in the last inv response to getblocks. Is that indeed the way the Standard Client operates, or does it just relay the tx messages only when they arrive, making newly connected Clients wait to catch up with the information about the txs?


texts:
Is it possible to install BFGMiner on Debian Wheezy?

I have been looking for a solution but I can't find one.


texts: I'd like to connect an LKETC USB Scypt Miner to my Raspberry Pi. Help?

texts:
I am new to bitcoin mining, but pretty good with technology as a whole.  As a Father/Son project, I recently purchased a couple of USB LiteCoin Scrypt miners (I bought them here: http://www.aliexpress.com/item/free-shipping-hot-selling-litecoin-USB-miner-220kH-s-scrypt-miner-Litcoin-miner-send-out-in/2019121334.html ).  These have some drivers on them - they came with the Miner and are Windows based (or so they seem) - but I am strictly a Mac / Pi user.

So, I need some help in determining how to connect these Miners to a Pi or a Mac.

Can someone help me?
Many thanks in advance.....


texts: What does malleable mean in "transaction malleability"?

texts:
Does malleable mean modifiable?

If you can malleate a transaction you can modify some of its parts leaving the transaction as still valid (the signatures are not broken).

If you can malleate the transaction outputs you can modify the outputs.

If you can malleate the order of inputs you can modify the order of inputs.

But the bitcoin.stackexchange.com "transaction-malleability" tag says:

  A property of Bitcoin transactions that allows them to be replicated
  with another transaction id before they are included in a block.

This confuses me. Does transaction have an ID at all, and if it does ID seems totally irrelevant?


texts:
I have some Windows nodes and some Linux nodes for a couple of different coins all behind my domestic broadband.

My Windows nodes have full Qt wallets, my Linux nodes are running headless daemons.

My Windows nodes are making IPv6 connections and show their own ip as an IPv6 address, whereas the Linux nodes do not connect with IPv6 and only show their own ip as an IPv4 address.

The Linux nodes are on Raspian Jessie Lite, when I do ifconfig the adapters have IPv6 addresses.  /etc/modules has ipv6 in the file.

What do I need to do to get the Linux nodes listening on IPv6 please?

EDIT: As a test I added the internal IPv6 address of my Windows wallet to the Linux as an addnode=.  The Windows getpeerinfo shows the Linux machine as an ncoming connection, but with its LAN IPv4 address...


texts: Why are brain wallets not secure? People keep saying it, but explain to me why?

texts:
Everyone keeps saying brain wallets are insecure. Can someone explain to me WHY?

What if I had a brain wallet that is 200 characters long which is the concatenation of all of my family members names along with punctuation's and numbers? How about that?

And how long is a private key? I don't see how a brain wallet is insecure if you come up with something ONLY you can know.


texts: Can synchronization be interrupted and continued later?

texts:
I was using the official Bitcoin client some time ago.
It was version 0.5 I think. Then my computer crashed and didn't use Bitcoin for a long time.

I was lucky because I had a backup of the wallet.
Today, I installed the latest version and it's different.
It is running for many hours now but it's still at 18-20 %.

Should I leave it as it is or I can turn off my PC and continue tomorrow?

If I use my old wallet, will it start from the begining?
If yes, is it better to stop the software,
delete everything, replace wallet and start all over again?


texts: How do I tranfer bitcoins from my Zebpay wallet to my blockchain wallet?

texts: I have some bitcoins in my zebpay wallet. How do I tranfer these bitcoins to my blockchain wallet. Is there any transaction fee for this?


texts: Bow to know how much amount my wallet sent with Bticoin-core API

texts:
I have updated bitcoin-core from version 0.16 to 0.17 and found that there is no way to see how much amount I sent only (excluding received amount) from my wallet.

With bitcoin-core version 0.16, I set account "rec" for receiving addresses only and segregate incoming and outgoing amounts. Then

bitcoin-cli getbalance ""

showed the amount sent from my wallet.

But I do not know how to see sum of amounts sent with bitcoin-core version 0.17. Is there anyway to see it?


texts: Do updated blocks from a sync from a years-old old wallet have an effect on its current use?


texts: Filter transactions by time on a given address

texts: Is there an API that will list all transactions made on a given wallet address with the ability to filter by date? I prefer nodejs, but open to other suggestions.


texts: What is the purpose of the 20 XRP cost to start a wallet?

texts:
Does the money stay in the wallet or is it used to pay for something?

If it's used to pay, who does it go to?

If it stays in the wallet, am I allowed to take it out and drain the wallet later without any consequences?


texts:
Following these intr: https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md I have retrieved a git for a crypto. But I am hung up on the step where I add the PATH command. Per the instr:

PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var.

I am unsure of what to place in this command. But obviously need to put a correct file location for my git? Any help appreciated.


texts:
I'm writing a web application that will require subscription fees from users. I'd like to automate this process without relying heavily on 3rd party services (web-based wallets, etc).

Currently, this is how it is designed:

Web app connects to a websocket on the server using a JWT bearer token for authentication and requests an address.
The server calls the getnewaddress method to the RPC daemon and returns this address over the websocket
The wallet's pub (is priv necessary?) keys are stored in the webapp's database as well as the user that requested the address.
The websocket will provide periodic progress updates along with a refreshed JWT (tokens expire every 2 minutes) while waiting for the transaction. If the user disconnects, no harm done.

Once the transaction is completed, a curl command is triggered by walletnotify and submits this TXID to the web server, which ensures "confirmations" are > 0, and the "receive" address is used as the database query to determine which user added time to his/her subscription.

Questions:

Does getnewaddress generate a new wallet? Or am I free to receive as many as I'd like?
Running getbalance <account> shows the summation of all addresses listed in listaddressgroupings. Is this all usable from the same wallet?
How can I consolidate or remove addresses when they're no longer necessary? Do the BTC stay in the "account"?


texts:
I'm studying Script language, but I don't understand How can I rappresent the number > 16, for instance 210

I want to do a simple sum

OP_10 210 OP_ADD

how I have to represent 210?
I'm trying with OP_PUSHDATA1 without lucky.


texts: running bitcoind for the first time - can't interact. keep getting command not found

texts:
running ps yields:

31793 pts/0     11:04:46 bitcoind

but commands like bitcoind getblocktemplate

yields:

bash: bitcoind: command not found...

I've attempted to add the src folder to my global path through the following command:

echo " export PATH=$PATH:/home/jpc/Code/WorkingCopies/bitcoin/src" >> ~/.profile

Thanks for any help.


texts: Bitcoin-Qt frozen catching up/sync with Bitcoin in new wallet

texts:
I downloaded Bitcoin-Qt, got it running, had 15 weeks or so left to catch up (sync) when I purchased some bitcoins and had them sent to my new wallet.

Then to my horror, Bitcoin-Qt has frozen with four weeks to go. It has been running 48 hours without any change in changed blocks left. I have restarted my computer, rebooted the modem, all the simple things but no love.

What can I do to access this wallet? I'm new to all this. I only ever used my online wallet address before.


texts: Could any one show me how to get pubkey in Bitcoin Core?

texts: I am new in Bitcoin Core, and I want to get my public key. Could anyone please show me how to get the pubkey?


texts: I am using Bitcoin-Qt on my Mac under Mac OS 10.8.3. Everything is working fine but when I want to change any settings in the settings menu, it will never remember my new settings. Is there any solution to this?


texts: Bitcoinwisdom shows in their charts lines for weekly and montly averages. Are these numbers somewhere available in an API? If so, one could setup an automated strategy for trading BTC based on this data.


texts: Can anyone explain the differences in behavior of getrawtransaction and gettransaction in RPC?

texts:
I right clicked the transaction history in the QT client and pasted in the TxID below.

Q1

In the following test, can anyone explain what the purpose of the suffix -000 is and what it's used for?

gettransaction 54b9be14443b152b02ed0b18d27504631cccfa84ce9ada03f9558fbb85b6129c-000

Q2

Why doesn't a raw transaction support the same transaction ID format as the previous command?  (I need to remove the -000 characters)

getrawtransaction 54b9be14443b152b02ed0b18d27504631cccfa84ce9ada03f9558fbb85b6129c-000
ERROR: parameter 1 must be hexadecimal string

Q3

When I enable index=1 in bitcoin.conf and reindex, why can't I call GetTransaction for transactions not in my wallet?  I would like JSON friendly results


texts: How exactly does "CoinDance" determine the current number of public Bitcoin nodes?

texts:
On this URL: https://coin.dance/nodes
It says how many public Bitcoin nodes are currently active in the world, and how many Bitcoin Core ones.
While it's good that I can grab these numbers from that webpage, I'd like to know how exactly they determine this, and if it's simple, I'd like to calculate it myself rather than relying on a third party which could disappear tomorrow or lie to me or have a bug or anything.
Is this simple to determine? What steps have they likely taken to calculate this? Does it involve scanning every public IP address in the world repeatedly and checking for listening Bitcoin ports? If so, I'll probably leave it to them as I don't need to emit that kind of insane amount of traffic from my home... not to mention it would probably require me to use tons of IP addresses lest I want to get banned from various network and thus get inaccurate statistics.
Or does Bitcoin Core itself have this information baked in? Does the Bitcoin network send around an integer saying how many nodes there are to each other as part of the protocol, and I can just use the RPC API to my local Bitcoin Core to get this info?


texts: How is the probability of winning a block calculated from the difficulty?

texts:
I have problem finding this. The Bitcoin wiki mentions the probability here, but only with a link to the current value on BlockExplorer.

The wiki page on difficulty doesn't mention the formula for the probability either.


texts: I have mistakenly sent my LTC to (M) address instead of (3) address

texts: I have mistakenly sent my litecoins to (M) as the starting letter of the address, whereas the Litecoin address now has changed to (3) as the starting letter. So can anyone help me to recover this?


texts:
Im currently trying to estimate the frequency of incoming market orders to MtGox order book.
Assume the following buy limit orders:

BID 2@150

BID 3@149

against which ONE market order to sell 5 btc is submitted. The transactions would be recorded for instance as:

Trade_ID   Unix_date   Price   Amount   Type   Properties

1          123456789   150     2        sell   market

2          123456789   149     3        sell   market

The key problem is that despite there was just one incoming order, it is recorded in two rows because it was matched against two outstanding limir orders.

Possible solutions:

1) If both trades have same TRADE_ID, it is possible to group the transactions. Does it really work that way? Do trades resulting from one order but matched against more orders same Trade_ID?

2) Grouping according to unix time stamp. I assume that these two transactions would have same time stamp? If yes, is is possible that any other market order arrives just at the same microsecond as the one above? Or is the microsecond so small time interval that it is not possible for two orders to have same unix time stamp?


texts: Why I can transfer btc from unconfirmed balance?

texts:
I am facing a problem of long waiting unconfirmed transaction since yesterday. (Same problem with many people here). All of my wallet and transaction are Blockchain.info

But while I am waiting for confirming transaction, my destination wallet already got balance and I can do transfer from this wallet to another wallet.

I have 4 wallets (A, B, C, D)

https://blockchain.info/tx/1dac8a76f5fc6115e1c1df2c65f034d89555bf73e09849c615d5e91887d2909a
A->B

https://blockchain.info/tx/dfcf3799b41d0a555d461dc6dda2b28f6f412c3a7ff7ad76a105140752003046
C->B

https://blockchain.info/tx/686a32191cba7b3b4299b60398a23de10e96f1737e26e15cbd6111d6a26d48ce
B->D

The question are
 1. why my B wallet got available balance and can transfer out?
 2. what will happen to my B->D transaction?

Thank you


texts: Is double spending with electrum still possible?

texts:
I tried to follow this tutorial, but I kept on getting an error message saying that there was a mempool conflict and that it was rejected by the network.I even used a script so that the mouse clicked the send button at the same time.

Understanding a Bitcoin Double Spending Transaction by Performing one on yourself

Can anyone help or share their experiences?


texts: Is there some client like Bitcoin core, but which highly compresses the blockchain?

texts: I have been using Bitcoin Core for some months. I need a fully fledged client as I want to help the Bitcoin network. But the blockchain is so huge. I'd love to see some other client, which highly compresses it.


texts: Can I Replace An Old Wallet.dat File In Bitcoin Core Before It Fully Syncs?

texts:
I have an older wallet.dat file I'm trying to re-open in the latest Bitcoin Core version (0.20.1). Once I replace the empty wallet.dat file with the older one:

Do I need to wait for the entire blockchain to sync before seeing the contents of the wallet?
(The point I'm at in downloading the blockchain is well past where the original wallet date was)

If I'm able to see the entire contents of the old wallet before the blockchain is finished syncing can it be done offline or do I need to keep Bitcoin Core online?


texts: I'm not able to mine as much Bitcoin as I was able to a couple of months ago

texts:
I’ve been using two AntMiner S5 ~1155Gh/s and was able to mine about 0.02 Bitcoin.
 However, recently I’m just able to about 0.01 Bitcoin.

I use F2Pool for mining. I thought first the other one isn’t working but it does.
Does anyone know what is going on here?


texts: Sort order of transactions on blockchain.info

texts:
This list of transactions is supposed to be sorted by time, newest first: https://blockchain.info/address/1BWk7rcf4fRS6XHEDqVQPeeoZitGB65GYE?sort=1

However the transactions are not displayed in chronological order.  Is this a bug? Is it ordered by something else?

Also what is the transaction time?  Is it the time a transaction is submitted to a node or is it the time a transaction is added to a block?


texts: Addresses found in wallet.dat that start 00 14

texts:
I found a list of addresses in my dumped wallet.dat file that all start 00 14...    They are script=1.

What are these encoded with and how to decode?


texts: I have over 130addresses and I have never sent nor received any bitcoin. How is that

texts: How do I know the amount of bitcoins in an address. My addresses are so many and my wallet says that no bitcoins sent. How is this


texts: Is there a limited number of Bitcoin wallets?

texts: Is there a theoretical upper bound on the number of possible wallets, similar to the upper bound of 21 million Bitcoins that can be generated?


texts: How do you sign up for the Bakkt exchange to trade Bitcoin Futures?

texts: With the recent launch of the Bakkt exchange. How do you sign up for this exchange or is this exclusively for institutions and not for individuals? There is no sign up option anywhere on their site.


texts: Is it secure to collect common public addresses under a wallet using BlockCypher Wallet API

texts: I am working on an exchange platform with users having separate pair of public and private keys using blockcypher api. I encountered Blockcypher Wallet API, and it seems its a pleasant way of collating Set of Public Addresses to Query Together. For some reasons, i intend to add all new generated public addresses created by any user under a single wallet name (the site name) using the "Wallet API", this will come in handy in the case where by i need to filter all incoming transactions webhook to only the public addresses under the site name into a callback url. So i needed to confirm if this is a secure way to handle it. I would appreciate if an elegant way to handle this can be suggested.


texts: How do I find out if an address belongs to me

texts: 1CK6KHY6MHgYvmRQ4PAafKYDrg1ejbH1cE I believe is an old block chain address of mine


texts: The Mystery: I've mined some BTCs with Bitcoin Core 0.9.0, however the system no longer synchronizes and in the blockchain the balance is zero

texts:
I got some BTCs using a Bitcoin Core 9 version beta, from August to December 2019, they are listed in my history as "generated" and with several confirmations with one, the balance appears in my system, however when I put the key or the hash on a blockchain explorer there is no balance.
Another problem is that my system is stuck, it doesn't synchronize anymore, I've tried using a 0.20 and 0.18 Bitcoin Core, I copied the wallet to the new systems but then the transactions appear without validation, even synchronizing the system.
Does anyone know what I should do?
Below some screenshots


texts: Which is the relation between transactions and blocks?

texts:
I don't quite understand the relation between a transaction and a block.
I imagine it as a list of blocks, and each block having a list of transactions but I have some doubts.

When I do a transaction...

It should go to a specific block?
An unconfirmed transaction is a transaction which is not inside a block?
Can the miner add the new transaction to an older block? Once a block is solved, new transactions can be added?


texts: Is it considered bad practice to have a wallet "cloned" on both a smartphone and a desktop PC?

texts:
I already checked questions as:

Can I use my wallet on different computers?

Can wallets be shared by different machines?

...but what I'm asking regards popular wallets as BitPay and Electrum, that have both the desktop and mobile app, permitting to export and import a wallet. Nothing that takes into account messing with any wallet.dat file.

I'm currently doing this with a BitPay wallet, and it seems it works good. When a transaction occurs (i.e. I receive funds) this is notified on both platforms (I think it's related to how those wallets works; I'm referring to the Bitcore Wallet Service).

I also read about the notorious quote "not a good idea", but I'm not sure of this refers to different type of wallets or what else...

Any clarification on this is more than welcome.


texts: I want to keep some NMC offline. Is there a way to generate an offline wallet like bitaddress.org that I can run on a live CD, generate wallet and keep offline?


texts: How New Bitcoin Addresses not using Signature ? Only witness or Very Short Signature?

texts:
I have Noticed Something strange to me
Newly Used Bitcoin Addresses show repeated very short Signatures
and Multiple Witness ??
and Some not even any signature for the transaction ?
what is happening actually ?
example : https://blockchain.info/de/rawaddr/3BMEXokv2vPoEKPn7YWEhXoPYyZuzauLXJ


texts: Is there any paper wallet printing tools which can print many QR codes?

texts:
I'd like to print many paper wallets which have bitcoins in them. Are there any tools for it?

There are many paper wallet tools which can create and print one paper wallet.


texts: How can I set up a simple single page store that accepts Bitcoin payments?

texts: I am looking to set up a simple single page store. This store should respect the privacy of users by not requiring personal information where none is needed. I want to retain control of the funds, I don't want to sign up with an exchange, but want payments to go directly to my wallet. How can I achieve that?


texts: RPC connection fails after too many queries

texts:
I'm building a node.js app that uses a json-rpc connection to fetch information from the bitcoin daemon.

It works great, except every once in a while, the RPC connection "fails." It goes down for anywhere from 1-20 seconds. Querying it via the command line gives the response: error: couldn't connect to server. I have built in an error handling mechanism that waits a progressively larger amount of time for each unsuccessful connection, and it works well.

My problem, is over the course of progressively scanning the blockchain, over half of the running time is spent waiting for the daemon to come alive.

My thought was maybe its my hard drive/something with my computer, so I moved it to an ec2 instance (specifically c3.2xl) and moved the blockchain to the SSD. This actually increased the amount of time waiting versus running the node app locally.

Has anyone experienced this before and came up with a solution?


texts: how to add a buy transaction using bitcoin @ cryptocompare.com

texts:
I'm using cryptocompare.com to track my bitcoins and altcoins.

I've purchased some altcoins, and added these altcoins to my cryptocompare.com portfolio, and ensuring I entered the amount per unit in bitcoin, but I am unsure if this debits my total portfolio by the amount of bitcoin required to pay for the transaction.

It seems I have too much bitcoin in my portfolio @ cryptocompare.com, which doesn't reflect my purchase of altcoins using some of my bitcoin.


texts: How to open channel with output of closing channel? [Lightning Network]

texts:
How can I automatically open a new channel while closing another, avoiding to create an unnecessary intermediate transaction?
Do any wallets support it at the moment, or would I have to do it with a CLI?


texts: Algorithm to recover missing 12th word (of 12) in BIP39 mnemonic

texts:
I'm trying to recover my Wasabi wallet. For some reason the 12th word of the 12-word mnemonic I wrote was wrong (not in BIP39 list). I could manually guess up to 2048 times, but was hoping there might be an algorithmic way to work through an array of the 2048 words and associate the result with my public keys for the wallet to find the right word.

I'm a newbie programmer, so any guidance on an approach to solve would greatly help and help me avoid a long manual slog. Thanks.


texts: I received an email that says someone sent me bitcoin

texts: I was sent bitcoin through email, but I am being told to pay a fee first so that I can receive the funds. What should I do and I don't have the fees?


texts: Create wallet address on user registration for trading platform

texts:
I am creating a crypto-trading platform . I wanted to know how to create wallet address dynamically for all new registered user and also create new address for every transaction.

I am using bitcoind for bitcoin and will be doing RPC calls directly. Also let me know if there is any better way to do it.


texts: How can I get a private key for this address

texts:
Is it possible for me to withdraw my bitcoin I invested here?
I don't have the private key


texts:
I want to understand better the paths taken by a bitcoin transaction. Whereas familiar with the general setup (submitting a payment, validation using your private key, everyone in the network can verify that your transaction is correct using your public key, mining starts, someone finds a nonce, your transaction is included in the blockchain,...)
However, there are blocks missing:
Is it possible (ex-post) to back out the journey of my transaction through the network (node where it arrives and subsequent propagation among other nodes)? I am wondering just for some illustrative reasons to learn what has to happen until my transaction pops up in the raw mempool of, say, chainquery.


texts: I have a bitcoin wallet on my PC  but I just recently downloaded the MAC version of it.  I would like to initialize it with the blockchain from my PC so that I don't have to download it all over again.  Is that possible?


texts: Using Decred's atomic swap; "transport connection broken: malformed HTTP response"

texts:
I am trying to run the initiate command according to the example at https://github.com/decred/atomicswap

This is my input:
$ btcatomicswap --testnet --rpcuser=myuser --rpcpass=mypass initiate n3GPmHiV1MieHSN1s8zFDGEbVCpTYWRyFX 1.0

after getting errors and correcting the port, now it says
getrawchangeaddress: Post http://localhost:18334: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02\x16"

What does this parsing error mean? At what stage of the RPC connection is it faulting? Any help is appreciated :)


texts: Bitcoin multisig contract - to Lock coins with nTimeLock (BIP65)

texts:
I really need help.
I am currently Developing a Bitcoin wallet and want to build in a SMS Based send function where the sender does not need to know the receiver publicKey. After the contract get executed on the reciever phone through the wallet the public key should be added to it and execute the redeem process / script.

Is that possible in any way?


texts: How many peers it MultiBit connected to? Can not send bitcoins

texts:
I have received bitcoins from an online wallet and I am now trying to send 0.05 BTC to another address. I have by now figured out that I need to set at least 0.0001 BTC as a sender fee (that error message was confusing, because it appears before has the opportunity to set that fee!).

I am now getting the error message “MultiBit must be online and connected to more than one peer to send bitcoin”. I can see from the status in the lower left corner that MultiBit is online, but I can not see the number of peers.

How can I check the number of peers?
Why is MultiBit not connected to more than one peer (if any)?
How long can it take to connect to more than one peer?

I am using MultiBit 0.5.14 with Ubuntu 13.10.


texts: Does every miner verify blocks that are already in the Blockchain

texts: Once a miner adds a block to the chain, does every other miner have to check that block to make sure that its transactions don't violate any rules? For instance, if a miner added a block with an invalid transaction, is every other miner expected to check that block (and perhaps compare each transaction in it with every other transaction in every other block, to prevent, say, double spending)?


texts: What is my goal | Objectives when mining?

texts:
I kept on learning how miner hash | decrypt | calculate all those infos that was given to them by the pool but I can't find how they do it, maybe there's a function something like:

int hashThis( param1, param2, param3 )
{
  ..
  ..
  return somthingCanBeUsedToInformThePoolOfSucces
}

int Submit()
{
  param = hashThis(param1, param2, param3 )
  submitTothePool(param)
}

That is how know mining is, but I don't know how to implement the function hashThis(), that's why I asked maybe you have a goal to reach, and return it when you reached it


texts: App for managing multiple crypto portfolios

texts:
I know I can use Blockfolio to manage/monitor multiple crypto-currencies. However I'm starting to feel the need to subdivide them by the type of asset (different risk classes, price points etc).

I have however been unable to find an app that allows me to create multiple portfolios. I really like Blockfolio in every other way though.

Any ideas?


texts: How is the random number R for transaction signatures created?

texts:
I wonder about the random number used in signatures that result in R values ?
x coordinate R = G(k)
How is it created? Does it have a specific chars length?
Is there a specific random generator used, or restriction arguments?
I saw Python code online and found it is limited to max number of field points:
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141
But as it is in hex format, I didn't know what does it mean.
So what is the max number to be used as it will processed as an integer?


texts:
I am writing an API for one of my systems which can verify if a monitored address is receiving Bitcoin, I can already check if the address is on the newly received block, save it to a database for future use as UTXO, it is being managed pretty well.

I am just running into an issue. Since raw blocks do not hold the height information, how can I calculate (without using any external API) my database stored transaction confirmations? It does not make any sense also in my architecture RPC calls for that.


texts: Electrum Linux run without sudoers installation

texts:
How to easy run Electrum wallet without its installation on Linux?

I want to run it from a single user account with no sudo. It is possible?


texts: How to use the bootstrap.dat in Mavericks?

texts:
So I'm trying to sync with the network in Bitcoin-Qt, but I just can't seem to make use of the bootstrap.dat file that I downloaded, which is annoying because it will be awfully slow to sync without it.

There was no folder in Application Support where the file was supposed to go, so I made one:

User/Library/Application Support/Bitcoin - and put the bootstrap.dat file in there.

Yet still when I launch Bitcoin-Qt it fails to use the bootstrap, and just tries to sync normally.

Does anyone know if I'm doing something wrong here? Or if there's a way around this problem?

I'm running OSX 10.9 Mavericks.

Thanks


texts:
Where is the data folder for Bitcoin-Qt?

Windows:

%APPDATA%\Bitcoin

(This defaults to C:\Documents and Settings\YourUserName\Application data\Bitcoin on Windows XP and to C:\Users\YourUserName\Appdata\Roaming\Bitcoin on Windows Vista, 7, 8, and 10.)

Whereas mine looks like this:

C:\Users\YourUserName\Appdata\

Then my choices are:

local, local low, roaming,

If I click roaming I get Identities- In this folder is a sequence of 32 characters starting with E9. Microsoft- within there are folders named Credentials- empty MMC- empty Crypto- has a rsa file. System certificates- has empty folders. A file called protect- has a sequence of characters stating with s1. Windows folder- contains more folders and files.

I have two appdata folders, one has a swf and a docwrite file and the other is described above.

There is a dat file in local but it isn’t a walletdat.


texts:
I've run into an issue where a bitcoin partition reached 100%.

I created a new partition and try to move the whole Bitcoin directory over, but I seem to be handicapped by "no space left on device" errors.

nyc1_04 is my new mounted volume. I've started the copy process which eventually failed with "no space left on device" and now all operations seem to fail.

i've already tried apt autoremove and apt-get clean.

what are some files i could delete in existing Bitcoin core folder to free up a little space but make it rebuildable when service restarts?


texts:
I tried sending some commands to my Bitcoin-QT running on Mac, and when I called "encryptwallet", I got this response:

Not Yet Implemented: use GUI to encrypt wallet, not RPC command

What API calls listed on wiki are not available in the GUI client, and which are not available in any client?


texts:
The error relate to UPnP as show below.

Please kindly help solve the issue.

Thank you!

C:\Coin>mingw32-make -f Makefile.Release c:\Qt\4.8.6\bin\rcc.exe -name bitcoin src\qt\bitcoin.qrc -o release\qrc_bitcoin.cpp g++ -c -pipe -fno-keep-inline-dllexport -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\include" -I"src" -I"src\json" -I"src\qt" -I"..\deps" -I"src\leveldb\include" -I"src\leveldb\helpers" -I"..\deps\boost_1_55_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\openssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\qrc_bitcoin.o release\qrc_bitcoin.cpp g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -static-libgcc -static-libstdc++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\coin-qt.exe object_script.coin-qt.Release -L"c:\Qt\4.8.6\lib" -lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -lqrencode -LC:/deps/miniupnpc -lminiupnpc -liphlpapi C:/coin/src/leveldb/libleveldb.a C:/coin/src/leveldb/libmemenv.a -lshlwapi -LC:/deps/boost_1_55_0/stage/lib -LC:/deps/db-4.8.30.NC/build_unix -LC:/deps/openssl-1.0.1j -LC:/deps/qrencode-3.4.4/.libs -lssl -lcrypto -ldb_cxx -lshlwapi -lmswsock -lboost_system-mgw49-mt-s-1_55 -lboost_filesystem-mgw49-mt-s-1_55 -lboost_program_options-mgw49-mt-s-1_55 -lboost_thread-mgw49-mt-s-1_55 -lboost_chrono-mgw49-mt-s-1_55 -lQtGui -lQtNetwork -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 ./build\net.o:net.cpp:(.text+0x88f3): undefined reference to_imp__upnpDiscover'
./build\net.o:net.cpp:(.text+0x892a): undefined reference to _imp__UPNP_GetValidIGD' ./build\net.o:net.cpp:(.text+0x896b): undefined reference to_imp__UPNP_GetExternalIPAddress'
./build\net.o:net.cpp:(.text+0x89e7): undefined reference to _imp__freeUPNPDevlist' ./build\net.o:net.cpp:(.text+0x89fa): undefined reference to_imp__FreeUPNPUrls'
./build\net.o:net.cpp:(.text+0x8ae7): undefined reference to _imp__strupnperror' ./build\net.o:net.cpp:(.text+0x8b73): undefined reference to_imp__UPNP_AddPortMapping'
./build\net.o:net.cpp:(.text+0x8bfb): undefined reference to _imp__UPNP_DeletePortMapping' ./build\net.o:net.cpp:(.text+0x8c1a): undefined reference to_imp__freeUPNPDevlist'
./build\net.o:net.cpp:(.text+0x8c29): undefined reference to _imp__FreeUPNPUrls' C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: ./build\net.o: bad reloc address 0x960 in section.data'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
Makefile.Release:291: recipe for target 'release\coin-qt.exe' failed
mingw32-make: *** [release\coin-qt.exe] Error 1`


texts: After using openassets issue_asset() , the asset quantity is 0

texts:
I am using openassets protocol issue_asset() function. After using the function, i call list_unspent(). The asset quantity field is all zero (see below). It means the issue_asset() function does not generate any assets. I have checked the return value of issue_asset(). It returns a valid transaction. Is there a reason why assets are not created?

The list_unspent() output is copied below:

[{"txid"=>"39e2b19597c5ab2e9d88ed7323a63a6de418dc3f04597ba5c520c5b968963b0e", "vout"=>0, "confirmations"=>119, "address"=>"mv3JUS2pmGj7QMXEtrpz4xtt3QuZdaqdE6", "oa_address"=>"bX61BibrAEkcoGbgbwUwAipoTP25jejEPFV", "script"=>"76a9149f4f15984e7ecbde4a14ace89d564d366fa206b788ac", "script_type"=>"pubkeyhash", "amount"=>"0.00000000", "asset_id"=>nil, "asset_quantity"=>"0", "asset_amount"=>"0", "account"=>"", "asset_definition_url"=>"", "proof_of_authenticity"=>false, "output_type"=>"uncolored", "solvable"=>true, "spendable"=>true},
{"txid"=>"6179fd02c7a031711d654068ef365e8d50c1aea57fc4a5554ca31de01bc47931", "vout"=>0, "confirmations"=>117, "address"=>"mv3JUS2pmGj7QMXEtrpz4xtt3QuZdaqdE6", "oa_address"=>"bX61BibrAEkcoGbgbwUwAipoTP25jejEPFV", "script"=>"76a9149f4f15984e7ecbde4a14ace89d564d366fa206b788ac", "script_type"=>"pubkeyhash", "amount"=>"0.00000000", "asset_id"=>nil, "asset_quantity"=>"0", "asset_amount"=>"0", "account"=>"", "asset_definition_url"=>"", "proof_of_authenticity"=>false, "output_type"=>"uncolored", "solvable"=>true, "spendable"=>true},
......
{"txid"=>"fe1920a5f71566e9ea1c5a61d0d818d64816170992df27b445003fba2a730fe8", "vout"=>0, "confirmations"=>114, "address"=>"mv3JUS2pmGj7QMXEtrpz4xtt3QuZdaqdE6", "oa_address"=>"bX61BibrAEkcoGbgbwUwAipoTP25jejEPFV", "script"=>"76a9149f4f15984e7ecbde4a14ace89d564d366fa206b788ac", "script_type"=>"pubkeyhash", "amount"=>"0.00000000", "asset_id"=>nil, "asset_quantity"=>"0", "asset_amount"=>"0", "account"=>"", "asset_definition_url"=>"", "proof_of_authenticity"=>false, "output_type"=>"uncolored", "solvable"=>true, "spendable"=>true}]

I also called get_balance(). The output is listed below. The is no assets too.

Balance [{"address"=>"n3hqP9u5kQydyqGcPy3NHcEWnzBKJnv3aX", "oa_address"=>"bXDfidKiRDtsKr5RySb9YwU968bMVMnf8Zr", "value"=>"0.00433888", "assets"=>[], "account"=>""}]


texts: What are the reasons behind pool transactions fees and what are the consequences?

texts:
Few days ago I have read this.

For people who are too busy I will try to explain what is written there (this is my understanding which might be wrong, so if you think that it is incorrect, please edit it):

Because of a lot of micro-payments from satochidice, the blockchain has reached a reasonable size and pools are thinking about implementing transaction fees.

Is it possible that at some time major mining pools would decide that they are not going to validate transactions if fee is less than something and thus would be dictating their rules?


texts: How to use Multisig feature on Bitcoin Core RPC in an online exchange?

texts:
I've craeted a small online exchange based on Bitcoin Core. The features in this application are:

User send request to get a new address, and the Bitcoin Core generate a new one with defined passphrase.
User can receive BTC on his own address.
User can send BTC from his own address, and for this purpose, I've used sendtoaddress after unlocking account with walletPassphrase.

In this scenario, there is one complicated passphrase which is able to unlock all accounts. But after reading about multisig feature, I thought about implementing a scenario in this regard on my application. But there are some questions in my mind:

I have used a fixed passphrase in my codes while sending transactions. Regarding to multisig concepts,  I need to use different private keys to sign data instead of using a passphrase to unlock that account. Am I right?
As the operation in an online exchange should be do automatically, I think I have to use all required private keys in the final step of my codes. In this case, I think I did not add any new security mechanism to my application as everything is located beside each other. Can I cound on security impact of multisig accounts in my application at all?

I hope you can help me so solve these issues in my mind.


texts: How to convert my bitcoins to another currency

texts:
I'm a merchant, and I'm looking for a complementary method of payment.

How can I exchange bitcoins for my local currency?


texts: When a mining pool pays out to the workers, why does it not just cache the transaction and then pay zero fees on its next successful block?

texts: If you had a mining pool that was generating a few blocks per week, then why not just cache all the payout transactions (if the clients were happy to do this) and then just put them in the next successful block it mines - thus saving on transaction costs ?


texts: How can I access a bitcoind instance from another device with wallet functionality?

texts:
I'm running bitcoind 7x24 on a linux host on my network so it is always in synch.

Options like:

  -rpcuser=<user>        Username for JSON-RPC connections
  -rpcpassword=<pw>      Password for JSON-RPC connections

suggest it is possible to have a wallet client on my Windows PC access that server and operate the wallet.dat on the Linux PC.

But my attempts have not met with success.  Can you suggest a solution or at least help me understand why this is not possible.


texts: How to send requests to a testnet faucet to collect coins at my address?

texts:
I am really new to Bitcoin and have just started reading about it.

From what I understand testnet Bitcoin can only be requested every 12 hours or so and yields a very low quantity. I would like to build a bot, so to say, which sends a request every 12 hours or so to a testnet faucet.

What I am looking for is a way to send a get/post request, so I can use shell script  or javascript to source the tBTC.

Could anybody point the right direction out to me.

What is the link? How to send the request? If there's a github repo about something related? Any documentation?

Any of these answers would be really helpful to me!


texts: What computers are those in the picture?

texts:
I'm totally new to crypto currency mining and I have a picture where there is a rack of computers mining cryptocurrencies (supposedly). I'd like to know what computers are those and maybe availability and pricing.

I tried to ask on meta about whether this question is suitable to Bitcoin SE, but I got a message saying that I need at least 5 points of reputation :(

This is the picture I'm talking about:


texts: Is there a correct way to refer to "orphan" blocks?

texts:
I was reading a passage on the bitcoin wiki that pointed out that it doesn't make sense to call invalid chains "orphans," since, by definition, every block in the blockchain except the genesis block has a parent.

Blocks in shorter chains (or invalid chains) are not used for anything. When the bitcoin client switches to another, longer chain, all valid transactions of the blocks inside the shorter chain are re-added to the pool of queued transactions and will be included in another block. The reward for the blocks on the shorter chain will not be present in the longest chain, so they will be practically lost, which is why a network-enforced 100-block maturation time for generations exists.
These blocks on the shorter chains are often called "orphan" blocks. This is because the generation transactions do not have a parent block in the longest chain, so these generation transactions show up as orphan in the listtransactions RPC call. Several pools have misinterpreted these messages and started calling their blocks "orphans". In reality, these blocks have a parent block, and might even have children.

Is there a better way to refer to these blocks?


texts: How does the mining pool know our hashrate/our share?

texts:
Scenario:

Person A: has a good mining rig and run for 24 hours and produces: 1000 mega hashes, but found only 1 share.

Person B: has a bad mining rig and run for 24 hours and produces: 1 mega hash, but found 1 share on first attempt

Question:
So, how does mining pool know, if we have actually gone through all the 1000 mega hashes to submit one share to the mining pool (Person A has done more work than person B)?
But person B who has low hashing power already found a share but has not done any work compared to person A
How does mining pool get to know if Person A has done more work than Person B, as miner does not submit any unsuccessful hashes but the successful ones, but already more work has done.


texts: What are the requirements for a ScriptPubKey to be valid?

texts: Can they have arbitrary scripts, as long as they are under a certain length?


texts: Are there any blockchain explorers that provide raw Tx data and block headers?

texts:
I've looked at some of the more popular blockchain explorers, but none of them seem to provide the feature I'm looking for. I'd like to find a blockchain explorer that allows you to see raw Tx data and raw block headers. The explorer's I've seen parse the raw data and present it in a more human readable format. Are there any that provide the raw data?

Thank you!


texts: Do I spare 80Gb to only keep the blockchain and do I need it to be always present?

texts:
I am new to Bitcoin, reading a book and just downloaded a client. On site I read the note that I would need about 65-80gb to keep the whole history of transactions.

What happens when it downloads the whole data set? Do I have to keep it on my hard drive all the time I use Bitcoin? Or can I remove it once it syncs or whatever?

The other question is, does it seem realistic to use Bitcoin on mobile devices as the space needed for the blockchain is so huge for mobiles? What are the alternatives to having this data in the internal storage?


texts: Closed wallet in MultiBit, is it gone for good?

texts:
I have just installed MultiBit and transferred my bitcoins into it.

I closed the wallet using "close wallet" in the file menu, thinking that it would save it, but it seems to have not just closed it but removed it from existence.

Is this just a lesson not to be so stupid in future?

I still have a record of the wallet address, but that's it.


texts: What do I support with Bitcoin Core Version 0.14.2

texts:
At the moment I'm following the discussion about BIP-141, BIP-148, SegWit and SegWit2x (NYA). But I'm confused.

I'm running Bitcoin Core Version v0.14.2 as a full-node. It's currently downloading the blockchain (should finish in 40 hours). So I count as a user (in regard to the term user activated soft fork) what means that I have a vote.

Now I'm wondering what I'm supporting by using version 0.14.2?


texts: How i can protected my bitcoincore project?

texts: I have two servers. The backend is located on one, the bitcoincore is located on the second. Becken on a laravel, when requesting Bitcoin core, I specify the server ip and pass the username and password parameters. On the Bitcoin core server, I allow requests from a specific ip (on which the backend is located). How can I assign a domain to Bitcoin and specify in the settings the domain, and not ip? I want to protect my Bitcoin core and throw a domain on it that will connect to cloudflare. How should I do it ?


texts: How to handle an old, abandoned Litecoin withdrawal from btc-e.com

texts:
In 2013 I bought some litecoins on btc-e.com.
I noticed this website is down by now.

I found a e-mail from 11/2013:
"Dear (my login name),

We received a request to withdraw 25.87814001 LTC on purse Lh2x1hcGiRnWJRwGdfJP26sB4zw8j54e6m

To confirm the transaction, go to:
(Removed link)

To cancel a transaction, go to:
(Removed link)

IP: (my ip address)
Login: (my login)

Regards,
Administration of BTC-E.COM"

On https://live.blockcypher.com/ltc/address/Lh2x1hcGiRnWJRwGdfJP26sB4zw8j54e6m/
I found this exact same transaction. Does this mean it still is in the wallet of btc-e? Or is this my external wallet it is transfered to?

Thanks in advance


texts: What can be bitcoin's secret can be at most and at least?

texts:
We know that: S(Secret-Scalar) x G(Generater Point-Point(X,Y)) = Public Key
In bitcoin, what is the range of that secret can be? What can it be at most and at least? Is there a limit to it like 2^256? If yes what is the logic behind that too?


texts: Why is bitcoin-qt startup so slow compared to MultiBit

texts:
Bitcoin-QT: Very long startup and at first launch needs to download the entire blockchain

Multibit: Starts up in a few seconds and downloads for only a few seconds

Why is Bitcoin-QT so slow?


texts: What date does the 2016 halving happen at?

texts: When does the 2016 halving happen? Is it a predicted date or could it be when network load is achieved?


texts: Getting transactions from mempool to block

texts: I have a question about getting transactions from mempool to be added to block. Imagine the situation where we have 500 transactions in mempool, when we decide that is enough to start adding them to the block? Also what if we sre in the middle of mining (so we have Merkles tree root already) and the new transaction is added to the mempool? The process of our mining in my node is starting again?


texts: I am trying to make a website that supports bitcoin, but I cant install bitcoin core because berkeleydb is under 4.8. I tried installing it via apt-get squeeze repository but that didn't work. I also downloaded the tar.gz file and installed that but that also didn't work. Does anyone know how I can install berkeleydb or what linux distro has full support of berkeleydb?


texts: Is a wallet simply a folder of private keys?

texts:
I try to understand how a wallet actually works.

I know there are lots of resources around the internet, but I still can't find simple and concise answers for basic questions about wallets and private keys.

How does a Ledger Nano S work? Is it simply a wallet?
Is a wallet simply a folder/directory containing a number (1 or more) of private keys, each able to generate a public address?

I imagine an entire wallet as a simple text file with a number of lines, each containing a private key (plus some functionality to see the number of coins sent to the public addresses associated with the private keys).
What ensures that a private key, generated in a wallet, is compatible with, for instance, the Bitcoin blockchain?

According to my understanding, a private key is simply an encrypted integer value. Shouldn't this encrypted integer value be registered in the Bitcoin blockchain, ensuring it's valid and all other wallets are aware of the existence of this new private key?
Can I choose my own private key? If I have a favourite sequence of numbers, is it possible to encrypt these numbers and use the encrypted value as my private key, enabling me to have a private key without writing it down anywhere (I know I sound paranoid :-D)
If I, theoretically, don't intend to spend my Bitcoins, wouldn't it be more efficient to simply write down my private key on a piece of paper and never use a wallet until I actually intend to spend the coins?
For my hardware wallet, I am asked to fill out a recovery sheet. How can I recover my funds using my recovery sheet in case I lose my hardware wallet? I'm uncertain how the recovery sheet is linked to the private keys stored in my hardware wallet?

If I can actually create multiple private keys in the hardware wallet, I can't image how the recovery sheet can be linked to the private keys stored on the wallet.
How can I see the balance of a wallet? Is it just the number of coins sent to the public address subtracted the number of coins sent from the public address (do you actually say that coins are sent FROM a public address or does public addresses only exist for the purpose of receiving)?

If that's the case, could I simply dig down my hardware wallet in the ground in my garden, and still keep track of the balance using the public addresses associated with the private keys stored on the hardware wallet?
Is there any differences between the terms public key and public address? Is the blockchain technology almost similar to PGP encryption software?


texts:
I have a server with 32 Gigs of ram and running the node on a docker container using Bitcoin Core Daemon version v0.15  with 8333 ports mapped

Nodes been running for 2.5 weeks still 300k blocks and most of the time connectioncount is 0, only once I saw it jumped up to 60
I even increased the dhcache

why is it taking so long ? How do I speed things up ? for most of the guys it took only 1-2 weeks

Update
01- This is my setup

02- It was working fine and when I checked weather ports are open from outside network before 300k sync
I - https://www.yougetsignal.com/tools/open-ports/
Two weeks before 8333 OPEN
Now 8333 OPEN

II - https://bitnodes.earn.com/#join-the-network
Two weeks before 8333 OPEN and Reachable
NOW unreachable

III- Connection speed 10 MB


texts:
I have an address :LUiTUnmBLQ6mvCXk2YNxiU7cZQdty1pToV
when I check it on http://block-explorer.com/address/LUiTUnmBLQ6mvCXk2YNxiU7cZQdty1pToV
I get Received: 1,199.9 LTC. is there another way to check it throw API or the wallet RPC ?
keep in mind the address is not on my wallet but is from a wallet that is disconnected from internet.
I've tried to call method :
￼
getreceivedbyaddress LUiTUnmBLQ6mvCXk2YNxiU7cZQdty1pToV 1
on my local wallet
but get zero.


texts: Will BTC script be Turing complete in future?

texts: I want to know if BTC script will have loops in it in the future?


texts: Why is the default mempool size in Litecoin so small?

texts: This morning there was a bit of a mempool congestion on Litecoin which led to a number of exchanges shutting down their Litecoin withdrawals as their transactions dropped from the mempool when it filled up to the default size of 5MB. What is the reason for the default mempool size to be so small in Litecoin?


texts: Refer to UTXO by output index or output full address in blockchain?

texts:
I'm writing my own simple crypto and wondering whether input in a transaction should refer to unspend output only by it's TXID and vout (index in outputs vector in a transaction) OR by it's TXID and full address in a blockchain - that is block height, transaction index in a block and output index in a transaction.
The first approach seems to have a flaw - it's unlikely but possible for two different outputs to have the same TXID and vout.
But in the second approach I don't even need TXID when I have the full blockchain address right? I don't want to double on bookeeping - when there's duplicate data you need to make sure it's consistent.
So my two question's are:

How to avoid the problem with two transaction's accidentally having the same hashes in an elegant way that - ideally - doesn't require storing full addresses?
How is it done in Bitcoin? (here I guess that bitcoin's Bip34 update was addressing this flaw I mentioned - but I don't understand how)

General advices on solutions are very welcome. Thanks in advance!


texts:
Suppose I generate a transaction with 5 outputs.
Is there a deterministic way to know how the outputs will be ordered on chain (their .n values) or will they simply appear in the order in which I arranged them when created my rawTxn that I signed?


texts: Do multiple miners contribute to mining the same block even if they are not in the same pool

texts:
Assuming that this is reliable, according to an article on investopedia on the 51 percent attack:

  51% attack refers to an attack on a blockchain – usually bitcoin's, for which such an attack is still hypothetical – by a group of miners controlling more than 50% of the network's mining hashrate, or computing power. The attackers would be able to prevent new transactions from gaining confirmations, allowing them to halt payments between some or all users.

Does the above bold line imply that all the miners are required to provide their confirmation for a transaction to be added to the blockchain? I was under the impression that even an individual could, if he completes the proof of work first, cause the addition of the block to the blockchain? What am I missing here?


texts:
I have multiple decrypted wallets in the same folder. How can I find out which wallet belongs to which cryptocoin? All wallets are named wallet_x.dat, so the name gives no hint.

UPDATE:
I have no access to the addresses within the wallet, because I can't import them, because I don't know which client I would need.


texts: Will bitcoind import private keys for multi-sig descriptor with watch-only flag set to true?

texts:
I am importing a "warm" multi-sig quorum into bitcoind using importmulti like so:

{"jsonrpc":"1.0","id":"curltest","method":"importmulti","params":[[{ "desc": "sh(multi(2,[eb2d2f9e/44'/1'/0']tprv8g5heqz5AnCKdYQHsHyYvyDvWFdp5RN8Z5uhvb1FrzgPmeuYseQNsknt1KFf1b1Y9dtNaNMbxkaNdkP7FLbhP9a4UosbV5rWLAMFPhUcMVT/0/*,[e19b3701/44'/1'/0']tpubDCkUBfVNYjzdX37ARqSFWNAA5WvQRGy3Y5PA13ve1dSVtBLr7tEf6c7C2sYtnRazFfsfAdCfuv9JG62BnUVvofvvvs9iyDreQhTRJJ6Mp8u/0/*,[65b2e5d3/44'/1'/0']tpubDCFM6STEuVkkh6qCCooJw4TXHRzyq6R6tBeigSQSgf4xY6ZwAeoSQH2ZTTfcsZTrJ7wJF2bixpn38XcKj3KihxH5LzMraCLwsbt3bnkAHrU/0/*))#2pztwc0s", "timestamp": "now", "range": [2500,5000], "watchonly": false, "label": "StandUp", "keypool": false, "internal": false }], {"rescan": false}]}

And occasionally getting the following response (sometimes it works without returning an error and sometimes not):

response = {
    error = "<null>";
    id = curltest;
    result =     (
                {
            error =             {
                code = "-4";
                message = "Error adding key to wallet";
            };
            success = 0;
            warnings =             (
                "Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."
            );
        }
    );
}

I do not want to specify the watch-only flag to true as I am importing private keys into the node and want the node to be able to sign. It is very odd that this seems to happen randomly. It feels like a bug.

If I set watch-only to true will it still import the descriptors private keys?

Just to prove my point here is the exact same command attempted a second time which returns success as true:

{"jsonrpc":"1.0","id":"curltest","method":"importmulti","params":[[{ "desc": "sh(multi(2,[eb2d2f9e/44'/1'/0']tprv8g5heqz5AnCKdYQHsHyYvyDvWFdp5RN8Z5uhvb1FrzgPmeuYseQNsknt1KFf1b1Y9dtNaNMbxkaNdkP7FLbhP9a4UosbV5rWLAMFPhUcMVT/0/*,[e19b3701/44'/1'/0']tpubDCkUBfVNYjzdX37ARqSFWNAA5WvQRGy3Y5PA13ve1dSVtBLr7tEf6c7C2sYtnRazFfsfAdCfuv9JG62BnUVvofvvvs9iyDreQhTRJJ6Mp8u/0/*,[65b2e5d3/44'/1'/0']tpubDCFM6STEuVkkh6qCCooJw4TXHRzyq6R6tBeigSQSgf4xY6ZwAeoSQH2ZTTfcsZTrJ7wJF2bixpn38XcKj3KihxH5LzMraCLwsbt3bnkAHrU/0/*))#2pztwc0s", "timestamp": "now", "range": [2500,5000], "watchonly": false, "label": "StandUp", "keypool": false, "internal": false }], {"rescan": false}]}

response = {
    error = "<null>";
    id = curltest;
    result =     (
                {
            success = 1;
            warnings =             (
                "Some private keys are missing, outputs will be considered watchonly. If this is intentional, specify the watchonly flag."
            );
        }
    );
}


texts: Why BIP32 extended public key differs from BIP32 derived private key?

texts:
I put the same input into iancoleman site and BIP32 site, but both derive different result. Why?
I expected derived address will be the same. Do you see what I set wrong?

1FyAoRf82ZRYsjvCD5CFkcJTbvjmuypkJo

1GNsZGjnqj9rt5K2NLfgZRCztJKR1UVQrG


texts: How do you exactly earn bitcoins... ive been confused frankly

texts: I get the concept of it just dont know how.


texts: Where does c-lightning save its debug.log file? I know you can run the lightning daemon with --log-level=debug and access the logs in the terminal. But, I run my node on a remote server and I access it via SSH and sometimes when my internet connection goes off for a second on the machine which I am accessing through, my SSH client times out. I was wondering if there is a location where c-lightning saves all these logs just like how Bitcoin-core saves its debug.log file in ~/.bitcoin folder.


texts: Bitcoin wallet taking days to receive coins

texts: Previously withdrawing bitcoins from Intersango has only taken 24 hours.  This particular transaction has taken several days and I still haven't received the bitcoins.  I withdrew the coins from Intersango but they haven't been received by my wallet yet.  Does it make a difference that shortly after I withdrew the coins from Intersango I encrypted my wallet? Does it make a difference that it is currently 'locked,' if so how do I unlock it to recieve coins? Please somebody help this is really worrying me!


texts: How to create a new genesis block using CreateGenesisBlock() function

texts:
I'm trying to create a new genesis block, you know for science.
I saw a lot of write ups online but most of them seem kinda outdated.
I found the function CreateGenesisBlock() in the source code.

    genesis = CreateGenesisBlock(1317972665, 1337, 0x1e0ffff0, 1, 100 * COIN);

    std::cout<< genesis.GetHash().ToString().c_str() << std::endl;
    std::cout<< genesis.hashMerkleRoot.ToString().c_str() << std::endl;

    consensus.hashGenesisBlock = genesis.GetHash();

This is my current code.
When running my coind it fails with ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)

From my current research it seem the genesis block failed the PoW criteria somehow.

I thought about putting the CreateGenesisBlock in a loop to generate blocks until I found a valid one but I'm not sure how to check if the block is valid.
Can someone gimme a tip?


texts:
How efficient is the bitcoin market? I am confused after comparing buy prices in exchanges operating in different currencies.

For instance, I see that 1 BTC amounts to 347 USD at the moment at one exchange in the US. In an exchange 'Localbitcoins', the lowest buy price I can find is 437 AUD.

Now, at the current exchange rate, 347 USD ~= 393 AUD. It seems to me even with some exchange fees that might be imposed, one can earn arbitrage profit by simply going long in one market and shorting in another. I am sure this is not the case. Am I missing something?


texts: BOLT #3: Shouldn't timeout be included in the script of "Offered HTLC Outputs" for the local node?

texts:
According to the BOLT #3 documentation, the offered HTLC output has the following script that allows the remote node to claim the funds with the payment pre-image and the local node to claim it after a HTLC timeout.

1.  # To remote node with revocation key
2.  OP_DUP OP_HASH160 <RIPEMD160(SHA256(revocationpubkey))> OP_EQUAL
3.  OP_IF
4.      OP_CHECKSIG
5.  OP_ELSE
6.      <remote_htlcpubkey> OP_SWAP OP_SIZE 32 OP_EQUAL
7.      OP_NOTIF
8.          # To local node via HTLC-timeout transaction (timelocked).
9.          OP_DROP 2 OP_SWAP <local_htlcpubkey> 2 OP_CHECKMULTISIG
10.      OP_ELSE
11.         # To remote node with preimage.
12.         OP_HASH160 <RIPEMD160(payment_hash)> OP_EQUALVERIFY
13.         OP_CHECKSIG
14.      OP_ENDIF
15. OP_ENDIF

If you see the output that sends the funds to the local node (line 7-9), it is not timelocked in the script. A local node after signing the commitment transaction, which includes the HTLC he offered, can broadcast the commitment transaction that claims the money from the HTLC-timeout (he already has the signatures) and pays to an address with to_self_delay.

Although the delay exists in the 2nd stage (CSV locked with to_self_delay), nothing stops me from offering a htlc to my peer node, sign the updated commitment transaction and a second later broadcast the commitment transaction on mainchain and spend the HTLC to an address locked with CSV. The remote node will still forward the htlc because from its viewpoint it is still within the bounds of the cltv_expiry as specified by BOLTs. Now, when the remote node gets the pre-image it doesn't have any transaction to settle with. Where is the shortcoming in my though process and isn't timelock expiry something that should be included in the script itself?


texts: I've forgotten my Electrum 12 word pass phrase, I have full access to the wallet - can I recover or generate new one?

texts:
I've forgotten my Electrum 12 word passphrase, but I have full access to the wallet. Can I recover or generate a new one?

I can't find anything online about this.


texts: Is the mtgoxlive depth chart information accurate?

texts: Mt. Gox publishes live data which is available at mtgoxlive.com.  The chart includes the current market price as well as a depth chart of existing bid and ask prices, which I assume is compiled from the order book of each account with the exchange.  However, orders are allowed to be placed on Mt. Gox without having available funds in ones account to actually make a trade.  If the depth chart reflects these unfunded orders, they would make the chart steeper than it should be.  Of course, the depth chart may also not reflect trades which people have the funds and intention to make but haven't yet placed in the order book.  In sum, does the mtgoxlive depth chart reflect unfunded orders, and in any event, how useful, accurate, or predictive is it?


texts: How many bitcoin transactions can be verified per second on commodity hardware in 2020?

texts:
I am trying to figure out how many Bitcoin transactions could be verified per second.
Am I correct that signature verification is more expensive than computing Merkletrees and hashes and therefore constitutes the bottleneck of the verification process?
Having read this paper it seems to me that tens of thousands of signatures per second could be verified. Have I misunderstood the results?
As I am only interested in signature verification, let parameters like internet bandwidth and storage requirements to handle the stream of incoming data be outside of the scope of this question.


texts: ATI GPU for mining with display attached to integrated graphics?

texts:
I'm running Ubuntu 12.04 and I'd like to attach my monitor to the onboard Intel graphic and have my GPU (ATI 67xx) for mining solely.

So far I'm struggling with setting up the ATI GPU. Do I need to run 2 XServers? Or 2 displays with one XServer?

Did anyone get a setup like this to work?


texts: Replacing ECDSA (SECP256k1) with Schnorr signatures

texts:
On March 23, 2017 the Bitcoin Core team published a technology roadmap, expressing their intent to replace ECDSA (SECP256k1) with Schnorr signatures: https://bitcoincore.org/en/2017/03/23/schnorr-signature-aggregation/.

Pardon my naive understanding, but we currently use ECDSA (SECP256k1) to generate public keys, and by extension- addresses. How does replacing the signing algorithm with a new signing algorithm not affect today's addressing? Does it? Where does backward compatibility fit in with this?


texts: What can I expirement with BitcoinCore on my own?

texts:
I have a simple faculty assignment where I have to do some experiments with transactions or experiment with the Bitcoin protocol or maybe with wallet code. Work on that assignment shouldn't last more than one day, however I cannot imagine anything I can actually do on my own. Every change in code seems too complex for me or pointless. All my changes will be tested on testnet or regtest and never published of course. Can someone help me with this with some sort of direction, link to some other experiments or maybe with a simple idea or pseudo code example?
Thank  you all!


texts: How to get balance history of a bitcoin address using BCOIN node

texts:
Is there any way to get history balance of an address. Balance is unspent transaction outputs (UTXOs).
I am using BCOIN node.
Bcoin has given a API for /coin/address/:address but it is giving current balance as a result instead of history.


texts: Is 'nLockTime' equal to 'lock_time' in transaction data structure?

texts: I understand how 'lock_time' field work in transaction data structure, but I also see some people talking about 'nLockTime' with similar function. So are they the same?


texts:
are all nodes validate each transaction added in a new block?

Because what if someone said I have completed block and added invalid transaction? and if others node just accepts a block without validating a transaction.


texts: Upon start up, after it has downloaded and verified the blocks, the Bitcoin Core client "loads the banlist". What is this banlist?


texts:
I'm getting the following error running bitcoind (latest stable, v0.16.0) on Windows 10 Pro x64:

C:\Program Files\Bitcoin\daemon>.\bitcoind.exe -daemon
Error: -daemon is not supported on this operating system

Anyone know why? According to the official docs it should run on Windows 10.
It's also mentioned here but no answer.


texts: Why the signature of the same message changes in some wallets, but not all?

texts:
Using the "message signing" feature in the Bitcoin and Dash it's static with the same message. Signing the same message with the same private key will result always in the same signature.

This behavior is not the same in Peercoin or in the old wallet of Bitcoin. In these wallets, the signature changes even if both messages are equal, for me it has some "nonce" inside.

Example:

Message: xxx

Address: 18ZbyqYYwgEmn5hVMtJpihPeYxsUpCLhr7

Bitcoin 0.8.5-beta:

INbwudFmql3iOH6c1UWylOpgLu5zrrqGrcFCanirz+Zb/nmJkcDXSkug5J0s3Yawb1/GzZKqXVjRHRNVSenRdMI=
II7W5su7EBQ4u1ppSKMVcmy8etnJsSOsvQHZ3j+moJs2P/vjwpqMlZkvOQ+W5odCdmwOz/5wK2T0RDV6aiqaEQs=
H7XNf5of1kmpwvcvLqVKIYc3TY5eN3kIrZWJPlDYhKVZekZ7Xk2qnJWjNDdsODkYtLEYn5p6fJfIC9LR+/rQky0=

Bitcoin 0.14.2:

IBl6SRpJwzGjXTDbO/IuUcHzlbxqbzN+MmeGRLRIAcPjKpQ9XgQG+gBOzo5PcgtBbtDqXhJIKnbUH9vEcQ5CNlM=
IBl6SRpJwzGjXTDbO/IuUcHzlbxqbzN+MmeGRLRIAcPjKpQ9XgQG+gBOzo5PcgtBbtDqXhJIKnbUH9vEcQ5CNlM=
IBl6SRpJwzGjXTDbO/IuUcHzlbxqbzN+MmeGRLRIAcPjKpQ9XgQG+gBOzo5PcgtBbtDqXhJIKnbUH9vEcQ5CNlM=

In the old Bitcoin-qt the same message with the same private key create different signatures. But in the new Bitcoin-qt it's result in the same signature.

What is the difference between this signature method? Have an alternative to continue getting the PK from a signature in the second case? Have name of this specific change?


texts: Altcoin confirmations and safety - wait ~6 confirmations, or ~1 hour?

texts:
The general consensus in the Bitcoin network is to wait for 6 confirmations or 1 hour on a transaction before it can be considered completely irreversible. However, when it comes to altcoins that use different block generation rate, some people go with ~6 confirmations, while others use ~1 hour worth of blocks as the standard confirmation model.

I am wondering if there is any consensus on which approach is more proper? Assuming the altcoin network in question is under no threat of a 51% attack, should companies under a risk of theft attempts (say, exchanges) wait for about 6 confirmations regardless of the block generation rate, about 1 hour worth of confirmations also disregarding the generation rate, or for the higher of 6 of 1 hour worth of confirmations if blocks are generated slower than 1 block per 10 minutes?


texts: Will we ever need smaller amounts of Bitcoin than a Satoshi?

texts:
Will there ever be a need to create a unit of Bitcoin smaller than a Satoshi?

See also: What is a 'Satoshi'?


texts: Electron Cash Wallet now suddenly not accepting password?

texts:
So, i installed this software yesterday. Set up everything, created a password, TESTED the password, wrote down the generation seed.

I logged in this morning to check that the coin i sent to this wallet was actually there. I puchased this last night. Fair enough, the transaction was showing, so it had taken.

Went back twenty minutes later just to double check the amount; and now, Electron Cash Wallet will not accept the password.

I have tried numerous checks - keybaord configuration error, mistyped keys - but i noted down and tested the password twice yesterday on setup. There is either something wrong with this wallet software, or something has gone wrong in the interm twenty minutes.

Checked that i downloaded the correct executable file, and this was downloaded from https://www.electroncash.org/.

Has anybody out there had issues like this with the Electron Cash Wallet? I have looked for some form of support but the website offers nothing. Don't believe that the generation seed will help either as this would only regenerate a new wallet unless I am wrong? Can't actually help me get into my own wallet, the password for which is now no longer functioning.


texts: Script_sig for coinbase transaction afbff1130b6fcbdceebbadfc48a842af1f03ee08a79e042b37fc467518b49a0f

texts:
I am currently developing a blockchain parser in Python, and it has been crashing in the file blk00006.dat for the coinbase transaction with the hash afbff1130b6fcbdceebbadfc48a842af1f03ee08a79e042b37fc467518b49a0f in the block 0000000000000a46714e1b03e5e0693e9ecaa3ec1853f1cdf34e9ca52e13f1ff. The reason it was crashing is because it has an OP_PUSHDATA2 in the script signature with a value of 28265. However, there are only 21 bytes left to read according to the size of the script.

I fixed my code to avoid crashing in this script, but I am still curious about how this script_signature got accepted by the network.


texts: Is there a rpc/cli method for payment protocol in bitcoin-core?

texts:
I have a full node running bitcoin-core 0.16 bitcoind (not bitcoin-qt). Today I tried and failed to pay a bitpay "secure" payment protocol uri invoice via the cli. The uri was in the form bitcoin:?r=https://bitpay.com/i/... with no visible bitcoin address or amount. (Guess people can't be trusted to copy-paste the address correctly?). Not surprisingly, the usual sendtoaddress method called the uri invalid.

I curled the address hoping to get the real payment details so I could enter them manually, but I just got a 301 redirect to a page on bitpay.com saying the invoice has not been paid. Guess they filter on uagent or some other header.

I also googled it but only found explanations of what the payment protocol is, why bitpay is using it, and how to do it with popular UI wallets. Nothing about cli.

Does anyone know if/how this is possible with cli/rpc only? Or perhaps the magic header bitpay looks for to distinguish a wallet app from a browser so I can get the real address? If not, I plan to open a ticket with bitcoin core devs on adding it.

Update:

bitpay link as requested: bitcoin:?r=https://bitpay.com/i/97ghKmFG8HVJNEbxkVefV though it has now been payed (via bitcoin-qt ui) so its usefulness may now be limited.


texts: How do I use the XPub to generate the Public addresses

texts: Given the XPub and an address, can I write an algorithm to say whether or not that public key was derived from that XPub and consequently belongs to the same user?


texts: How do i transfer Bitcoins from Bitcoin Core to BitGo?

texts: How do i send my BitCoins from Bitcoin Core to BitGo?


texts: What is the "Count" column in the order book on Bitfinex?

texts: I can't understand what count means here. I would have assumed that it was the number of orders at that price, but the total column does not seem to reflect this. Can't find any info in the documentation or glossary. Thanks


texts: Explainations about chaining of transactions

texts:
I'm reading through Satoshi's paper, and in Section 2. Transactions, he starts by saying:
We define an electronic coin as a chain of digital signatures. 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. A payee can verify the signatures to verify the chain of ownership.
Then there is a good diagram that shows this in the paper

So, effectively if BTC0 is the previous transaction, the new transaction is:

Kp(Owner1)
hash := H(BTC0,Kp(Owner1))
S(hash,Ks(Owner0))

where

Kp(Owner1) is the public key fo the recipient (Owner1)

hash := H(BTC0,Kp(Owner1)) is the Hash of the prev transaction together with the pub key of the recipient

and

S(hash,Ks(Owner0)) is the previously computed hash, signed with the private key sender (Owner0)

I have a  couple of questions:
Here I've indicated the 'previous transaction' is BTC0- is this the previous transaction for that Coin, or the previous transaction on the chain? Danielle Drainville suggests it is "the previous transaction in which this coin was used is hashed together with the recipient's public key" in her paper (An Analysis of the Bitcoin Electronic Cash System)
If so, there must be some kind of search for the previous transaction first?
And, if I understand correctly, there are no 'Coins' in your wallet...the wallet stores the Block Chain, that is, the Transactions log, and your pub/pri key(s). When you're wallet displays to you, the number of bitcoins 'in' it, its actually the result of a search of the Block Chain?


texts: Single API Platform for multiple cryptocurrency?

texts:
I am wondering for a single API platform where i will be able to trade for below 5 crypto currency :

1) Bitcoin
2) Litecoin
3) Ethereum
4) Dash
5) Monero

So, are you guys supporting all these in 1 packet ??

Hope your asap revert,


texts:
Is there a limit to the number of Bitcoin addresses?
And if so, what stops someone from making all these addresses and holding the private keys for them so no one else can make a new public key?


texts: The standard Bitcoin client does not encrypt wallet files, so any malicious user that gains access to this file will be able to transfer all the coins to their own wallet.  Furthermore, if I lose the wallet file then I lose access to those coins.  What steps must I take to prevent loss of coins like this?


texts:
How smart property works on basic bitcoin blockchain? I am not sure that how to make token, that is tied with a particular object, on the bitcoin blockchain. I've already know I can use such kind of token if I use colored coin or master coin.
I've read the following link, but I couldn't understand how it works.
https://en.bitcoin.it/wiki/Smart_Property