texts: Is a 'seed phrase' independent of the type of wallet?

texts:
I have had a few things happen on my PC and for the moment can't directly call up my bitcoin in its old wallet. There are files from various wallets sitting in my home directory but before I try to get a wallet program to retrieve from them, will find a piece of paper where I wrote a seed phrase.

The question is, can this seed phrase be entered into any wallet, whether it is Armory, Electrum, Wasabi, Bither to get the bitcoin back, or must I be careful to install exactly the same wallet which gave me the seed phrase in the first place?


texts:
This is driving me nuts. Through trial-and-error, asking numerous people and attempting to read endless articles and manuals, I've come to the conclusion that the "transactions" listed by listsinceblock are quite misleading.
They are not transactions at all?
The "txid" field is not unique, for example. It is only unique when coupled with the mysterious "vout" field, which can apparently be 0 or 1.
This, coupled with the multiple different "categories" (besides receive and send) really make me confused and worried that my Bitcoin Core-based payment system is somehow fundamentally broken.
Can somebody please explain to me once and for all why vout exists and why txid is not unique? And what does this mean in practice? Is this because a "Bitcoin payment" can be made in multiple different "sub-transactions"? I never was able to understand the purpose of that, and it's making me beyond confused.
Would love to get this straightened out now that I'm actually close to actually launching a Bitcoin service!


texts:
I recently switched from WinXP32bit to Windows7. While under XP poclbm took about 5% CPU Time of one core, now it uses one core with 100%. Is there a specific reason for that?

I now use AMD/ATI OpenCL1.1 and poclbm with poclbm.exe -device=0 -v -w128 -f 60. MHash/s is about the same I had with XP.


texts: What is the exact value of upcoming block rewards?


texts: Bitcoin Cash - Trying to implement Explorer in Linux server but getting error

texts:
I have tried to setup bitcoin cash explorer in my Linux server and server start working for 5 minutes but after 5 minutes it is returning an error and I have configured explorer-API and it is not working properly in the background.

Error Facing:

[2018-02-09T13:32:31.589Z] info: Using config: /home/kiran/bchnode/bch-node.json
[2018-02-09T13:32:31.590Z] info: Using network: testnet
[2018-02-09T13:32:31.591Z] info: Starting bitcoind
[2018-02-09T13:32:31.592Z] info: Using bitcoin config file:
/home/kiran/bchnode/data/bitcoin.conf
[2018-02-09T13:37:26.959Z] error: Failed to start services
[2018-02-09T13:37:26.960Z] error: RPCError: Bitcoin JSON-RPC: Request
Error: connect ECONNREFUSED 127.0.0.1:18332
    at Bitcoin._wrapRPCError (/usr/local/lib/node_modules/@owstack/bch-
node/lib/services/bitcoind.js:447:13)
    at /usr/local/lib/node_modules/@owstack/bch-
node/lib/services/bitcoind.js:779:28
    at newCallback (/usr/local/lib/node_modules/@owstack/bch-
node/node_modules/@owstack/bitcoind-rpc/lib/index.js:52:16)
    at ClientRequest.<anonymous>
(/usr/local/lib/node_modules/@owstack/bch-
node/node_modules/@owstack/bitcoind-rpc/lib/index.js:136:7)
    at ClientRequest.emit (events.js:160:13)
    at TLSSocket.socketErrorListener (_http_client.js:389:9)
    at TLSSocket.emit (events.js:160:13)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at process._tickCallback (internal/process/next_tick.js:152:19)
[2018-02-09T13:37:26.961Z] info: Beginning shutdown
[2018-02-09T13:37:26.961Z] info: Stopping @owstack/bch-explorer-api
(not started)
[2018-02-09T13:37:26.962Z] info: Stopping web (not started)
[2018-02-09T13:37:26.962Z] info: Stopping bitcoind
[2018-02-09T13:37:26.962Z] info: Halted

bch-node.json file

{
  "network": "testnet",
  "port": 3007,
  "services": [
    "@owstack/bch-explorer-api",
    "bitcoind",
    "web"
  ],
  "servicesConfig": {
    "bitcoind": {
      "spawn": {
        "datadir": "./data",
        "exec": "/usr/local/lib/node_modules/@owstack/bchnode/bin/bitcoind"
      }
    },
    "explorer-api": {
       "rateLimiterOptions": {
         "whitelist": ["::ffff:127.0.0.1"]
       }
     }
  }
}

bitcoin.conf file

server=1
whitelist=127.0.0.1
txindex=1
addressindex=1
timestampindex=1
spentindex=1
zmqpubrawtx=tcp://127.0.0.2:28332
zmqpubhashblock=tcp://127.0.0.2:28332
rpcallowip=127.0.0.1
rpcuser=bitcoin
rpcpassword=local321
uacomment=bch

Installation Process:

npm install -g @owstack/bch-node
bchnode create -d <bitcoin-data-dir> mynode
cd mynode
bchnode install https://github.com/owstack/bch-explorer-api.git
bchnode start

It should run "http://localhost:3007/bch-explorer-api/" but it is not returning anything and it is getting error after 5 minutes in my linux terminal.

Please help me about this error related bitcoin cash block explorer.

I am trying to configure https://bch-insight.bitpay.com this explorer in my local server If you have any reference github link then please share with me because I m not able to find it.


texts: Is it possible to copy other scriptSig for using in different transaction?

texts:
To use a UTXO one must supply correct scriptSig or "unlocking script" to the given scriptPubKey "lock script", I know the scriptSig in PTPKH locking is sig and pubkey. My question is what makes the sig be unique to the specific UTXO ?
It must be, otherwise I can take it and use it in different UTXO which has the same scriptPubKey .


texts: I am bit confused about transaction broadcast on the internet.How does a miner know a transaction has been broadcasted? The internet network is very huge.Or how does my bitcoin client collects the blocks broadcasted?


texts: How do you setup your own Bitcoin / Litecoin / Primecoin / Altcoin pool? Whats a good tutorial?

texts: I was wondering how would one setup their own pool for one of the alt coins. Is there a good tutorial link on how to setup your own pool? I'm mainly looking to setup a datacoin pool but was wondering how to get that up.


texts:
Due to complete lack of documentation on the subject, how would the pseucode for creating a transaction look using the following functions: createrawtransaction signrawtransaction and sendrawtransaction.

I receive the user transaction for incoming coins on IncomingTxID, when I create a raw transction I want to include at least some of those coins so if they won't confirm, neither will his payout.


texts: How do exchanges handle fiat currencies?

texts:
I'm worried about my (non-BTC) money getting frozen in some company account so I want to minimize exposure and understand the transfer processes.

Main considerations are:

Do all exchanges require an account in some fiat currency if one wants to buy BTC?
Is it trivial to transfer funds from these 'prepaid' accounts to a real bank account?
I don't like those prepaid fiat accounts, is it possible to give creditcard details instead and let them charge per purchase?

These are all closely related so I think this one question can include them.


texts:
Does Bittrex have a limit on how many requests I can do? I cannot find that info in their documentation.

I only find their Announcement from 2014 which says:

  Api requests will be throttled based on data intensity and resource
  utilization, calls will be eligible for throttling if they exceed:

  Low:  1 request per second

  Medium: 1 request per 10 seconds

  High: 1 request per 30 seconds

  The API documentation will be updated shorty to
  reflect the intensity level of each call. These changes are still in
  draft and we're looking for community feedback.

But it doesn't look like they put these limits live, and their API documentation doesn't say anything about it.


texts: Bitcoin Core - Bought bitcoin to a 'sending address', what can I now do, nothing is showing up in my transactions

texts: As the question says, on the wallet, bitcoin core, under file you can find 'sending addresses' and 'receiving addresses'. In a moment of absolute stupidity I copied one of the sending addresses when buying some bitcoin. The transaction is marked as having occured on bittylicious but no transactions appear on my bitcoin wallet - what can I do?


texts: Why does BIP174 take Xpubs but no addresses?

texts:
I have a few questions on BIP 174:
XPUBs: I am looking at BIP174, and I see that I can define a global XPub. How is this used. How does an updater, signer, or finalizer know what this XPub is for? Doesn't this expose some privacy?

Public Keys: For outputs, do I have to enter the public keys? Is there no option to enter an address instead?

Inputs: An input Non-Witness UTXO seems to require the entire previous transaction, instead of simply the txid and vout. Why is this?


texts: How do nodes behave in light of a doublespend?

texts:
Recently I have been studying on the bitcoin. while going through the double spend process, I found this link as
How do I detect a double-spend?

and an answer there describes different scenarios:

  Double spending is handled like this -- if two transactions spending
  the same input(s) happen in the same block, both will be rejected. If
  one transaction makes it into a block before the other, the first one
  will be accepted and the second will be rejected. Now, if two
  transactions entered the network simultaneously, but at different
  endpoint, by the time the next block is mined it's likely that they
  would have made it into the same block and thus be simultaneously
  rejected. It's also possible that a block is mined containing one
  transaction, and all subsequent blocks containing the other
  transaction will simply be rejected. The third and least likely
  scenario is that two blocks are mined simultaneously -- each
  containing one of the competing transactions -- and this would cause a
  fork in the blockchain. However, this is the purpose of having
  confirmations, and by the time you reach 6, it's extremely likely that
  the forks have been reconciled and that one of these transactions will
  be rejected along with the rejected fork.

however I could not grasp it.

if two transactions spending the same input(s) happen in the same block, both will be rejected.

Is it possible that two transactions are in same block? To my knowledge, each node will validate the transaction before it is placed in the memory pool. So next time the same transaction appears, doesn't it invalidate the second transaction?

if two transactions entered the network simultaneously, but at different endpoint, by the time the next block is mined it's likely that they would have made it into the same block and thus be simultaneously rejected.

Isn't it the same case as above???


texts:
So, I understand how the amount of leading 0's are calculated, but how is the hexadecimal that come after the leading 0's calculated? For example, the previous mined blocks hash was
000000000000000000084bc771b929b0780276b1c31cec10a96921b1e53b970a but how was the 84bc771b929b0780276b1c31cec10a96921b1e53b970a after the 0's determined?
I saw this answer: https://bitcoin.stackexchange.com/a/36228/110284 but I'm not gonna lie, I didn't understand it.


texts: How do I get my master public key from a wallet?

texts: If a HD wallet only gives me the 12 word mnemonic, how can one get the master public key?


texts:
I am using BitcoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitcoinJ's Google Code wiki.

I am able to get it running but there seems to be an error while waiting for the node.

I receive the following output :

[main] INFO com.google.bitcoin.core.BlockChain - chain head is at height 0:
v1 block:
   previous block: 0000000000000000000000000000000000000000000000000000000000000000
   merkle root: 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
   time: [1296688602] Thu Feb 03 04:46:42 IST 2011
   difficulty target (nBits): 487063544
   nonce: 384568319

[New I/O boss #9] INFO com.google.bitcoin.core.Peer - com.google.bitcoin.core.Peer$PeerHandler@fe64b9 - Connection refused: no further information

Note: I am working from a NAT network, can this be a point of connection failure?


texts: How does Bitcoin protect against inflation?

texts: In an economy where the prices of goods keep inflating, like a car going from $10,000 to $20,000 in 1 year, what would be the incentive for people to put their money in Bitcoin? Wouldn't the price of a bitcoin stay the same or decrease because people need their fiat money even more?


texts: Transactions confirmed on Blockchain but nothing received to my Blockchain wallet

texts:
I need some info/help. I have sent some Bitcoins to my Blockchain wallet. They have all be confirmed and done with. But it has been 2 days now and nothing has shown on my wallet.
This is the transaction on Blockchain,

https://blockchain.info/address/14kQfsxstFMjhL1RJAngoiEU13BaVUVjbS


texts: As an Ardor bundler, can you filter out which transactions you wish to bundle based on a specific criteria?

texts:
In the Ardor blockchain, as a bundler you currently bundle all child chain transactions by the set fees your willing to accept on a child chain. But how can you bundle only transactions by a user that holds a specific asset or have a specific account property set under their account?

I want to be able to bundle all transactions with a fee of 0 only if that specific user holds my asset or that I have set an account property on their account. How can this be done?


texts: P2Pool for Dogecoin error - too many open files

texts:
I'm running a private p2pool instance mining for Dogecoin. Both the Dogecoin client (equivalent of bitcoind) and p2pool run on the same server. After some time, between half an hour and days, the pool stops mining and shows the following Twisted error:

Failure: twisted.internet.error.ConnectBindError: Couldn't bind: 24: Too many open files.

How do I solve this?


texts: Pay with BTC in online stores accepting only CCs

texts: I'm looking for a way to spend BTC to buy products / services in stores that accept only credit cards. I know it's possible with virtual credit cards. Any examples of such services? Or something like all4btc -- it was a company where one could send btc and an URL of the product to buy and they took care of the rest.


texts:
I recently bought $15 CAD worth of bitcoin from an bitcoin ATM nearby, only to receive $5.87 CAD worth of bitcoin(0.00047179BTC).

I am assuming this is because of the miners fee.

Why is it getting so high? Will it eventually drop? In total I payed a over 50% in miners fees.

Edit #1

Here is a link to the transaction https://live.blockcypher.com/btc/tx/7a24badf6dc3e7c7c788739e1e7d035fe0a10332d9f0531b0589f33ae8d9f953/


texts: Coinbase outgoing transaction never changed destination account balance?

texts:
The transaction can be tracked at https://blockchain.info/tx/47068b561814a19a9613946185d527c7ba6eb3b6ed0cf17554fc80c27d7f0d4e?show_adv=false.

Although the transaction has been already been confirmed many times the balance of the destination account 1AQ27x3NQDpj5AGjGAKkvrcJW4RWvmhstX still shows 0.

The Coinbase source account https://blockchain.info/address/127SXekKqYsY6EbASqkvSZ4ZfF31qGKG93 shows "No transactions found for this address, it has probably not been used on the network yet."

Is that phantom transaction?


texts: Is it possible to to create an output in a transaction that has a value of zero?

texts: When you create a transaction, can you create outputs that have values of zero? Or does every output have to have a value greater than zero?


texts:
I want to find out how many addresses have had x transactions over time.

I want to find out the average bitcoin transaction size for  over time...I want to do a bunch of different queries like that on a regular basis.

Big picture: I want to do fundamental research on block chain activity and publish it. I have worked a decent bit with databases in the past. How can I learn to interact proficiently with the bitcoin blockchain?


texts: Why is Ripple's base58 alphabet so weird?

texts:
In this answer I found out that Ripple uses a different base58 alphabet from Bitcoin. There aren't many materials on what that alphabet is, but I managed to find this reference:

  The base58 dictionary for ripple is: rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz

I am wondering - why is Ripple's alphabet so bizarre in comparison to Bitcoin's base58 alphabet:

  123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

I understand that for some branding reasons one would want to put "r" as a letter for 0 and use 0 as network byte for Ripple (thus making every address start with "r"), but the same could've been accomplished by simply shifting the alphabet like so:

  rstuvwxyz123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopq

What is the logic behind the odd alphabet letter order?


texts: How do bitcoin nodes know their own external IP address?

texts:
I'm studying the bitcoin source code and I have a doubt about if: Bitcoin nodes still follow the methods explained at the "Satoshi Client Node Discovery" wiki page?

More specifically, if they follow the explained local client's external address discovery method using external websites.

I didn't find any references/evidence of web requests being made to the ip address 91.198.22.70 or the checkip.dyndns.org web address in the code.

Was it removed at some point in time?

The Bitcoin source code version in question is the master branch at 2018/05/04 (v0.16).

Thanks in advance.

GitHub Bitcoin

Satoshi Client Node Discovery


texts:
How can I be positive that one of the incoming payments to my bitcoin-core was double-spent after it was confirmed once by the network, through the JSON-RPC interface?

Related questions:

How do I detect a double-spend?
Accepting 0-confirmation transactions and detecting double-spends with open source solution
https://bitcointalk.org/index.php?topic=327767.0 (GHash.IO and double-spending against BetCoin Dice)


texts:
Hello can anyone answer me whats the current btc-e withdrawal fee?
The only source of information i can find is this which says it's set to 0.01 btc. Is it still valid?


texts: Keeping wallet addresses outside bitcoin core

texts:
I'm trying to build a good security for my online bitcoin based application. Is something like this possible?

send_bitcoin(address)
create_address()
sweep_balances()
       +
       |
       |
       v         New transactions
+-------------+  <----------------   +--------------+
|             |                      |              |
| Wallet keys +--------------------->+ Bitcoin core |
|             |                      |              |
+-------------+   Submit signed tx   +--------------+

The "Wallet keys" will be my hot wallet. There will be another wallet store which would be used for cold storage. The "bitcoin core" will be some trusted public node that I don't control.

Does using this architecture have any disadvantages over running a full bitcoin core to keep addresses?

I need to get callbacks for new transactions on the list of addresses in my store, that is not managed by bitcoin core. Is it possible using this method?

My reason is that running a full "bitcoin core" takes up too much computing resources & disk which is expensive on cloud and by doing this I can avoid having to run and maintain a bitcoin node. I can submit a signed transaction to any trusted node.

Thanks.


texts: How to clear invalid transactions from one's wallet?

texts: I've recently been testing double-spend attacks against myself using a couple wallets, and the standard client does not appear to clear conflicting transactions from its transaction list, even if the other ones have already become a part of a block. How do I get rid of invalid transactions from my wallet?


texts: Unable to install MultiBit 64bit version

texts: How do I install the 64 bit version of MultiBit? I downloaded the MultiBit client that is supposed to be compatible with 32 bit & 64 bit but when I run the program it give an error message that says that the program is incompatible with the current version of Windows that it is being run under. How do I get the MultiBit client to run in 64 bit?


texts:
Some LND wallets provide a channel's "Number of Updates". Here's an example from Zap Desktop:

The LND gRPC API Channel Reference cites a property called num_updates. The description of this field is not very informative:

  The total number of updates conducted within this channel.

What specifically is a channel update?


texts: Bootstrap.dat incorrect or no genesis block found

texts:
Hi all i need to add bootstrap.dat after downloading i start bitcoind with -loadblock but not work i have error Incorrect or no genesis block found. Wrong datadir for network?

I start bitcoin with ./bitcoind -loadblock=/root/.bitcoin/bootstrap.dat and connexion of my VPS are very slow what is the good solution ?

Its possible because bootstrap.dat are very big file ? And what is the difference between -reindex and tindex ?

Thanks


texts: How does one programmatically "walk-back" on the block chain?

texts: I'm thinking (probably erroneously) along the lines of a linked list and C pointers, but how would one follow the block chain from some block all the way back to the genesis block? The previous block's hash is the "pointer", but in a C program (say), given any block how would the previous block be accessed?


texts:
I read here about the fees difference when paying to many addresses at once instead of doing it one after another.
I was wondering whether this applies to the transaction time as well.
Is it significantly faster if paying to N addresses at one?
If so, could you please give an example, say N = 20.


texts: A Bitcoin soft fork idea to help compress the blockchain

texts:
I've thought about a soft fork that can help storage costs.

Why don't we force miners to embed the height of the TX Merkle tree in the first two bytes of the 4-byte block header version?

It would have two advantages:

It'd fix the leaf-node brute force weakness (CVE-2017-12842), which is currently fixed only by standard-ness rules but not by consensus rules.
Similarly to the description in BIP 141, we can introduce a type of node that is neither a pruned node nor a complete full node, but they'd have txindex=1 for transactions with unspent outputs. Those nodes would first store full blocks. When the next block comes, using their txindex they'd look up the block, find the transaction and check if all outputs are spent. If so, they would remove the transaction from the storage of that block but only keep its hash. This would save a large space since it seems to me that most scenarios of querying a txindex-enabled node would use gettransaction on transactions with unspent outputs?

Any comments? I don't think this is worth sending to bitcoin-ml.


texts: What should I say when I "sign" a message, to prove that I own an address?

texts:
This reddit thread discusses a user who lost some coins and is trying to prove that he owns that address.

There was a question in how he signed, and what he signed in the message fields, since it's easy to become an imposter the way he did it.

Question

What should (and should not) be written in the message field to prove ownership of a particular address?

Examples might include:
- Date
- Nonce?
- ID such as Username, email address, full name, pgp public key, etc.
- To


texts: Using maxuploadtarget in Node Window Console

texts:
Complete first-timer to setting up my own node here... I’ve got as far as downloading and syncing the node (on Windows PC), getting my router and anti-virus ports sorted, but want to limit my upload/download capacity for a number of reasons.
I’m trying to follow the instructions from bitcoin.org by typing in -maxuploadtarget=<MiB per day> Or -maxconnections=<num> into the Node Window Console.
I keep getting the error “Method not found” despite trying a number of different ways of typing in the command.  Do I include the “-“, do I include the “< >”, do I include “Mib”, etc.
Can someone please help what exactly I should type in for a medium quality broadband without drawing too much attention (e.g. 500 MiB?).
Thanks so much and look forward to joining the BTC network.


texts: How do miners verify the blockchain transaction history to check if the sender has enough money if the address can be changed at any time?


texts: Is there an open source (free) client or code for bitcoin transactions

texts:
Possible Duplicate:
  How can I accept bitcoins on my website?

I have a few websites I am working on, but is there an open source code I can use that will allow people to deposit bitcoins on my site to where each user would have a unique deposit address?


texts: Which Bitcoin escrow services are available - and reliable?

texts:
For some transaction, the possibility of generating "chargebacks" might be very useful. For example, when trust cannot be established between both parties. In such cases, a trusted third party may be very helpful. One very well known and reputable Bitcoin escrow service was ClearCoin - however, that's currently not available.

Please list one service per answer (not multiple services in the same answer) so that the votes can decide on reliability (use comments for testimonies, if there are any ;-) ).


texts: Do I have to pay Fees on the Lightning Network if there is a Payment Failure?

texts: Lightning nodes are talking fees for routing a payment. Will fees be charged anyway if a payment fails?


texts: Mining Altcoin with hash rate bigger than average network hash rate

texts:
I am sorry if the question is off-topic but cannot find an answer to a simple question anywhere including btctalk.

So let's say a network hashrate of some coin using the X16R algorithm is 40 MH/s.  What happens if I start to mine with 2 8x1080 Ti rigs giving me about 200-220 Mh/s?

How can I calculate the percentage of total coins I get in 24h?

Suppose total number of coins mined in 24h is 7 million.


texts: how to find p2sh/p2wsh in utxo set after wallet recovery

texts: i'm trying to understand how wallets remember a redeem script for p2sh/p2wsh for spending, after recovering from their seed, because the utxo set only has the hash in it, right? there are a nearly infinite number of script possibilities, aren't there? what do i miss?


texts: Can I retrieve funds in a derived address with a high index?

texts: I sent funds to a derived address, but I didn't know about the gap limit and how the addresses should be used incrementally. I've used a huge value for the index but wallets only check the first few values -  is there a way I can retrieve them?


texts: Bitcoin Explorer - Truth or did i just got my wallet stolen?

texts:
So there is this webpage being advertised: http://allseeingbiteye.tk/

And the way it is advertised is: You can be tracked! Be careful of what you pay for. Bitcoin is as insecure and non-anonymous as a public toilet.

Obviously i got interested in it and ran the application, without administrative rights ofcourse.

With my security options, applications sometimes simply does not start until they are given administrative privileges...as soon as i ran that exe i realised that this could very well be sopfisticated scam to steal my wallet.

So anyone have any information about that site?


texts: src/net.cpp | What does "nUnkBias" define/mean

texts:
net.cpp for example:

// use an nUnkBias between 10 (no outgoing connections) and 90 (8 outgoing connections)
            CAddress addr = addrman.Select(10 + min(nOutbound,8)*10);

What does this line of code exactly mean/do?


texts: What does an orphaned tx look like via rpc?

texts:
I am testing with a currency forked from Pivx, but I see that bitcoind responds the same way here https://bitcointalk.org/index.php?topic=100824.0 with error code -5
If I send/receive a tx that then some time after a few confirmations (the block) was to become orphaned or stale; Would I get the same reply from rpc gettransactions as below (where I intentionally typed a non transaction id in) if I were to look for the tx or should it come back with a full tx object?
zdx-cli gettransaction "gyyyyf"
error: {"code":-5,"message":"Invalid or non-wallet transaction id"}


texts: Zcash T-address address wise UTXO transaction list both testnet and mainnet API

texts: I need API for address wise UTXO transaction list for Zcash t-address for both testnet and mainnet.


texts: What is the normalized transaction hash of a transaction?

texts:
With the recent commotion around transaction malleability, it seems like the Bitcoin developers have been working on a semi-fix for it, called the normalized transaction hash.

It's implemented here in this pull request by sipa.

What is this hash and how is it different from the regular transaction hash? How can it be constructed? How does it try to solve the malleability problem?


texts:
I need to properly segment transactions by time. Are timestamps in transactions trustable? Can these be forged?

I'm not sure if transaction timestamps are part of the protocol, but I'm particularly interested in the "Received Time" which shows up in blockchain.info . For example, this transaction (api url)

{
   time:1385506952,
   inputs:[
      {
         prev_out:{
            n:2,
            value:50000000,
            addr:"17BPmjqg7mbaWYdff2EjVxra1FBHG4VAN3",
            tx_index:97772745,
            type:0
         }
      }
   ],
   vout_sz:2,
   relayed_by:"127.0.0.1",
   hash:"4054f8170f7fc7c12229a116baead874f22478810b0a7e842aa28403c9b59927",
   vin_sz:1,
   tx_index:99131036,
   ver:1,
   out:[
      {
         n:0,
         value:40000000,
         addr:"1LwmnEn97jcANB68C5BVFQLJJLAm5UTJqW",
         tx_index:99131036,
         type:0
      },
      {
         n:1,
         value:9990000,
         addr:"17BPmjqg7mbaWYdff2EjVxra1FBHG4VAN3",
         tx_index:99131036,
         type:0
      }
   ],
   size:257
}


texts: How do I query a remote bitcoin node like RPC?

texts:
I know how to query the blockchain stored on my machine programmatically using bitcoind commands. Is it possible to do the same on a public node?

For example, is it possible to send “getblockcount” over the internet to bitcoinstats.com, hard-coded in the bitcoin source, or to inductivesoul.us, found in the bitcoin.it wiki? What are the steps to do so?

Edit

The quick answer is:

No, you cannot use bitcoind commands.
You have to communicate with a remote node using TCP.
You have to use a different set of commands found in the Protocol Specification.


texts: Why is using a simple SHA1 in a scriptPubKey to emulate a "password" a security problem?

texts:
I'm independently working my way through an excellent online course on bitcoin, made available from Stanford.  (https://crypto.stanford.edu/cs251).

One of the problems in the homework challenges the student to create a scripSig that redeems an output locked with a simple SHA1 equality check:

  Alice is on a backpacking trip and is worried about her devices containing
  private keys getting stolen. So she would like to store her bitcoins in such a way that they can
  be redeemed via knowledge of only a password. Accordingly, she stores them in the following
  ScriptPubKey address:

  OP_SHA1
  <0xeb271cbcc2340d0b0e6212903e29f22e578ff69b>
  OP_EQUAL

  a. Write a ScriptSig script that will successfully redeem this transaction. [Hint: it should
  only be one line long.]

While I understand why this is a terrible way to go about storing your coins, I can't come up with a 1 line scriptSig to redeem the funds without knowing the pre-image.

Granted any relaying node could just redirect the transaction output to themselves, after you give up the pre-image, but that doesn't seem to be what is being asked.


texts: dyld: Library not loaded when running bitcoind on a mac

texts:
I'm having trouble running bitcoind on my Mac (Sierra). I previously had bitcoind installed, compiled from source, but had to remove it when I was running low on space. I recently installed Bitcoin Core again, but this time I downloaded a .dmg file. It installed fine and I can run Bitcoin-Qt. Now, when I try to run bitcoind from the command line, or use bitcoin-cli, I get the following error message:

dyld: Library not loaded: /usr/local/opt/miniupnpc/lib/libminiupnpc.16.dylib
  Referenced from: /usr/local/bin/bitcoind
  Reason: image not found
Abort trap: 6

I don´t seem to be able to fix this. I might be an easy fix, but I haven´t been able to take care of it.

Anyone out there with an idea of how to solve it?


texts: Why is the probability of finding a winning nonce exactly the same for a new header and a header where you've already tried 1 billion nonces?

texts:
I'm referring to this question: When do miners stop waiting for new transactions?

More specifically, this statement from the top answer:

"suppose you have a block header h1 on which you have already tried a billion nonce values, and a header h2 which has just been generated and on which no nonces have been tried yet. If you have the choice as to which one to hash next, which should you choose, for the greatest chance of finding a winning nonce? The answer is, it makes no difference - they both have exactly the same probability. So there is no harm in switching to h2"

I would have thought that the probability would be slightly higher for the first block (h1) as there are 1 billion nonces that you know do not succeed, i.e. fewer winning possibilities.

Complete newbie here and to the bitcoin world so apologies if I'm missing something obvious.


texts: Golang how to derive address from bip32's xpubkey?

texts: i'm trying to derive HD address of bitcoin using Golang. I have extended private/public key. The problem is i'm unable to find any library in Golang that can generate/derive address from the xpubkey/xprivkey. any advice?


texts: What provably fair Bitcoin gambling sites work well on a mobile?

texts:
Are there an Bitcoin-based gambling sites or apps that work on a mobile?

Most of the sites seem to be assuming the player is on a full size display.

If the service isn't considered "provably fair" then I'm not interested.  An example of a provably fair game is one where the host gives the hash of the secret, then a client seed is generated, then after play at some point the secret that was used is revealed.


texts: Now I know there is one Bitcoin ATM in Vancouver, Canada. Is there a Bitcoin ATM in London? If yes, where is it located?


texts: How to create a bitcoin transaction without inputs

texts: How can I create a transaction without inputs and it will be broadcasted but of course won't get confirmed? I would like the simplest method to do this


texts: Satoshi introduced the 1MB block size limit in a commit. Why did Andresen make an identical commit some days later?

texts:
Satoshi added the 1MB block size limit in this commit on 15 July 2010

https://github.com/bitcoin/bitcoin/commit/a30b56ebe76ffff9f9cc8a6667186179413c6349

https://sourceforge.net/p/bitcoin/code/103

Why did Andresen make an identical commit on 19 Jul 2010?

https://github.com/bitcoin/bitcoin/commit/9d2174b6f5f3fac2463c7ebc2dbb9004b3740d23

I realise it was enforced in a later commit via UASF, but the question remains, why are there two identical commits? Have I misunderstood the workflow? Did Andresen make changes when transitioning from SourceForge to GitHub in 2011?
TLDR: What is the purpose of two identical commits with different dates in the GitHub history?


texts: Does Bitcoin Unlimited keep ASICBOOST intact vs going with segwit?

texts: In light of the new findings about ASICBOOST from bitmain. Having that segwit disables ASICBOOST, does this mean that Bitcoin Unlimited leaves this ASICBOOST feature intact? Having that segwit disables this ASICBOOST feature, has Bitcoin Unlimited done the same?


texts: Transactions in a shorter blockchain branch

texts:
As I understand it, in a situation where two miners solve a block at the same time, a branch is created on the blockchain which is resolved when one branch is built upon, and thus becomes longer than the other branch.  The longer blockchain is then regarded as the de facto blockchain.

But what happens to the confirmed transactions in the shorter branch?  If this shorter branch is now disregarded, are the transactions lost?  If so, are bitcoins lost as a result?  Are the transaction sent back to the miners' mempool?  If so, is there a risk of double-spending?


texts: i've been searching for hours now. Also on StackExchange here. Are there any public nodes that i can connect to using jsonrpc? I want to lookup stuff (im not into generating priv keys or anything) but I dont want to use any api. So are there any public nodes that I can connect to?


texts: How run c-lightning with the local node bitcoin

texts:
I have a bitcoin-core-18.0 with on my linux mint, and I don't have downloaded the bitcoin with the ppa but I downloaded the official zip directory on site bitcoin.

Now my question is, c-lightning with this configuration bitcoin-core?

I'm running this command and I have this error

./bitcoin-0.18.0/bin/bitcoind -datadir=/media/vincenzo/Maxtor/BitcoinCore/node/ -daemon -testnet &
./clightning-v0.7.2.1/bin/lightningd --lightning-dir=/media/vincenzo/Maxtor/C-lightning/node/ --network=testnet --log-level=debug

The error

2019-08-22T13:00:06.878Z DEBUG lightning_gossipd(9943): pid 9943, msgfd 20
bitcoin-cli not found. Is bitcoin-cli (part of Bitcoin Core) available in your PATH?

Make sure you have bitcoind running and that bitcoin-cli is able to connect to bitcoind.

You can verify that your Bitcoin Core installation is ready for use by running:

    $ bitcoin-cli -testnet echo 'hello world'

Exist some propriety configuration c-lightning?


texts: Where can I find a C or C++ implementation of converting bitcoin privatekey to bitcoin public key and bitcoin address?

texts:
There are versions in python and some such things, but I need a C version (or at least C++).
I do have the sha256, RMD160 in C already, and those functions are called. Thank you.


texts: Can I recreate a wallet using on my priv/pub keys only?

texts: If I lose my wallet (let's say it is hosted with a company that went bust) can I recreate that same wallet with another provider using only the private/public key pair I had with my original wallet?


texts: Does spy mining negate the harm caused by big blocks on decentralization?

texts:
In the question Do larger blocks make it harder for smaller miners to compete? Why? there are some reasons given for why larger blocks hurt smaller pools. Is this still the case with spy mining?

Spy mining is when a mining pool connects a dummy miner to another pool to subscribe to the latest block hash, without waiting for new blocks to propagate.

Another description of spy-mining is here.
Is the only impact of larger blocks is an increased frequency of empty blocks or am I wrong?


texts: In the past year only, the bitcoin mining difficulty has increased fivefold. If in the coming years the difficulty increases so much that mining is no longer profitable (i.e. consumes more power than money is earned), can the bitcoin network exist without miners? Can bitcoin supporters or governments have data centers that handle transactions only and do not spend computational resources on mining new bitcoins?


texts: Are there any POS (point of sales) machines that accept BTC?

texts: We would like to know if there are any POS in the market that accept BTC or any other Cryptocurrencies? How do you think if these kinds of POS will be the trend in future?


texts:
I have a P2SH no segwit address (regtest) I create the redeem script with SHA256 and RIPEMD160 of my public key and prepend 0x0014

 ---------- Redeem Script ---------
001407b01acbc2869d92912d50de6c7a6b9cb31487f0

 ---------- scriptPubKey ---------
36e74f3c86af031ee34a4552c0d935d180db0a26

 ---------- ADDRESS P2SH ---------
2MxFXaJvTozTJNZmd6E53wwFX7RnbDkGsGe

After that I want to create a transaction manually. I put redeem_script in scriptSig place holder and sign the transaction data.

After that I create the transaction with my signature and add even the redeem_script in scriptSig (like P2SH multi sig)

my final transaction data is:

0200000001f1838b3d294b74a1869140f538ba895b7aef81eab5e87206725ef1f868598a01000000005F47304402204a181d59fd36fb921d68596a4ae89ee6aef6980ab4a2f433ff28be4760744b76022027752d2a405c20aeda51038a8dccc3f2c0df1088fdebaee5f1eed9fad6ae086b0116001407b01acbc2869d92912d50de6c7a6b9cb31487f0ffffffff016036f829010000001976a9143dc3d9dc346b539125506ca681442d89c336813688ac00000000

I get this error:
mandatory-script-verify-flag-failed (Opcode missing or not understood) (code 16)


texts: How should I send my bitcoins to my wallet from coinbase

texts:
I just bought Bitcoins with Coinbase site, and as I read about bitcoin, everybody say I shouldn't let my bitcoins in Coinbase, as I don't have the private keys.

So I opened a bitGo Wallet, and try to send some bitcoins there, but If I want to send 10 euros, it cost me 31.22 euros to send it...

I don't understand it. Can anyone help me understand why ?


texts: Why are ticker messages in the MtGox PubNub API repeated?

texts:
I'm using MtGox's PubNub API to fetch ticker data. I've subscribed to the BTC/EUR ticker with id 0bb6da8b-f6c6-4ecf-8f0d-a544ad948c15 . In more than half the cases when I receive a new ticker message, the data is just the same as that of the previous message, except for the timestamp of course. I expected ticker messages only when there is new data available, so I do not understand why the ticker messages get repeated. Examples:

diff_to_previous  instant_________      last_all        last_local      last_orig       buy_____        sell____        vwap____        vol_____________    item  avg_____      high____        low_____
n/a               2013-12-12 16:31:46   EUR 628.31408   EUR 620.22000   USD 865.00000   EUR 620.22000   EUR 629.00000   EUR 647.91649   BTC 1365.61335998   BTC   EUR 649.27938 EUR 680.00000   EUR 615.00000
none              2013-12-12 16:31:50   EUR 628.31408   EUR 620.22000   USD 865.00000   EUR 620.22000   EUR 629.00000   EUR 647.91649   BTC 1365.61335998   BTC   EUR 649.27938 EUR 680.00000   EUR 615.00000
none              2013-12-12 16:31:53   EUR 628.31408   EUR 620.22000   USD 865.00000   EUR 620.22000   EUR 629.00000   EUR 647.91649   BTC 1365.61335998   BTC   EUR 649.27938 EUR 680.00000   EUR 615.00000
last_all          2013-12-12 16:32:05   EUR 617.41846   EUR 620.22000   USD 850.00000   EUR 620.23000   EUR 629.00000   EUR 647.91649   BTC 1365.61335998   BTC   EUR 649.27938 EUR 680.00000   EUR 615.00000

What kind of events trigger a ticker message to be broadcast?


texts: Locally Sign transactions Blockcypher API

texts:
I'm having a problem that I can't solve since yesterday with the blockCypher APIs when I try to create a new transaction and submit it.
https://www.blockcypher.com/dev/bitcoin/?shell#creating-transactions
i have to sign locally but their php or cURL code don't work (they give me several problems)
I searched the internet but found nothing suitable.
many signing tools found online tell me to enter a message in addition to the private key, what message should I enter? does not refer to any messages here:
# next, you sign the data returned in the tosign array locally
# any ECDSA secp256k1 signing tool should work
# $PRIVATEKEY here is a hex-encoded private key corresponding to the input from address
CEztKBAYNoUEEaPYbkyFeXC5v8Jz9RoZH9

sign: 32b5ea64c253b6b466366647458cfd60de9cd29d7dc542293aa0b8b7300cd827 $PRIVATEKEY

3045022100921fc36b911094280f07d8504a80fbab9b823a25f102e2bc69b14bcd369dfc7902200d07067d47f040e724b556e5bc3061af132d5a47bd96e901429d53c41e0f8cca

do you have any algorithm that i can use in php?


texts: How to resolve eclair-node-gui-0.3.3-12ac145.jar getting CAPSULE EXCEPTION after java update to version 11.0.9.1?

texts:
I've been running Eclair node release eclair-node-gui-0.3.3-12ac145.jar smoothly for some time now on Ubuntu 18.04.5 LTS, but recently had an update to the java version i was using to the latest (?) through the software updater to java version 11.0.9.1.
This now causes the usual procedure i took to run the node -
open terminal -
cd Downloads
java -jar eclair-node-gui-0.3.3-12ac145.jar

to fail. The terminal gives me the following message:

CAPSULE EXCEPTION: Could not parse version: 11.0.9.1 while processing attribute Min-Update-Version: {} (for stack trace, run with -Dcapsule.log=verbose)
USAGE: java  -jar eclair-node-gui-0.3.3-12ac145.jar
Actions:
capsule.version - Prints the capsule and application versions.
capsule.modes - Prints all available capsule modes.
capsule.jvms - Prints a list of all JVM installations found.
capsule.help - Prints this help message.
Options:
capsule.mode= - Picks the capsule mode to run.
capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated.
capsule.log= (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
capsule.java.home= - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule.
capsule.java.cmd= - Sets the path to the Java executable to use.
capsule.jvm.args= - Sets additional JVM arguments to use when running the application.
I have tried vainly to tease some information from the terminal by trying to paste some of the actions and options commands in ,in the form of, for example -
java capsule.version -jar eclair-node-gui-0.3.3-12ac145.jar
to be met with-
Error: Could not find or load main class capsule.version
Caused by: java.lang.ClassNotFoundException: capsule.version
and -
java capsule.reset -jar eclair-node-gui-0.3.3-12ac145.jar
Error: Could not find or load main class capsule.reset
Caused by: java.lang.ClassNotFoundException: capsule.reset
Would appreciate any advice on where i stand with resolving this problem.


texts: Paid $4.26 on a $133 transfer - why unconfirmed?

texts:
I sent money to myself from a Bitpay wallet (using send Max) to a Cashapp wallet.
Transaction id -  577b3fe1e372e2375bcfbb2c666cdc74fa766fd022592040a539154c9ff7d820
https://www.blockchain.com/btc/tx/577b3fe1e372e2375bcfbb2c666cdc74fa766fd022592040a539154c9ff7d820
Why 20 hours unconfirmed and is there any way to get this unstuck considering the 2 web wallets I use?


texts: Can one rig run multiple different graphics cards?

texts: I have some 7950 and some R280, can I connect them both on one rig? Will it work normally? Or does system require all GPUs to be same?


texts: Are Bitcoin and Litecoin test addresses compatible?

texts:
It seems to me that they are. I mean you can send test bitcoins to test Litecoin addresses. I don't think it's problem at all, but it can cause some confusion.

Real addresses cannot be mixed, but I managed to send test coins from Litecoin wallet to Bitcoin test wallet. The coins did not come obviously.


texts: Try to migrate Bitcoin Core wallet to an HD wallet but get "St13runtime" exception

texts:
I am trying to follow these steps to migrate my wallet to an HD wallet. But it failed, the debug log has errors like this:

EXCEPTION: St13runtime_error
DeriveNewSeed: AddKeyPubKey failed
bitcoin in AppInit()

After some quick search, I found the #issue14422 of bitcoin is related to this issue, which says the upgradewallet option does not work when the wallet is encrypted. The issue is still open and no solution is given. So how can I upgrade my wallet to the HD wallet?


texts: Can I earn transaction fees by running as a full node, verifying transactions, but not mining?

texts:
As I understand it, by running a full node (i.e. Bitcoin-QT) , I am helping confirm transactions and contributing to the Bitcoin network.

When transaction fees are offered, do I receive these, and if so, how? Or do I need to be a fully fledged miner?


texts:
How many wallets is there in existence(that are unique with bitcoins)?

Is there any page with statistics that can give a bigger perspective other than figuring out the data structure of the blockchain.

Meaning is it possible to get all the public keys for all the transactions ever made?

However it seems like the public keys aren't stored in the blockchain, instead it's the addresses which is a hash of the public key.

Am i correct that's impossible to find out the public keys of all transactions(Unless you bruteforce them which is practically impossible)?


texts: if my wallet is sufficiently secure, can I ever lose my coins?

texts: I've made an offline address and only have the key stored on 2 encrypted flash drives stored in different locations with the private key written physically on paper and stored in 2 locations. Do I ever have to worry about my coins? That is, could theyever be lost in software changes or is that as big of a never-going-to-happen as the 21 million limit being lifted? I'm pretty sure I'm not touching that wallet for a long time. Is there any benefit to repeating this process for a more "fresh" address ever or does that not make sense?


texts: Newbie question, bitcoind installation doubte

texts:
I am not an expert of linux systems but I want to learn how to use it on a secure way. I have an vps with ubuntu and I installed bitcoind with the root user. I read into a lot of sites that I should use another user account and install the program which require privileges through sudo command. Is it very bad that I have installed bitcoin daemon as root? If it is very bad, which are the right steps that I should follow to have a clean and secure installation?

Maybe it is a stupid question, but if someone could reply me to improve my knowledges I'd be very grateful


texts: How many blocks have no unspent transaction outputs?

texts: I can't seem to find statistics anywhere on how many blocks have no UTXOs, or what the distribution of UTXOs are in blocks over time, or anything like that. If you could point me in the direction of something along these lines that'd be great!


texts: How do I use mSIGNA without the standard Bitcoin client?

texts:
Which IP do I have to fill in in mSIGNA to connect to the Bitcoin Network without using the BitcoinQt/bitcoind application?

Is it possible to use mSIGNA and BitcoinQt even if the syncing process is not finished yet?


texts:
Can anyone share and explain the details of a z-cash shielded and transparent transaction?

The block explorers have minimal details. They dont even have a zk-proofs in them.


texts:
I have a physical bitcoin which has a 8 digit number. Is it possible to get the address of the coin without paperwork, as none accompanied the coin when a family member gave it to me.
I also have a Blockchain.info wallet and it says "Scan Pairing Code". When I do that, it shows little blue dots and takes a photo.
Can you tell me if I need the letter or address that comes in paper form?


texts: What complexity class is Bitcoin's proof-of-work (hashcash) in?

texts:
To formulate this question precisely, I will define an idealized hypothetical "perfect" hash function H(n) which has nice scalability properties, and will formulate a problem PERFECT HASHCASH in terms of that, understanding that practical considerations may end up yielding only an approximation of this ideal.

To keep it simple, we will say that our hash function H(n) takes as input a single natural number n. Then we say that H(n) is a perfect hash function iff:

H(n) maps each natural number to an infinite binary sequence, of which the time complexity to compute any initial segment s is polynomial in the size of n and s, (making it a sponge function).
For any initial segment of length d, the set of all natural numbers n such that H(n) shares that initial segment has natural density = 1/(2^d).

The first thing formalizes the scalability of our function, and the second thing formalizes the idea that we want all hashes to appear roughly "equally often" as an output. Other than that, our perfect hash function is a black box, and we don't care much about exactly how it works, so long as it meets the above properties, as well as the usual desiderata applying to hash functions (easy to compute, hard to invert, hard to find collisions, etc).

Predicated on the assumption that a perfect hash function exists, we can now define the problem PERFECT HASHCASH as follows: PERFECT HASHCASH takes as input a perfect hash function H, a natural number n, and an all-zeroes vector 0^d of length d, which can be thought of as a unary representation of d. A solution to PERFECT HASHCASH consists of an n and d such that H(n) starts with 0^d.

Given those inputs, it is clear that PERFECT HASHCASH is in the complexity class TFNP, since this is a function problem and a solution is guaranteed to exist.

Can we also identify PERFECT HASHCASH as a member of any complexity class finer than TFNP?

Could it perhaps be in PPP? PPA? PPAD? Something else?

For background, see Complexity class on Wikipedia.

EDIT: the above question has been overhauled, as in the way that I originally formulated it I assumed that SHA256 is what I'm now calling a perfect hash function. Many people have noted in the comments that this may not be true, so rather than place the emphasis in this question on whether SHA256 specifically has the nice scaling properties we want, I defined an idealized hash function that we hope SHA256 at least approximates nicely enough for real-world purposes, and rephrased the question in terms of that.

As a final note to clear up any potential confusion, to make PERFECT HASHCASH resemble real Hashcash, we'd have to make one more assumption: that there exists some way to start with a block of data (an email, a Bitcoin block, etc) and somehow derive a characteristic perfect hash function from that, perhaps by "salting" a different perfect hash function in a way that the result is also another perfect hash function. So in the case of a "perfect Bitcoin," all of the miners on the bitcoin network would be working with their own unique perfect hash functions H'(n) which are somehow tied to the block they're working on, and each miner would simply try H'(0), H'(1), H'(2), ... in order until they find something starting with enough 0's. Each H' would be a different input to PERFECT HASHCASH.


texts: How did these zero-transaction fee transactions make it into the Bitcoin network?

texts:
I thought someone said in this forum that the Bitcoin network screens out zero transaction fee-transactions because they are "dust" transactions and if anyone could submit zero-transaction-fee transactions, people could start a DOS attack and clog the system.  Then I stumbled upon this web site that lists the fees for submitted transactions

https://bitcoinfees.earn.com/

And there are actually a handful of zero transaction fees (as well as a few 1-10 Satoshi transaction fees).  How is this possible?  Did someone game the system and get their transactions in there?


texts: Connect to bitcoind from a different device within the same local network

texts:
I have a full node running on a Linux device (A) with static IP 192.168.1.203 and I want to run bitcoin-cli commands or even eclair instances from a different device (B) within the same local network.

Device (A) has bitcoin.conf configured to accept RPC calls with this basic bitcoin.conf

server=1
daemon=1
txindex=1
rpcuser=<user_name>
rpcpassword=<password>

Actually I have an eclair running successfully on Device (A) and default RPC ports connect well. No typos on user_name and passwords.

When running the following command in device (B):

bitcoin-cli -rpcconnect=192.168.1.203 -rpcport=8332 -rpcuser=<user_name> -rpcpassword=<password> -getinfo

error: Could not connect to the server 192.168.1.203:8332 (error code 1 - "EOF reached")
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.

Any ideas what can be wrong?


texts: What does Bitcoin policy language offer the developer that Miniscript doesn't? What is the difference between Bitcoin policy language and Miniscript?

texts:
I understand that policy language compiles to Miniscript and Miniscript compiles to Bitcoin Script. This is also a great resource on Miniscript: http://bitcoin.sipa.be/miniscript/ But I know very little about policy language and there doesn't seem to be too many resources on it online.

When would I use policy language rather than Miniscript? What does policy language offer that Miniscript doesn't? What are the key differences between them?

Correction: As James points out below Miniscript does not compile to Script. Ivy is a smart contracting language that compiles to Script. http://diyhpl.us/wiki/transcripts/noded-podcast/2019-05-11-andrew-poelstra-miniscript/


texts: How do I start -testnet in -deprecatedrpc to test a script?

texts:
I hope all is well during our COVID-19 pandemic.
My question: How do I start "bitcoind -testnet" in "-deprecatedrpc=signtransaction" mode?
Do I simply start it the same way without being a test and insert "-testnet" between "bitcoind" and "deprecatedrpc" like this"bitcoind -testnet -deprecatedrpc=signrawtransaction" (I mean, I need this to make sure my script is tested before running it and it keeps saying "error: Could not connect to the server 127.0.0.1:18332 (error code 1 - "EOF reached").
Thanks.


texts: Unverified transaction with 78 confirmations

texts:
Transaction is here...

8aa341eb0f0fdea739b27bdbe29c47407de342c9debb2093cde16d13fcce05d8

One of the inputs has 93 confirmations but is unverified...

ab56917add395f61da4599cedcfa785274ea81677aefb72a2d4dfd896742504a

Is this going to resolve itself or is there some action I need to take?

Using Electrum wallet.


texts: How does a Lightning transaction work if one party starts with no Bitcoin and no wallet?

texts:
Let's say Alice wants to give Bob 1₿, and Bob doesn't have a regular blockchain wallet address yet.

The classic example assumes that Bob is locking some Bitcoin of his own on the blockchain, and Alice and Bob are both funding a channel between each other.  But what if Bob doesn't have any Bitcoin yet, and Alice wants to give him some via Lightning?  Then he could get the Bitcoin from Alice, do transactions with it with other parties in the Lightning Network, and only do a slow expensive blockchain transaction when he's ready to cash out.

I know it's possible because I've been able to test this out with two different Lightning apps with separate wallets.  I funded one Lightning Wallet, and opened another app with 0 balance and no regular wallet.  I was able to fund the second wallet instantly.  But I'm not sure what's going on to make it happen.


texts: Bitcoind Performance for production usage

texts:
Lets say we have one instance of bitcoind running on the production server. And our exchange software/application interacts with it using RPC callbacks for:

address generation
withdrawal
notifications

Now the question is
what is the capacity of bitcoind?
What would be the limit for number of transactions per minute?
What is bitcoind performance?
Any suggestions?


texts: Using Armory Watch-Only wallet in Electrum?

texts:
Is it possible to import a Watch-Only wallet that was made in Armory into Electrum?

I like to use Armory for cold storage but like Electrum more for hot wallets because it's lightweight and you never have to sync. Is there a way I can import my cold storage wallet's watch-only copy that was made with Armory into Electrum on my personal computer?


texts: What is the command to sign a message using a segwit private key using electrum 3?

texts: I want to sign and verify a message using a segwit private key that i generated with another application. How can I sign and verify a message using electrum 3 cli?


texts: Set up a Bitcoin full node: static or dynamic IP address?

texts:
I am trying to set up a new Bitcoin full node and my institution ISP is trying hard to not give me a static IP address for this purpose. I guess because of the concern that the node will be DDoSed, port scanned, etc.
My questions are:

How frequently a full node with static IP get DDoSed?
Is there any strong reason for favoring static IP address over dynamic IP address?


texts: My BTC was stolen using my Blockchain pairing code

texts: I was having a issue with my blockchain account, so I searched for help on Facebook. Then I got a message from some obviously not related to Blockchain (I didn't know this at the time) but acted as their support team and wanting to help resolve my issue. This person requested my blockchain pairing code so he could fix the problem. After providing it to him, all my BTC was sent out of my account. How did he access my account with just my pairing code?


texts: How to get my BCC from Blockchain wallet

texts:
I've wallet provided by Blockchain.info. As they wrote, they will not support BCC. My question is: How do I get safely BCC when I have BTC in my blockchain wallet?

Ty


texts:
Trying to find good documentation on how to build cg miner for windows. I have looked at MXE and was going to make it using this command but wasn't sure what targets I should I use there is not a lot of documentation on how to do this.
make MXE_TARGETS='x86_64-w64-mingw32.static i686-w64-mingw32.static'

Then I was going to run this on the cgminer
export PATH=(path/to/mxe) /usr/bin/:$PATH
CFLAGS="-O2 -Wall -W -march=i686" ./configure --host=i686-pc-mingw32 <options>
make

Am I building MXE with the right MXE_TARGETS?


texts:
I'm running Debian & Ubuntu and I've been using this script running in a terminal for a while but I find I easily get obsessed with the price. Instead I'd rather get, say hourly, desktop notifications.

Is there a simple way to do this?


texts: I do not remember being asked for a passphrase when I installed Bitocoin-Qt (0.8.2 - Beta) (though it was a couple months ago, I could be mistaken) and now am being asked for a passphrase.  I have no idea what it is.  Can this passphrase be reset?  If it cannot, are there restrictions on what can be used for the passphrase (i.e. only letters and numbers) ?


texts: Do you have to keep broadcasting transactions until mined?

texts:
From what I know, you can broadcast a transaction including input addresses, output addresses, and amounts, which is signed by your private key.
I often hear that your transaction might not be mined in the next block, since there is a limited capacity, and you can incentivize miners to prioritize your transaction by paying a higher mining fee.
But this doesn't make sense to me... I assumed that transactions must be mined in the next block, since your transaction also includes the hash of the previous block in order to prevent double-spending. Is this assumption correct?
Does this mean, for every block in which your transaction is not included, you need to continuously broadcast a new transaction with the hash of the new current block?
Or, is there a mechanism for just broadcasting a single transaction that can be mined in any future block, but cannot be mined more than once so that you don't accidentally spend extra? If so, how would this work?
I was thinking, because transactions must consume all bitcoin in an address (and you can send some back to yourself if you want), that a miner can not mine the same transaction twice because your address would now be empty in the new state of the blockchain. Is this the case?
Thanks for trying to clarify this for me :)


texts: how to transfer genesis block reward for blackcoin?

texts: So my genesis block has a reward setup but I want to send it to my wallet. can you please tell me how? I am using black coin


texts: Building the merkle root from transactions in a template block

texts:
I want to compute the merkle root for transactions in a given template block -  bitcoind:getblocktemplate().

I understand the merkle root is a hash of all the transactions in a block from the last up to the coinbase transaction, but this is currently way above my pay grade and the documentation I can find for this process is abstract and sketchy at best.

Has anyone done this in JavaScript or know of a resource that could be helpful?

Thanks in advance.

client.getBlockTemplate( function(error, template) {
    if (error) return console.log(error);

    // SETUP MINING
    nonce=0;
    const block = {
        version: template.version
        ,previousblockhash: template.previousblockhash
        ,merkleroot: calculateMerkleRoot(template)
        ,time: template.mintime
        ,bits: template.bits
    }

    // START MINER
    miner(block,nonce);
});


texts: How is all this bitcoin theft happening?

texts: When reading many stories about bitcoin theft, what is the usual gist? Dont most of these hackers get digital wallets that are encrypted? How do they make use of it, crack it...or its not encrypted at all?


texts:
about 2 months ago the price was at about 140 USD per coin, but a couple days ago I checked and it was well over 1000!
what caused the sudden spike in value and will it continue to grow?


texts: Why does Bitcoin charge per transaction?

texts: The first time I heard about Bitcoin, someone told me that it's almost free to transfer bitcoins to other people. However, I found something called "cost per transaction." Why does the Bitcoin network charge per transaction? Who receives the transaction fee?


texts:
Is it possible to split the mining hashpower of a rented mining rig over multiple pools simultaneously?

Say, I rent a scrypt mining power of 5 Mh/s. What I want to do is point that rig to a stratum tcp port on a VPS/dedicated server that I own, and then "funnel" the total hashpower to mine on different pools from the VPS using cpuminer/gpuminer. Is that possible?


texts: How does the transaction signature prevent transaction duplication?

texts:
Let's say that Alice sends 1 BTC to Bob.
We have then a signature of (Alice sends 1 BTC to Bob) with Alice private key.
What prevents Bob from duplicating this exact same transaction and sending it to the network to get another BTC (or many more), given that he already has Alice's signature of (Alice sends 1 BTC to Bob) ?

Thanks a lot :)


texts: Upgrade from Bitcoin QT 0.8.5 to latest Bitcoin Core 0.15.X

texts: I bought and transacted BTC in 2013/2014.  I had a Bitcoin QT 0.8.5 wallet.  I plugged it in and it updated correctly to the latest block.  It correctly showed my BTC balance.  I made a transaction without enough fees, which has sat unconfirmed for weeks now.  I decided to upgrade to the latest Bitcoin Core wallet and so downloaded it, checked the Checksum, and then loaded it.  I swapped out the wallet file with my backup of my original wallet.  For some reason, it only shows about 1/1000th of my BTC holding.  I have got the blockchain completely up to date.  There are no other transactions showing, only those I have made.  I have gone back to QT 0.8.5 and it still shows the correct balance when the blockchain updates.  What am I doing wrong in the latest Core version?


texts: How is Recipient's Public Key Used When Receiving Coins (if at all)?

texts:
I understand the above image is dated--I posted here just for reference.

Assume the first tx is for Alice (Owner 1) and the second is for Bob (Owner 2). My previous question (Confused About Hash In Satoshi Nakamoto Diagram) covered that the signature that ends up in the second transaction uses ECDSA and takes the Owner 1's private key and a message as input. The message is the hash of the transaction 1 (less the sig). The sig that gets stored in transaction 2, if verified with Alice's public key, proves that Alice released funds to Bob.

But how does the network know that Alice meant to give these funds to Bob? When Alice "sends" coins to Bob, she first get's Bob's address (let's just keep it simple for now and say that Alice has Bob's public key). After that, it seems to me that the network would encrypt the Alice's signature with Bob's public key so that when Bob wants to verify the sig with the ECDSA verification algorithm, he first would need to successfully decrypt the sig with his private key. Is that correct? The other way I can see it working is if the network creates transaction 2 with Bob's public id in it, and that only Bob can use the funds in that transaction record because to spend those funds, Bob will need the private key.

If neither assumption above is correct, is there anything about the protocol that ensures Alice's transfer of ownership reaches the intended recipient? If she makes a mistake in the recipient public key, is there any way for her to correct her mistake if Bob never receives the coins?


texts: How would one go about creating a new alt-coin?

texts:
I'm looking to create an alt-coin for a club I'm a part of.  All the members of the club will be mining this currency - and we will use it for trade between members. It will also be a learning experience for everyone.

What is the fastest way for me to create this new alt-coin - and assuming everyone will be GPU mining - what would be the best alt-currency to base it off of (or would it be better to base it off of the original bitcoin)?

What programming skills would we need to re-use existing code?

Thanks for your help!

CC


texts: How can I copy the blockchain from my working client for use with a live CD savings wallet?

texts:
I have the Bitcoin client installed on my Windows PC, but I want to set up a savings wallet with better security that I access with an Ubuntu live CD. I don't want to have to download the entire blockchain though - can I use my blockchain from Windows in the Ubuntu OS?

And how can I copy the blockchain from my existing Windows client installation to, say, a USB stick for use by an Ubuntu live CD, then into the Bitcoin client folder?


texts: Chainstate LevelDB corruption after reading from the database

texts:
I've been working with the LevelDB for a few weeks, coding some tools to access the database and parse the data to be human readable.

However, every single time I read from the chainstate the data gets corrupted (ask me to rebuild it when running bitcoind). I decided to copy the DB as a workaround after it happened the first time, but it's quite annoying to do so every single time I want to update the data.

I'm using plyvel and Python 2.8, and I close the DB every time I finish with the reading.

Example

# Open the LevelDB
db = plyvel.DB(".bitcoin/chainstate")

for key, o_value in db:
 # do stuff

# Close the LevelDB
db.close()

Does anyone knows what could be the reason? Does bitcoind prevent other software to access the DB by marking the last access somehow?

chainstate LOG after running the code, retrieving the obfuscation key, and closing the database:

2017/03/22-11:03:45.746702 7f3c18a39700 Recovering log #394423
2017/03/22-11:03:45.854583 7f3c18a39700 Delete type=0 #394423
2017/03/22-11:03:45.854711 7f3c18a39700 Delete type=3 #394422

Example code:

db = plyvel.DB(".bitcoin/chainstate")
o_key = db.get((a2b_hex("0e00") + "obfuscate_key"))
db.close()

debug.log after opening bitcoind (just the part referring to the LevelDB):

2017-03-22 10:03:45 Cache configuration:
2017-03-22 10:03:45 * Using 2.0MiB for block index database
2017-03-22 10:03:45 * Using 8.0MiB for chain state database
2017-03-22 10:03:45 * Using 290.0MiB for in-memory UTXO set
2017-03-22 10:03:45 init message: Loading block index...
2017-03-22 10:03:45 Opening LevelDB in /home/sdelgado/.bitcoin/blocks/index
2017-03-22 10:03:45 Opened LevelDB successfully
2017-03-22 10:03:45 Using obfuscation key for /home/sdelgado/.bitcoin/blocks/index: 0000000000000000
2017-03-22 10:03:45 Opening LevelDB in /home/sdelgado/.bitcoin/chainstate
2017-03-22 10:03:45 Opened LevelDB successfully
2017-03-22 10:03:45 Using obfuscation key for /home/sdelgado/.bitcoin/chainstate: 27c78118b7316105
2017-03-22 10:03:48 LoadBlockIndexDB: last block file = 810
2017-03-22 10:03:48 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=53, size=51783543, heights=457770...458279, time=2017-03-18...2017-03-21)
2017-03-22 10:03:48 Checking all blk files are present...
2017-03-22 10:03:49 LoadBlockIndexDB: transaction index disabled
2017-03-22 10:03:49 LevelDB read failure: Corruption: corrupted compressed block contents
2017-03-22 10:03:49 Corruption: corrupted compressed block contents
2017-03-22 10:03:51 Aborted block database rebuild. Exiting.
2017-03-22 10:03:51 scheduler thread interrupt
2017-03-22 10:03:51 Shutdown: In progress...
2017-03-22 10:03:51 StopNode()
2017-03-22 10:03:51 Shutdown: done


texts: Bitcoin is not sending to correct address

texts: While trying to send bitcoin I keep putting the correct address in the 'pay to' section but it keeps sending the bitcoins to the wrong address. While clicking the preview section on electrum the 'output' says a different address, is this why it isn't sending to the right address?


texts: Why are there more than two transaction outputs in a coinbase transaction?

texts:
In a coinbase transaction there are always more than two transaction outputs.
The first transaction output contains the reward. The second contains the witness reserved value.
But why are there other transaction outputs OP_RETURN with 0 Satoshis? Are they necessary?


texts: Where do bitcoins come from and what gives them their value?

texts: Where do bitcoins come from?  From the WeUseCoins.com video it appears they are just being produced by "miners" and sold to people.  So who backs Bitcoin or gives it its value?


texts: Litecoinj transaction sent to unknown address

texts:
I have used litecoinj-core-0.15 to generate a transaction to address MD1AYTZnTtGKQToj2LTD7qLsSzrqcdXr9J.

Litecoinj generated a transaction with two outputs. The first one (to LaPJ9TfBr6E2MSRa4t1MMhFPQAue4osUn8) corresponds to the change address. The second one is an address that I cannot understand the origin: LQKxaEyD3XLZmbXYyVna9aoJBzLxAhNS4S. I have tried to find it in the list of refund, change, receive_fund, and authorisation addresses of the Wallet and could not find it there.

Could someone explain from where is this address coming?

Kind regards, and thank you in advance,
António.


texts: To what end do miners typically put "nonstandard" transactions

texts: I'm reading Franco's book "Understanding Bitcoin" and greatly enjoying it.  Simultaneously I'm tailing a node log file.  I notice the plethora of "nonstandard transaction: non-final"s.  Franco says these are usually written by miners on bespoke node code bases.  What are the main purposes of such transactions?


texts: Bitcoin script verification fails after certain time period

texts: So I want to write a bitcoin script so that after a certain time period (say for example after 30 mins), the verification fails and transaction is marked invalid even if it gets broadcasted. Time locks are used so that a transaction is considered valid after a certain time period. I want the opposite to happen. So can I just enter some bogus lines of code after  OP_CHECKLOCKTIMEVERIFY so that script check intentionally fails? Or is there any opcode by which I can achieve the same functionality?


texts: BRD Wallet Recovery - Only have the first 11 words

texts:
I went to recover the wallet from my backup 12 word recovery phase, but it turns out I only have the first 11 words. The last word was replaced with the " character. I must have had the notepad file open, and leaned on the keyboard which replaced the last word in the list....and unfortunately saved it.
What can I do? Does having the first 11 words help me at all?


texts: Oauth - can my application use Stellar Oauth?

texts: Does Stellar have Oauth, or is it on your road-map ?


texts: Eliminating all private keys records from pc

texts:
Suppose I buy a new wifi router and a new pc. I set up both the wifi network (of course, with a password) and the pc.

Now I access the internet for a few seconds in order to download bitaddress.org from GitHub or as an HTML file. Then I turn off the wifi connection on my pc and open the downloaded file and generate many pairs of public and private keys (which I write down on paper). Once I'm done, I clear the web browser history, cache, cookies, etc. and delete the downloaded files.

Would this be enough to make sure no records of the keys of any kind are left anywhere on the pc? Should I restart the pc before turning its wifi connection back on again? Or should I reinstall the operating system just in case? Or would it be a good idea to install Deep Freeze before generating the keys?

I'm planning to continue using my pc for my daily work.

Thanks in advance!!


texts: Scrypt CPU miner supporting segregated witness (for Litecoin testnet4)

texts:
I am interested in CPU mining on the Litecoin testnet (testnet4); the difficulty level is currently low enough to make this feasible.

The standard Litecoin client no longer supports CPU mining.  The only scrypt CPU miner I'm currently aware of is Pooler's cpuminer.  However, Litecoin testnet4 has gone to segregated witness, which requires miner client support, and cpuminer doesn't support segwit.

Is there any other CPU mining software that supports this?


texts:
Is there a particular minimal amount of Bitcoin one is allowed to send under which it is too low to be confirmed as a valid transaction from the bitcoin wallet?
For instance, I have got approx. 85 Euros worth of BTC [0.001707] (at the time of writing this message) in my Bitcoin.com wallet. I seem not to be able to send this amount to any exchange (I keep on receiving the error at confirm "Insufficient funds for fee")?
Unfortunately, I couldn't find any info on site regarding this issue.


texts: Link to Algorithmic behind signatures verification

texts:
Does anyone know a good paper where the process of signature verification is explained (message+signature+public key = valid/not_valid) ??? And I mean it at a low level, with the code or pseudo-code of the algorithms doing the verification or similar. All sources I have found explain it with the verification process being pretty much a black box.

I know StackExchange is not the place to ask for references, but I haven't found what I am looking for, so someone might now a good source...

Thank you all in advance. Cheers


texts: When we're calling `getrawtransaction` how does Bitcoin-core calc and verify confirmations?

texts: if a transaction has 10 confirmation, does bitcoin-core check if the txid exists in the last 10 blocks? or its calculated based on transaction block number?


texts: Storing an encrypted private key on a server

texts:
I am planning on building a small e-wallet website to learn the basics of encryption and handling accounts, transactions, and balances in Bitcoin.

I want to learn how to make a website where the database does not hold anyone's private data.

What client-side encryption and hashing algorithm should I use? What algorithm or process should I use to ensure that the users encrypted and hashed data is secure on the server?

Using brainwallet, the process for account creation is this:

The client creates a private key.
The user enters a username/password
The client encrypts the private key with a password. The client hashes the password and username. The client sends data to the server.
The server stores the hashed username/password and encrypted private key to the database.

Now, whenever a user wishes to spend a transaction on my site, I am attempting to use brainwallet to send transactions. The process for this will be:

The user types in a username and password.
The client sends a hashed username/password to the server.
The server responds with an encrypted private key for that user.
The client decrypts the private key with a password.

As a side note: is this a sound process for storing and transmitting data to the server?


texts: Sending bitcoins to a "Sending address" in Bitcoin Core

texts:
I'm trying to understand some basic concepts in the Bitcoin Core (v.0.15.1) and in the bitcoin "world".

I'm using a testnet, and used https://testnet.coinfaucet.eu/en/ to send some bitcoins to a "Receiving address". it worked fine, and I can see the transaction/balance changed in Bitcoin core.

However if I send bitcoins from coinfaucet to a "Sending address" (Which is a public key as I understand) then I can't see any bitcoins in that address and the balance is not changed and no transaction is reported, although coinfaucet shows me a verified transaction.

What am I missing? Can't the sending address hold/receive bitcoins? what are the "Sending address" used for if I can't send bitcoins to it?

I assumed that when I want to send funds from my wallet to someone, I first move funds from the Receiving address to the Sending address and use that address. but I'm totally unsure of this assumption.

Any help will be appreciated.

EDIT: After dinging some more, I came to realize that the Sending address is just addresses you have sent or planing to send to. It has nothing to do with the Change address as described in the answer. That is why after I sent money from coinfaucet to a made up sending address I did not see any change in balance because that address is not mine. and after a re-scan I see it a watch-only.


texts:
I woud like to obtain an extended public key of a derivation path (m/84'/0'/0').
I'm using btclib, and I have the xpub of the root account.
When I try to use bip32.derive("xpub...","m/84'/0'/0'")
I get btclib.exceptions.BTClibValueError: invalid hardened derivation from public key
What am I doing wrong ?


texts: How do the nodes divide after a hard fork? Soft Fork?

texts:
After a hard fork, what happens to the full nodes? Say 11,000 BTC full nodes existed prior to the fork. Do all 11,000 end up supporting both BCH and BTC? Or does BCH start building it's own network of nodes. Not asking about miners, just about full nodes (although, it will help if you can address the mining nodes as well).

Also, in the softfork scenario, I believe the 11,000 nodes are divided - say 7000 support the softfork (e.g. Segwit) and the remaining 4000 do not. In that case, how do transactions remain legit between the supporters and non supporters.


texts:
I have bitcoin core installed, with a sub wallet with some bitcoin on it. The default wallet appears to be working fine, but when I try to open the sub wallet with bitcoin on it, I get the error message

Wallet loading failed: Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex. (download the whole blockchain again in case of pruned node)

and I am unable to open it. The prune settings are the default 2GB block storage and 450MiB size of database cache. I have reindexed Bitcoin Core one time but that did not help the problem, and I still get the error message every time I attempt to open the sub wallet.
debug.log
What should I do? Thanks.


texts: How to find a specific bitcoin address from all the addresses?

texts:
Recently, I found a site that show all the addresses in a huge list, divided in 904625697166532776746648320380374280100293470930272690489102837043110636675 pages.

The site's link is http://directory.io/ and I want to know if I can find a certain address from the whole list. I already tried to merge all those pages into one list and then search for the address with the browser, but I'm not sure how to do it (because I don't know much about HTML).

So, if you know a way to do this, please tell me and explain me how. Thanks!


texts: When looking at my dashboard, it says my worker's state is disabled. I'm using an old S1 (which I know isn't profitable, just playing around) but it is hashing around 176 Gh/s per day.


texts: How can I send a bank wire from X to buy bitcoins?

texts: I want to have some bitcoin too, but I am currently living in Morocco, so where can I change my Dollars and Euros to bitcoins and still can use them worldwide? is there a market for that


texts: How do I find the nodeid of the node issuing a lightning network invoice?

texts:
I recently got an BOLT11 invoice from a store. For example this one:

LNBC13934430N1PWJUJEZPP5K7FLC2M5CLHTWMTF3HZDN7VVRCA4RNFAFA89F2D6KGYWW4JCSDAQDZ62PSKJEPQW3HJQ4RGV5SYC6T8DP6XU6TWVUSYXMMWVEJHYETWVDJJQ2Z0WFJX2U3QF9ZR5GZ5F3PNZWFD25UY54Z39YXQZURCQP2RZJQG8ZM9WXGVHZPMUQEWY9J9KDQNRVLZHPCWM6S8CVLC2CKRDNELE42Z9U5VQQY3SQQYQQQQL8QQQQPJQQ9Q6KM84F7KTW6UV574UR2LFNKZLM7VNK8NJRZV20JD8SAW6FZ3TQGSZE6YUT0X2UXGDGYJZGTXEFSQSSEVTKFF97P3TER5K23ZPHDDXHQQ95UT4N

Luckily I my node was able to find a route to the destination but if it wouldn't? How could I find out the nodeid to open and fund a direct payment channel with the store? They did not say anything about their nodeid on their website.


texts: How to import a 64-byte long private key

texts:
Private keys are 256 bits (32-bytes) long, according to bitcoin wiki:
https://en.bitcoin.it/wiki/Private_key

Diamond Circle, an Australian startup, sent me a pair of bitcoin address and its private key. Blockchain.info shows that the money is still in the given address.

The problem is that the private key is 64-bytes long. It's base-64 encoded evident by the trailing ==

Since it's not in WIF, I wonder how to import it. Has anyone seen 64bit private keys before?


texts: I am new to Bitcoin core and I put in my private key. Then I saw "synchronizing" that was a day ago. Can not find where the bitcoins are. What should I do? My knowledge is limited with software.


texts: Is there a site to monitor Bitcoin or Altcoin addresses if funds were received or sent?

texts: Looking for a service that can email/sms you if a monitored bitcoin/altcoin address has any moved funds. Is there such a service for this?


texts: Is it only out of sheer luck that all my "txid"s are unique? How should I handle multi-vout transactions?

texts:
I have created a database table simply copying the information from listsinceblock from Bitcoin Core's API. I have a UNIQUE constraint set to "txid + vout", as I'm supposed to. But when, as I'm trying to understand how Bitcoin works at least on a surface level, I do this:
SELECT txid, count(*) FROM "Bitcoin Core transactions" GROUP BY txid;

Then it is revealed that not one of my txids have more than one vout. The count column says "1" for each txid, meaning they all have only one vout.
I've made numerous Bitcoin transactions. Why has none of them ever used more than one vout? And what happens the day this happens? I'm using this table's data in order to automatically update my separate bookkeeping of all my Bitcoin transactions ("transactions" here meaning actual transactions -- not some internal "txid + vout" concept). I obviously don't want some internal Bitcoin logic to result in two different "bookkeeping posts", when it's really just a single Bitcoin transaction!
I'm starting to wonder if I'm simply stupid for not understanding this, or if Bitcoin is deliberately designed to be as confusing as possible. How should I handle the possibility that there will at some point be one transaction which is listed as the same txid but multiple different vout ids?
If it weren't for the fact that my future and survival is dependent on this, I would have long ago given up on Bitcoin and rejected it as "cryptic nonsense". I don't understand what the problem is with just having a clear interface for the actual Bitcoin transactions. I don't care about some complex internal logic and don't want to be exposed to it. I can't escape the feeling of still having missed something important, in spite of all this endless reading and asking questions for years and years.
Using any kind of "intermediate" service or software would destroy the point of Bitcoin. Why can't Bitcoin Core just clearly list the human-relevant information instead of exposing internal mechanisms to the "end user"/programmer? Or is it?


texts: Connecting to a bitcoind in "-regtest daemon" mode remotely from another node (e.g. BitCoinJ)

texts:
Anyone knows how to connect to (or even possible) a remote "-regtest" server?
I have managed to setup the -regtest daemon, but still trying to figure out how to connect to it using BitCoinJ client.

===== Update ======

Just in-case someone here has the same query, I've managed to connect to the remote -regtest, I can now download the blockchain and perform RPC using BitCoinJ

Just follow the bitcoin example to setup the bitcoind. (I ran using bitcoind -regtest -daemon)
In the BitcoinJ code, use the REG_TEST_NET, and add your remote -regtest server's IP to BitCoinJ's PeerGroup object using

peerGroup.addAddress(InetAddress.getByName(your-remote-ip));

in the bitcoin.conf, I set the additional following attributes
server=1
rpcport=18444


texts: Bitcoin testnet not connecting to hardcoded ip addresses

texts:
I am trying to force bitcoind running in testnet mode to connect to my own defined set of ip addresses(basically 127.0.0.1:diffPorts). For this I have disabled dnsseed and starting with a fresh installation of bitcoind.

Currently I am trying to simulate 4 nodes on a local machine, such that all 4 are hardcoded into the chainparamseeds file as follows:

static SeedSpec6 pnSeed6_test[] = {
    {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x7f,0x00,0x00,0x01}, 18441},
    {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x7f,0x00,0x00,0x01}, 18442},
    {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x7f,0x00,0x00,0x01}, 18443},
    {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x7f,0x00,0x00,0x01}, 18444}
};

My debug.log output ends as follows:

2015-10-22 11:53:43 Loading addresses from DNS seeds (could take a while)
2015-10-22 11:53:43 net thread start
2015-10-22 11:53:43 0 addresses found from DNS seeds
2015-10-22 11:53:43 init message: Done loading
2015-10-22 11:53:43 addcon thread start
2015-10-22 11:53:43 dnsseed thread exit
2015-10-22 11:53:43 opencon thread start
2015-10-22 11:53:43 msghand thread start
2015-10-22 11:54:44 Adding fixed seed nodes as DNS doesn't seem to be available.

I expect the nodes should have connected to each other after the last line indicates that fixed seeds have been added, but that does not happens. Can someone guide me what am I missing here ?


texts: How can I run Bitcoin-QT client behind a restrictive firewall using a putty tunnel?

texts:
I am on Windows machine on a network that is closed for all incoming packets and outgoing packets only work for port 80.

In the network I have access to a Linux via SSH that is open for in and out access.

I want to run the wallet client Bitcoin-QT on the restricted Windows machine, I setup a tunnel using D9050 to the open Linux and then I told Bitcoin-QT that there is socks proxy on localhost port 9050.

The client runs and starts to show connections (which is doesn't show without the tunnel) but it doesn't start downloading the block chain :(

Help ?


texts: What options does one have to manage Bitcoins?

texts:
I started trading and buying Bitcoins for a while now, and realised: I have multiple wallets and multiple websites where I have bitcoins/litecoins.

I think most of the people, including me, want use Bitcoin in there day to day life, and also invest in Bitcoin and Litecoin.

For this, which setup is recommended?

  Is it safe yet to store, lets say, 50 to 100 Bitcoins at some online service, or should I, after purchasing, transferring it to a
  hardware wallet?
  Are there any sites which are buying Bitcoins or is it always from person to person (therefore, Volume might be a problem when investing)
  All recommended services and wallets also have as many open "recently got hacked" reddit threads. Which ones have to be in a basic
  setup?

In my perfect world, I have

A hardware wallet with my Bitcoin investment
A hardware wallet with Litecoin
A mobile app for day-to-day bitcoins
A trusted online service where I go to buy Litecoin/Bitcoin and also
sell it

Is my perfect world correct, are the big tradings time over or yet to come? From a tech perspective, Bitcoin is quite old, but there are still just low-quality apps out there.

Any guidance?


texts:
I have a machine with 48 CPU cores, running Linux. I would like to mine for a coin, not to sell immediately, but in several months when the value has increased (hopefully).

I don't want to keep changing every day, so what coin would be best, and why? I realise this involves predicting the future, but would like to hear various views.


texts: reversing wallet to wallet transactions(both wallets mine)

texts:
I sent BTC from my coinb.in wallet to an electrum wallet on a tails drive, but I didn't realize it was the tails iso disk, and while waiting for confirmations, I noticed id' used the tails iso disk after the transfer but before I could get confirms and send BTC back to the coinb.in wallet, Tails froze.
So I had to reboot and that meant the tails iso disk went back to default, and the electrum wallet disappeared, so the BTC are stuck in blockchain because there weren't any confirms.
There's got to be a way to reverse so the coins go back to my coinb.in wallet. Both wallets are mine, so, it would seem like the transfer could be returned/reversed as there's no merchant and its not a refund. Thanks


texts: How is a "standard" Bitcoin transaction defined?

texts:
This is useful in Andreas Antonopoulos' book, Mastering Bitcoin:

https://github.com/bitcoinbook/bitcoinbook/blob/7c552ea5cfbc19448635b36407761b377ff5cbe9/ch05.asciidoc#standard-transactions

"In the first few years of bitcoin’s development, the developers introduced some limitations in the types of scripts that could be processed by the reference client. These limitations are encoded in a function called isStandard(), which defines five types of "standard" transactions."

Where are the five types listed in the Bitcoin Core codebase?


texts: Multisig address with a specific required signature

texts: Is it possible to create a multisig address such that it has 3 public keys attached, needs 2 signatures to create a transaction, but one of the signatures must be from a specific public key of the 3? If so, how?


texts: Bitcoin unconfirmed transaction help me please

texts:
Been over 24 hours unconfirmed Transaction please help !!!
13fsWbUWdAPY9BajN7oiMerJSvw66eSYi2  It never takes this long

Thank you


texts: Can I move my wallet.dat from Ubuntu to Mac OS?

texts:
I want to run Bitcoin Core on Mac OS.
Can I move my existing wallet.dat file from Ubuntu and use it in Mac OS?
I am using Bitcoin Core.


texts:
I'm trying to start mining using my GPU (ATI Radeon HD 4850) but when I try to run cgminer it cant detect any devices.
I use this to run cgminer: cgminer --scrypt -o stratum+tcp://stratum2.dogechain.info:3333 -u USERNAME -p PASSWORD
Im very nooby so if you can help that would be great!


texts: Any pool that value those who mine during low difficulty more?

texts:
Imagine a pool having 2 people.

A mines for 1 minute when difficulty is 1000. Then B mine for 1 minute when difficulty is 1. Let's for simplicity sake difficulty change from 1 to 1000 to 1 to 1000 to 1 to 1000 every minute. Say they both got the same machine.

Every 1-2 hours the pool solve some blocks.

The way I understand it is that the pool got far more contribution from B than from A. B contribution to solve some blocks is higher because B provides hash when difficulty is lower.

However, A and B will get roughly the exact same payment.

They submit the same number of shares for the same stratum difficulty.

Am I correct here?

This is important for those who are buying nicehash hash to sell to some other pool. Even though you time your buying when difficulty is low you are rewarded as much as anyone with worse timing,

Are there any pool that rewards you more when you mine at lower difficulty?


texts: What is the magic number used in the block structure?

texts:
What is the Magic no used in the block structure, why is the value always 0xD9B4BEF9 and what is it used for ?

Thanks