texts:
First look in screenshot number one of davlik debug monitor server after running Bitcoin Wallet: http://piccy.info/view3/5090102/7074a1d99a96e67bdbea36a04073c21f/orig/
I suppose, that is normal work of Bitcoin Wallet.
Then I modified bitcoinj and bitcoin-wallet a little bit. I changed bitcoinj\core\src\main\java\com\google\bitcoin\kits\WalletAppKit.java (line 104):

vPeerGroup.addPeerDiscovery(new SeedPeers(params));

instead

vPeerGroup.addPeerDiscovery(new DnsDiscovery(params));

and bitcoin-wallet\wallet\src\de\schildbach\wallet\service\BlockchainServiceImpl.java (line 406):

private final PeerDiscovery normalPeerDiscovery = new SeedPeers(Constants.NETWORK_PARAMETERS);

instead

private final PeerDiscovery normalPeerDiscovery = new DnsDiscovery(Constants.NETWORK_PARAMETERS);

Look in screenshot number two of davlik debug monitor server after running Bitcoin Wallet to see the result: http://piccy.info/view3/5090104/aaf257fbd618863b16ed99ffb2263e66/orig/
I think, that is not normal work of app because you can see only "Peer died" and "Connection timed out".

So my question is: does class SeedPeers work correct? Maybe, it is not fully implemented?

P.S. Nonetheless, it could still work correct. I just don't have an opportunity to send or receive bitcoins to test Bitcoin Wallet with "SeedPeers" class instead "DnsDiscovery" class. So if you can do that, please do.

P.S.S. I'm not sure it is bitcoinj or Bitcoin Wallet problem.


texts: Why are compressed private keys typically longer than their uncompressed counterpart?

texts:
From what I understood, compressed private keys are supposed to represent the same secret key, stored more efficiently thus taking up less space. I assume 'more efficiently' has to do with secp256k1 specifics that I'm not aware of, but I'll take that for granted.

However, when I compare a few compressed and uncompressed private keys:

# example private key
hex:
85B7DFAB8D2C695C0EBF013AD50A758FDBC62775391B7CE33282634F7DB47480
uncompressed:
5JqBEaUuYJFA4dQsd62ys13RumxCGu97BRu3LzwaVduD8MQnFwc
compressed:
L1heAvnAu97V11iNSHDjyhBiwwQcmB8nH2thMGjtqPsSXKaZ9VwY

# another example private key
hex:
6190289CEB09ED41776AE27AE81F46C6540C56CF8F3900BCAADE96B4470F23D6
uncompressed:
5JZFhabXLayCMCehpyhdCPZ5LXwvgvu3gX4Png4xYzCWYCXJ3jx
compressed:
KzVMt7HNuSw36ARRCmGJmGYa9DbRyEtiqRfyabSUCBToNRwMrAog

# yet another example private key
hex:
763B1998BF7282A99CA21EB821EB9A204589FFA189E290EE64528854FDA91080
uncompressed:
5JiMdW1Czd3tTuy33wiC5wmrkhZxx2PNcC7NVZoFc7AixTVgmf5
compressed:
L1BY471uwL7k9nnL3zUovpkzbt4Vws7kNL37s5m9TxDvBjnadvMy

# etc

I notice that the compressed version (at least the WIF/base58 representation) of a key always seems to be longer. Why's that?


texts: Could it be possible to secure transactions against double-spending with other utxos?

texts:
I'm new to Bitcoin Script, and I was wondering if it is possible to use funds from one utxo to "insure" that other utxo will not be double-spent (until the Lightning Network will save us all).
Suppose I have 0.1 bitcoin in a utxo with pubkey pubKey1, and 10 bitcoins that I would send to an output script that would do something like:

If nLocktime is greater than X, verify that the stack contains a signature that matches some pubKeyHash2.
Otherwise, verify that the stack contains: <sig1> <payload1> <sig2> <payload2>, such that <payload1> != <payload2>, and <sig1> matches pubKey1 + <payload1>, and <sig2> matches pubKey1 + <payload2>.

i.e. until nLocktime passes, anyone who can find 2 different signatures of pubKey1 (of two different payloads) can win the 10 btc prize.

This will create a huge incentive for me to never sign two transactions (or any two payloads) with the private key of pubKey1. I could obviously take the risk, double-spend the 0.1 btc by publishing two transactions, and immediately try to claim the 10 btc prize myself, but once I published the two double-spending transactions, the miners would try to take all the 10 btc to themselves (and probably ignore any transaction that tries to take even a small portion of the prize without offering them 100% fee).

I don't see how the current op-codes allow this kind of script - I couldn't even find an "OP_CHECKLOCKTIME" (found only "OP_CHECKLOCKTIMEVERIFY"), and "OP_CHECKSIG" operates on data from the transaction and not on arbitrary payloads in the stack.

What do you think? Could this be implemented in the future? Could this be implemented in other cryptocurrencies? This could be useful when you don't want to wait for even a single block confirmation, for example in ATMs.


texts:
I have bitcoind installed on my VPS runing Ubuntu 18.04, and I want to configure it to launch bitcoind on startup.
What the best way to do so with my configuration ?


texts:
I know blockchain.info has an API: https://blockchain.info/q/addressbalance/134dV6U7gQ6wCFbfHUz2CMh6Dth72oGpgH
gets the bitcoin address's balance,but it's not open source and must connect to the Internet.

And I find the open source website blockexplorer.com has not show the right balance:
http://blockexplorer.com/testnet/address/134dV6U7gQ6wCFbfHUz2CMh6Dth72oGpgH
It gets 0 but not 1250000 from blockchain.info.

I tried bitcoin-qt client debug console:
getbalance 134dV6U7gQ6wCFbfHUz2CMh6Dth72oGpgH
But it returns 0 whenever the address is not mine.

How can I get someone else's bitcoin address's balance?
The bitcoin database is big and hard to check every transaction to get the balance.

Is there any source code or API easy to use?


texts: I made a transaction 7 hours ago, the transfer has not yet arrived. I didn’t know that it’s impossible to choose a low commissio

texts: Good afternoon, I made a transaction 7 hours ago,0.0059 BTC, commission 0.0002 the transfer has not yet arrived.  I didn’t know that it’s impossible to choose a low commission, because I did it for the first time, how long will I have to wait for my transaction now? She was in the mempool, did it through bitcoinru.org


texts: How to access my on-chain BTC private key(s) from my Lightning Node?

texts: I deposited some BTC to fund my lightning node. Question: Where are the private keys for the public on-chain address provided by the node in case I need to withdraw the funds from the node?


texts: Avalon AUC2 converter for Avalon 6? Can I use a USB controller of sorts?

texts:
I can not find a single AUC2 converter for the Avalon 6. Canaan.io seems to be extremely uninformative concerning what this thing is and where to get one and it is sold separately from their Avalon 6!

First - do I need it for a single Avalon 6 miner? It seems I do from some instructions on this website, search for AUC Controller and you will see it in a picture, though it seems they are calling the AUC a Controller while it is called a Converter by Canaan.

In the linked page it says: "For AvalonMiner 6 you need an AUC2"

I have searched far and wide to find this "AUC2" converter... I can't find it ANYWHERE! Is there some kind of converter that will take its place, that perhaps I can just update the firmware??

I found that AUC3 is an acronym for "AUC3 (AvalonMiner USB Convertor 3)" but I can't find this for sale anywhere either!

I have found a lead That somehow these are indeed some kind of controller which has updateable firmware. I am wondering if this indeed the case and more specifics on which type of converter I need i.e. does it have to be both a USB2IIC & USB2UART converter as the above website says?


texts: How to make pruned node download an arbitrary block?

texts: I want to importprunedfunds for addresses related to the wallet (with the help of scantxoutset) on a pruned node. The problem is raw transactions are needed for this. I found there were some attempts to implement this functionality in Bitcoin Core which never got merged though. What other workarounds could be used without syncing the full blockchain or using third party APIs?


texts:
Sequence of event:

a) backup of wallet created
b) created new receiving address
c) coins tranferred to new address
d) wallet deleted

I've restored the wallet from (a) - but it does not have the address (created in b) I'd transferred the coins to. Can I assume the coins are now gone?

Thanks!


texts: Effects of mining pools paying for stale shares/work

texts:
Some mining pools pay for stale shares / proofs of work, and others don't.

If a pool pays for stale shares, how does it affect individual miners? What about the pool?

Related: What are stale shares and what can I do to avoid them?


texts: IsCanonicalPubKey method in Bitcoin Core source

texts:
In my logs I see that I keep getting:

  ERROR: Non-canonical public key: compressed nor uncompressed

This error is thrown from inside the method:

  bool IsCanonicalPubKey(const valtype &vchPubKey, unsigned int flags)

I can't understand what this method is checking. I understand it's checking if the Public Key is Canonical but, I don't understand what that means.

Can you please explain?


texts: How to retrieve POST data that contains JSON

texts:
I have never used JSON before and am trying to retrieve the values POSTed to my site from coinbase. But I have no idea how to.

Information about the IPN and callback can be found here: https://coinbase.com/docs/merchant_tools/callbacks

To be more specific, what I understand so far is that I can use json_decode($jsonData); to turn the JSON data into PHP data. But how do I set the variable $jsonData?

This is the response that is supposed to be sent:

{"order":{"id":null,"created_at":null,"status":"new","total_btc":
{"cents":100000000,"currency_iso":"BTC"},"total_native":
{"cents":2263,"currency_iso":"USD"},"custom":"123456789","button":
{"type":"buy_now","name":"Test Item","description":null,"id":null},"transaction":
{"hash":"4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b","confirmations":0}}}


texts: When is the estimated date that segregated witness gets fully implemented worldwide?

texts: I read the news recently that reviews had already been done and that the segregated witness program will be on deployment soon, so when is it expected to be fully adapted worldwide?  Or is there a target percent of implementation which can be considered completion of adaption?  Because I don't think all bitcoin stakeholders would rush to do such an upgrade considering potential risks in its implementation.


texts: Sending lightning payment between TOR lighning nodes, any specific setup required?

texts:
I have two c-lightning nodes in different VMs in Qubes OS, both routed through TOR VM.
They both can connect to other public nodes and establish channels with them but when I try sending satoshis between them the sending node gives "Could not find a route" code 205 right away, like it's not even trying.
At the same time in the terminal where lightningd is running I get:
20-07-01T12:46:17.482Z DEBUG gossipd: REPLY WIRE_GOSSIP_GETCHANNELS_REPLY with 0 fds
2020-07-01T12:46:17.484Z DEBUG gossipd: Trying to find a route from (me) to 0xxx_ID_EDITEDOUT_XXX for 40000000msat
2020-07-01T12:46:17.484Z DEBUG gossipd: REPLY WIRE_GOSSIP_GETROUTE_REPLY with 0 fds

Is it possible the problem for that to be related to TOR, considering that I can connect to and open channels with public nodes just fine?
I haven't opened direct channel between the nodes, since I want to play with routing.
But each of those nodes has established channel with some of the most well connected nodes, so route exist for sure.


texts: Bitcoind not publishing blocks via ZMQ after reorganization

texts:
On the testnet, I am running a bitcoin core deamon (bitcoind) and am using ZMQ to receive updates about transactions and blocks (subscribed to both 'rawblock' and 'rawtx').

I was curious as to how the ZMQ would handle chain-reorganizations, so I left it running overnight, logging the hash of every block I am notified about.

The next morning, using the getchaintips RPC, I can see that a fork did occur, as seen below:

[
  {
    "height": 1664502,
    "hash": "00000000000000315e8e11c0babc400475f3a9bfc21678f32ca8f0f878f7e807",
    "branchlen": 0,
    "status": "active"
  },
  {
    "height": 1664491,
    "hash": "00000000002d324cbfe1261d506f85e9baf61d30e762e342f4f44429d4d6e1fb",
    "branchlen": 1,
    "status": "valid-fork"
  }
]

According to my own logs however, I only received one block at height 1664491, which was the (now stale) block "...d4d6e1fb", as seen below:

Received block 000000000001a2a613d4c66e78233f4d9fbfcf8e08502507c39c95460120cbda at height 1664490
Received block 00000000002d324cbfe1261d506f85e9baf61d30e762e342f4f44429d4d6e1fb at height 1664491
Received block 000000000000001b8f4e6ba531411eae489a6dc5e9c9c07ef9e2288f3f623014 at height 1664492
Received block 00000000000000436dfb1f1bb687bca8b905a994bcaece65ede27170fd453462 at height 1664493
Received block 00000000002753e7d21158cb6bcb8093779c7a3e7868762161edf7bedf50ce3c at height 1664494
Received block 00000000000000f18a226b32ae8399a3faf3a4c4155e153e7067f02e31c02385 at height 1664495
Received block 00000000000000ff309ae5442d7e5a271fb22cd7cac97d95d8a47a3d9d135c18 at height 1664496
Received block 000000000000606889000756962c02619a11158559d6f060daf68cef25cd0726 at height 1664497
Received block 000000000016c716d24a9dbd115807be235bf74e4fd4dec33d2e84a55a3c3a8a at height 1664498
Received block 000000000000012f5a3553526f751cb385a630cad7c285ba84a5468e8085213a at height 1664499
Received block 0000000000000119e1f42b0d345c59eb9bbf7dc9ed7591b3716ebbc26a9930b9 at height 1664500
Received block 00000000000000022b963361b5b33dcc733f1b9a20adff75336ce48d29be2227 at height 1664501

Curious, I looked up the hash of the now-correct block at height 1664491, which is actually 000000000001d39f8f818382632fd4c4929a34da542103d37ebfba85980d6496.

Using the RPC command getblock, I can get the information about this block from my bitcoind daemon, which means that it knows about it. However, I was never notified about this block through ZMQ, which is somewhat concerning.

Is this expected behaviour? During a chain-reorganization, can I only expect ZMQ to publish the tip of the new chain, leaving me to figure out that a reorganization has occurred and then having to manually retrieve the new blocks?

Is this behaviour documented somewhere? I am not entirely confident in relying on my own experimentation, to figure out how to handle this.


texts: How old does one need to be in order to mine or use Bitcoins? Do I need to be 18 years old, or just 13? Is it illegal if a child uses Bitcoin?


texts: What is the Ripple equivalent to https://en.bitcoin.it/wiki/Scalability ?


texts:
I understand that the Bitcoin mining problem is to find a string s (hash of previous block + Merkle Tree Hash + nonce) such that sha256(s) has n leading zeros, where n determines the mining difficulty.

According to Blockchain.Info, The Current Difficulty is 63,93,02,37,17,201.

The output of sha256() is a 16 bit hex value.
Question 1
The above image indicates that if N=4, there are 4 zeroes in the 16bit hex value. So if N=16 is the entire string is expected to have only zeroes? Please explain difficulty using this example.
So if N=6393023717201 How do I expect 63,93,02,37,17,201 number of zeroes in 16bit length string? Please explain the significance of this huge number of zeroes in this context.
Question 2
Why is difficulty decreases at some point in time?


texts: Bitcoin not being recieved even after high transaction fee

texts:
https://gyazo.com/61b5ca1bc5a007ba55ffdd37fc8c0db6
Keep sending bitcoins to multiple addresses with bitcoin core but its not getting confirmed... some have been sent months ago. I used a transaction fee of .00007089/kb whats going on?


texts: How do goods & services sellers manage price instability?

texts:
How do retail outlets manage the massive price instability?

Are they really repricing every second with 25-50% spikes and drops over 24 hours?

How much does it cost to maintain accurate prices?  Most stores I go to have printed prices.

Please only reply with actual accounts of price instability management by sellers.


texts: Bitcoin core - Listtransactions doesn't show fee of received transactions

texts:
I'm using bitcoin core full node on ubuntu. When I call listtransactions some transactions coming up with no fee key.

  [8] => Array
    (
        [account] =>
        [address] => 1MTLEprpnQwLHMeYh51CQrCWxSuZPGSZ6T
        [category] => send
        [amount] => -0.0028107
        [vout] => 0
        [fee] => -1.13E-5
        [confirmations] => 0
        [trusted] => 1
        [txid] => 6c74d8ac3b9b57184ed5dff72d48474c5ecf8dac4ec9388cb0ff33bf8e3bfcbc
        [walletconflicts] => Array
            (
            )

        [time] => 1511008107
        [timereceived] => 1511008107
        [bip125-replaceable] => no
        [abandoned] =>
    )

[9] => Array
    (
        [account] =>
        [address] => 12zJ7ZbDW59mmNBPrxBAEjtWf8JzwgLNum
        [category] => receive
        [amount] => 0.00240164
        [label] =>
        [vout] => 0
        [confirmations] => 0
        [trusted] =>
        [txid] => 25d0812c7dcf3c938430dc5c61566b8346b6e6d300b1e3cd3fc7d4031eb93cbe
        [walletconflicts] => Array
            (
            )

        [time] => 1511010977
        [timereceived] => 1511010977
        [bip125-replaceable] => no
    )

)

Transaction on blockchain: https://blockchain.info/tx/25d0812c7dcf3c938430dc5c61566b8346b6e6d300b1e3cd3fc7d4031eb93cbe

I have read that just now on bitcoin.org,

  If sending payment, the fee paid as a negative bitcoins value. May be
  0. Not returned if receiving payment or for move category payments

Which answers my question, but now i'm wondering how to get the fee of received transaction.


texts: What contributions have Blockstream developers made to the Bitcoin project?

texts:
I’m spending a lot of time debating people about Bitcoin online these days. One issue that I encounter regularly is that my opposite colloquists are unaware of the contributions the Blockstream developers have added to the Bitcoin project since the company was founded.

My aim is twofold: I’d like to be able to simply link this question next time I read "Blockstream produces only vapour, and contributes nothing", and I think that the answer to this question deserves more visibility.

Please list what measurable contributions Blockstream developers have made to the Bitcoin project?


texts:
I wanted to try-out mining from a pool from a raspberry pi. I ended up buying a USB ASIC miner (not sure I can post brand here). It's a bit bigger than a USB drive and mounted with heat sinks and fan. It is connected to a USB hub which is powered separately. I think it draws about 10 watts ( 5v x 2A)
My question is, if I let it turned on all the time, does it have a risk of fire? The electricity in my house is reliable (wires are safe), but I'm concerned about the heat. Or any other risk it starts a fire while I'm sleeping (for now I'm not letting it on when I leave the house).
Am I being paranoid? Any particular recommendation?


texts: I was looking to poke around about with some of the functions of https://github.com/gavinandresen/bitcointools but it claims to only work for earlier versions of bitcoin.  Am i just out of luck? or is there another solution?


texts: Retrieve private key for watch only address

texts: When sending bitcoin for an ico the mycelium wallet automatically generated a watch only address and sent the btc from there. I need the private key for this watch only address to access my tokens. Is that possible? Thanks, Piers


texts: What are some examples of previous first contributions improving Bitcoin Core tests?

texts: I have heard that improving the Bitcoin Core tests is a good way to start contributing to Bitcoin Core. What are some good examples of previous first contributions to the tests to take some inspiration from?


texts: Can a transaction be created by 2 different wallets?

texts:
I am familiar with Bitcoin's model, but a complete noob in real-world details. I am entertaining the idea of a service that receives transactions (A->B) and "wraps" or completes them to include (A->B & B->C).

Is it possible to create a transaction requiring 2 wallets to participate?
For example, to create a transaction sending coins from Alice to Bob, and from Bob to Charlie?
I had in mind a process where Alice creates the first half-baked transaction (Alice -> Bob), send it to Bob, Bob "adds" its piece (Bob -> Charlie), and the result is a valid transaction.
Obviously, the (Alice -> Bob) part must not be reusable by anyone else.

Can that be achieved? How? What's a good starting point / alternatives?


texts: Bitcoin Core mempool after disconnecting a block

texts: After reading this answer by Pieter about "undo files" I'm wondering what happens with transactions that were included in orphaned blocks but are left out the new blocks when "rolling back". Are they just dropped or do nodes include them in mempool and re-forward them?


texts: I know that ASIC BOOST exploits the fact that the blockheaders are not a multiple of 64 bytes, but what is the change in Segwit that prevents this? Are they always a multiple of 64 bytes now for example?


texts: How can I cancel and replace a Transaction that never gets confirmed?

texts:
According this this WikiPage, a MultiSigTransaction that doesn't include a fee may never get included in a block.

Since I've read that replacing Transactions (by version number or any other feature) isn't enabled, how can I expedite the replacement and updating of this?


texts: How does Bitcoin choose to which miner the reward will go?

texts: Let's say 100 miners with similar hashrate all try at the same time to mine the same block and finish at the same time, how will Bitcoin choose to which miner the reward will go? Is there some prority protocol?


texts: For tax purposes, how much is Bitcoin is worth if you send it to an exchange and sell it immediately for fiat?

texts: In the United States, I read that people that sell Bitcoin for USD will pay taxes based on the difference of when you bought and sold. How does an exchange like Coinbase know how much your BTC is worth if you just send BTC to them and you sell it immediately? RobinHood or PayPal do not allow you send crypto to other addresses, so they know the Bitcoin price when you bought and sold.


texts: How to transfer funds from Bitstamp to a personal wallet?

texts:
I converted EURs into BTCs at Bitstamp.net with SEPA (I live in the in EU), so now the BTCs are sitting on my Bitstamp account, but what's the next step? How do I use and send these BTCs to an average 34 digit bitcoin address?

Could anyone write or explain step by step in nutshell what do I have to do, what other websites or programs do I have to use to transfer my bitcoins from Bitstamp to a 34 digit bitcoin address?

What are the possible ways of doing it?


texts: How the coins must be paid miners for mining process is provided? One of resources may be transactions fee. Is there any other resources for proving reward of miners?


texts: Two transactions are signed by different private keys, and the value of "R" for these two transactions is the same?

texts:
Everyone knows an error in the Blockchain when the same value of "R" can be calculated and find out the private key of the transaction:

ECDSA Signature and the "z" value

But I have a question. Can I find two private keys with the same value of "R"?
Can you please tell if you can get the value "K" if you know that two transactions signed different private keys, and the value "R" on these two transactions is the same?


texts: Check Bitcoin address balance from blockchain

texts:
I am a merchant that accepts bitcoins, and I'm building my own desktop client for receiving them in Java.

When I receive a transaction, I would like to be able to see in my client how much bitcoin is stored in the address that I am receiving from.

I have the full blockchain downloaded on my computer.

How can I access the balance of an address from the blockchain? I would like to be able to do this offline by accessing the blockchain stored on my hard drive.

Thanks in advance


texts: I've read on the Ripple Wiki page for Transactions about partial payments. I am wondering how a partial payment would look when data is polled about an account? Would the transaction amount be displayed as what the payment was attempted to be sent, or the amount that actually went through? Are there any examples of how partial payments look and how they should be handled by Gateways?


texts: Which mobile apps allow me to redeem a private key from a QR code?

texts:
Which mobile apps will let me scan a QR code of a private key (such as the one created by BitAddress) and then spend the funds from that coin?

Please specify Android, iPhone (iOS), etc.


texts: For the Noobs: Starting Bitcoin games. I cannot transfer Bitcoins, or use Faucets

texts:
I started with Bitcoin a few days ago, and have mainly been going to free faucets and sites like that to get free Bitcoins. I just recently found out about Bitcoin games like the one at https://satoshimines.com/. I played around with it and like it, but I tried to transfer some Bitcoins to my account on that website.

It would not let me, and gave this reason...

There are not enough funds in this wallet to send 0.00001634 BTC  ($0.01) .
Note that you can only spend confirmed transactions.
Remember that the sender pays a fee.

I have 0.00008 bitcoins as of right now.

My BitChain - https://blockchain.info/address/148AadbRDjYeLSn4ZTe73bButUngMKz4cW

Also, when I start playing the game linked above, it states not to share the link. Why?


texts: electrum wallet: is recognizing the seed a problem?

texts:
I understand if you find someones seed, you get hold of the contents of the wallet correct?

If so, the fact that the seed is a list of 13 words, is not a risk regarding being recognized by anyone that get holds of that list?

I mean, if you keep some text file with a bunch of passwords, but without too much info on what places the passwords are for, the passwords might not be too useful to the person getting them. But if there is a list of 13 words, a list that can be see it matches a subset of the electrum seed list, is that not a risk? someone could realize quickly that is a electrum wallet seed...

I guess there are ways to improve this, like storing just the position of the words etc, but still.


texts: When user 'A' creates a transaction using scriptpubkey, do they also sign a message with their private key?

texts:
I understand a transaction in Bitcoin is created in two parts:

1) Sender 'A' creates a claim condition using scriptPubKey

2) Recipient 'B' proves ownership of the recipient address using scriptSig

I am wondering whether step 1 also involves the sender 'A' signing something as a part of the claim condition using their own private key?


texts:
I'm fairly new to programming and have only built some basic java applications, so bear with me. I'm trying to run the basic wallet application from the bitcoinj repository (using intellij and maven). I cloned the git repository, imported the filles as a Intellij project and added the dependecy to the pom file, but I still get these errors: http://i.imgur.com/Udv1dw3.png.

I tried everything I could imagine and can't fix it. If someone could help me I would appreciate it.

Thanks.


texts: Transaction with 0.0002 BTC fee but not confirmed sice 2 days

texts:
I'm a Bitcoin noob.
This is my second Bitcoin transaction and I'm getting very nervous.

My wallet (KryptoKit on Chrome) doesn't have a possibility to change the fees or anything on transactions.

Could anyone say what happens to my transaction (~100 USD) if no miner confirms it for some reason?
Now the transaction is unconfirmed since 48+ hours.

Here you can see the transaction:
https://blockchain.info/tx/2362971d010c0d38e51019139a4ebee899d0861af3d5288fae6494bad5ecd3d2

Many thanks in advance

Edit:

This is a very weird situation. At the same moment I posted this question, the related transaction were cancelled and I got my BTC back.

Here you can see the note of blockchain.info:
"Transaction rejected by our node. Reason: Transaction was previously accepted but has been pruned from our database."

The transaction were automatically resented, here is the id:
https://blockchain.info/tx/2362971d010c0d38e51019139a4ebee899d0861af3d5288fae6494bad5ecd3d2


texts:
Will I use video card? or PC? I plan to mine MUE and use the coin I mined to buy bitcoins.

This says MUE is the best

http://www.coinwarz.com/cryptocurrency/?sha256hr=9460.00&sha256p=2600.00&sha256pc=0.1000&sha256c=false&scrypthr=110000.00&scryptp=1000.00&scryptpc=0.1000&scryptc=true&x11hr=450.00&x11p=120.00&x11pc=0.1000&x11c=true&keccakhr=1000.00&keccakp=600.00&keccakpc=0.1000&keccakc=true&quarkhr=450000.00&quarkp=75.00&quarkpc=0.1000&quarkc=true&groestlhr=45.00&groestlp=825.00&groestlpc=0.1000&groestlc=true&blake256hr=11.20&blake256p=600.00&blake256pc=0.1000&blake256c=true&neoscrypthr=400.00&neoscryptp=400.00&neoscryptpc=0.1000&neoscryptc=true&lyra2rev2hr=30.00&lyra2rev2p=600.00&lyra2rev2pc=0.1000&lyra2rev2c=true&cryptonighthr=2800.00&cryptonightp=600.00&cryptonightpc=0.1000&cryptonightc=true&ethashhr=108.00&ethashp=600.00&ethashpc=0.1000&ethashc=true&equihashhr=1180.00&equihashp=600.00&equihashpc=0.1000&equihashc=true&e=CEX.io

However, it's not clear what hardware this one use. I can't find more info on MUE.


texts: What is to stop a malicious attacker only mining 1 transaction per block?

texts:
Even without 51% of the mining power, if you have say 5% of mining power and you deliberately only mine 1 transaction in your block aren't you going to create a traffic jam of transactions and effectively DDOS the network? (And the 1 transaction could be a movement of the attackers own funds backward and forward).

Roughly 5% of blocks are going to get no useful transactions processed.


texts:
I came across this paper Eclipse Attacks on Bitcoin’s Peer-to-Peer Network ∗ that sounds very similar to the Sybil attack.

Can someone point out the difference between both attacks.


texts: How do you install Bitcoin Daemon using Yum package manager?

texts: I have a Centos setup with the Yum package manager. How do you install Bitcoin Daemon using Yum? Or is it even possible right now?


texts: Can multiple transactions transferring the same bitcoin be done in one block?

texts:
For example, one bitcoin from address A to address B, then from address B to address C,

Assuming that prior to the transfer from address A to address B, no bitcoin had been sent to address B.

If the above is broadcast in the same block, would address C receive the bitcoin?


texts: How to manually disconnect a peer from peergroup?

texts:
Here is my code.

    params = TestNet3Params.get();
    blockStore = new MemoryBlockStore(params);

    chain = new BlockChain(params, blockStore);
    chain.addWallet(newwallet);

    final PeerGroup peerGroup = new PeerGroup(params, chain);
    peerGroup.setUserAgent("PeerMonitor", "1.0");
    peerGroup.setMaxConnections(1);
    peerGroup.addAddress(new PeerAddress(InetAddresses.forString("192.168.1.253"), 18333));

    peerGroup.addEventListener(new AbstractPeerEventListener() {
        @Override
        public void onPeerDisconnected(Peer peer, int peerCount) {
            System.out.println("hello "+peer.getAddress().getAddr().getHostAddress());
            peerGroup.addPeerDiscovery(new DnsDiscovery(params));
            System.out.println("DNS Added...!!");

        }
    });

    peerGroup.startAsync();

    peerGroup.downloadBlockChain();
    System.out.println("Full Downloaded...!!");

    List<Peer> peers=peerGroup.getConnectedPeers();

    System.out.println(peers);
    for (Peer peer : peers) {
        if(peer.getAddress().getAddr().getHostName().equals("192.168.1.253"))
        {
            System.out.println("checking peers...!!");
            break;
        }
    }
    System.out.println("going to stop...!!");

I want to stop the local peer and switch to the DNS when the downloading gets completed.


texts: How many unique public keys have been published to the block chain?

texts:
There have been estimates of the number of published addresses. For example:

https://blockchain.info/charts/n-unique-addresses

(this chart seems to be underestimating the address count)

However, I'm interested in the number of public keys. Most of them would be obtained from transaction inputs containing P2PKH response scripts.

This article suggests there are at least 56 million, but doesn't describe how this number was found or if the raw data are available:

  ... I obtained around 56 million pubkeys from the blockchain (mid-January) [2015] ...

Is there a convenient source that gives the number of published public keys in real time?


texts: How to mine with Intel HD Graphics 4000?

texts:
I'd like to mine with my Intel HD Graphics 4000 (128SP 16C 350 MHz/1 GHz, 1.8 GB DDR3 1.6 GHz 64-bit, Integrated Graphics). I think it has support for OpenCL, as I ran benchmark software, and it said it has.

So I tried to use CGMiner on Windows in the single pool mode:

cgminer -o http://pool:port -u username -p password

But it said it could not find any devices:

 cgminer version 3.8.5 - Started: [2013-12-25 13:41:02]
--------------------------------------------------------------------------------
 (5s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m
 ST: 2  SS: 0  NB: 2  LW: 5  GF: 0  RF: 0
 Connected to dogepool.pw diff 16 with stratum as user Zignd.igor
 Block: f190f72c...  Diff:472  Started: [13:41:07]  Best share: 0
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
--------------------------------------------------------------------------------

 [2013-12-25 13:41:00] Started cgminer 3.8.5
 [2013-12-25 13:41:01] No devices detected!
 [2013-12-25 13:41:01] Waiting for USB hotplug devices or press q to quit
 [2013-12-25 13:41:01] Probing for an alive pool
 [2013-12-25 13:41:02] Pool 0 difficulty changed to 16
 [2013-12-25 13:41:02] Network diff set to 472
 [2013-12-25 13:41:07] Stratum from pool 0 detected new block

What should I do?


texts: Nosey/disgruntled employees at my VPS company

texts:
How can I take steps to prevent/detect bad employees stealing my money?

I'm running bitcoind on a VPS with Ubuntu 14.04. Only ports open are 22, 80 and 443. I have fail2ban and auditd enabled.

Anyone have any other practical tips?


texts: Relationship between Hash-Rate and Difficulty

texts: What is the algebraic relationship between Total Network Hash-Rate and Difficulty?


texts:
What are the disadvantages of merged mining? I'm very interested in p2pool and since I have to "run my own server" I've been considering enabling merged mining.

Besides the obvious administration overhead and learning (which I chalk up to being a hobby), what disadvantages are there? I wouldn't be reducing my BTC hashrate would I?


texts: What were IP transactions supposed to be useful for?

texts:
Besides sending BitCoins using wallet addresses, there used to be another way, through IP transactions as described in the wiki.

The disadvantages were obvious (man-in-middle attacks etc).

However, were there any benefits (to the individual or to the whole system) in using IP transactions?


texts: Is there api for ripple.com to authentificate with username & password?

texts:
I'm googling, and looking for such option, to authenticate to ripple.com with out secret key, but username and password.

I've found only with secret key:

# curl -X POST -d '{ "method" : "sign", "params" : [ { "secret" : "snoPBrXtMeMyMHUVTgbuqAfg1SUTb", "tx_json" : {"TransactionType":"Payment",  "Account":"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh", "Amount":"200000000", "Destination":"r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV" }} ] }' http://s1.ripple.com:51234

How properly to authenticate with username and password only?


texts: How do APIs like Blockchain.info and BlockExplorer work?

texts:
When I query an address using either service, are they simply querying the latest block that has been mined?

Or do those services have nodes in the network that collect data that has not yet been codified in a block?

Sometimes, my queries return the "correct" information nearly instantly, but sometimes it takes a long time for the most recent transactions to be reflected- wondering why that's the case. Seems strange that I could send btc, have a query on the receive address return the up-to-date balance within 3 seconds, and then immediately make another transaction and make a successful query, whereas at other times the API query won't reflect the latest transaction for a long time. Insights appreciated.


texts: why using `blockIndex` in bitcoin's code `unconfTxs`

texts:
I am reading the code of rpc's estimateSmartFee method , and I can't understand why using blockIndex in unconfTxs ?

estimateSmartFee loop unconfTxs to get feeRate(code: https://github.com/bitcoin/bitcoin/blob/0.18/src/policy/fees.cpp#L291)

But the value unconfTxs[blockIndex][bucketindex] will be reseted in TxConfirmStats::ClearCurrent or reduced in TxConfirmStats::removeTx.
Why not just define like this unconfTxs[bucketindex]?

source file fees.cpp

unsigned int TxConfirmStats::NewTx(unsigned int nBlockHeight, double val)
{
    unsigned int bucketindex = bucketMap.lower_bound(val)->second;
    unsigned int blockIndex = nBlockHeight % unconfTxs.size();
    unconfTxs[blockIndex][bucketindex]++;
    return bucketindex;
}

the unconfTxs

    // Mempool counts of outstanding transactions
    // For each bucket X, track the number of transactions in the mempool
    // that are unconfirmed for each possible confirmation value Y
    std::vector<std::vector<int> > unconfTxs;  //unconfTxs[Y][X]


texts:
Do I need Bitcoin-qt to run Armory? I keep hearing conflicting information.

My goal is to mine bitcoins in a pool, so ideally, I want a very secure wallet, and I would prefer not to download the entire blockchain if I don't have to.


texts: What will bitcoin prices do in the next months as ASIC miners become more widespread?

texts:
The next months will finally see ASIC miners come into play, which will increase the global network hashrate by an amount never seen before. Of course, mining difficulty will then increase accordingly, but there will be a (how small?) timeframe where those new devices will be generating lots and lots of new coins. Then, as difficulty increases, mining new bitcoins will become increasingly harder.

How is this going to affect bitcoin prices (apart from market speculation which has been quite wild lately)?

My guess is that prices will drop when ASIC devices start mining, and then they will steadily rise because mining botcoins will never be so easy anymore. But then, of course, I'm not the only one guessing this... thus, lots of people will probably think "now it's a good time to buy bitcoins" and this will keep the prices high.

What do you think about this?


texts:
I am trying to understand if Bech32 can be a bottleneck in some specific cases (only Bech32, not Bitcoin itself).
What is the hypothetical speed decoding the address back to the streamable format in the client?
How many transactions per second you can do in Bech32 when you have not in scope the Bitcoin client itself?

I found out that vanity Bech32 can be tested with this tool: https://github.com/lispczz/bech32-vanity-address-generator

Any advice, how I can do the raw estimation? Do you have some formula in mind?


texts: How much electricity and time would mining a bitcoin consume right now?

texts: I live in an area where electricity is really cheap, I'm talking 0.003 USD per kilowatts/hour. I've searched myself around internet apparently it takes 15 000 kilowatts/hour of power to mine a bitcoin, however that information I believe is outdated since hashes have significantly increased from last year and especially since last two weeks, so if someone could do the math I'd appreciate it.


texts: Strange BTC rate behavior when buying bitcoins

texts:
I have decided to buy some bitcoins using the Bitcoin.com wallet app and I have just received the invoice for my transaction of 1000 EUR to BTC.

The rate of the BTC for the last days is always around 5850 EUR. But in my receipe I see that they have used a rate of 6032 EUR.

I do not understand that gap... Would it be a magic trick in order to get more money on customers ?

Thank you for your help.


texts: I wonder how fast a LN payment can be over TOR if all possible optimizations have been implemented?


texts: What is the order in which UTXOs are sorted in a block?

texts: Let's say, I am trying to do a double spend by creating two transactions almost immediately, is it possible that both the transactions are added in one block ? If yes, then which transaction is valid and which is invalid ? Also is there any specific order in which miners gather transactions in a block before starting to find proof of work ?


texts: What are some good ways of marketing a Bitcoin related service to Bitcoin users?

texts:
What is a brief summary of some good ways of promoting a Bitcoin related service? This could include:

Bitcoin Service Directories
Forums
Advertising
Mailing Lists
???

The target audience is people who have bitcoin and know how to use it.

To avoid this question being too broad and requiring answers that are too long, I suggest keeping any summary of each item brief.


texts: Is there a database of wallet addresses with lost private keys?

texts: Hi is there a database of wallet addresses that have lost the private keys?


texts:
In about one years time, when mining is really difficult, what would be the incentive for people to mine?
And if there aren't enough miners, how would transactions succeed?


texts: What is the simplest command I could use to test that my wallet unlocking process works properly?

texts:
I simply want to unit test that my lock/unlock process works well on an encrypted wallet.

What would be the easiest command I could send (that doesn't involve sending coins) to actually validate if my wallet is locked or unlocked? Can I try to sign a dummy transaction for example?


texts: Is the first input in a transaction always the sender's?

texts: I'm trying to figure out what the input address is from a transaction with multiple inputs. Can it safely be said that the first input in the inputs of the transaction is the sender's?


texts: I don't speak English well. Where can I get help with questions about Bitcoin?

texts:
I'm interested in Bitcoin but don't speak English well. Where can I find more information about Bitcoin, and get help with my questions in [my mothertongue]?

This is a canonical question to serve as a lightning rod for questions in Russian, Japanese, Chinese, Spanish, Turkish, Arabic[1], or other non-English languages that we do not support here.

[1] listing languages I've already seen on Bitcoin.SE.


texts: Paying only 6 satoshis/vbyte ($0.18 cents) per input in transaction fees?

texts:
I understand transactions are given priority based on the fee per vbyte of transaction data included in the transaction.
When I look at a Fee Calculator I see different quotes based on the desired block confirmation time. For example, to get confirmation within two blocks the fee is calculated as 72 satoshis/byte or $34.31 for 10 inputs and 2 outputs ($3.40 per input). For confirmation within 144 blocks (24 hrs) the rate drops to 6 satoshis/vbyte which turns out to $1.86 for 10 inputs and two outputs (or 0.18 cents per input).
The assumption that a transaction will be included for 6 satoshis/vbyte is based on speculation that the block size will not continue to be clogged with other transactions that pay a higher fee per vbyte over the course of the next 24 hrs. If the rate of incoming transaction continues to remain the same the transaction should never get confirmed.
Why is it assumed that the number of transaction will decline to the extent that the fee of 6 satoshis/vbyte will be adequate to outdo other transactions? How do they know how many transactions will hit the blockchain in the next 24 hrs and more importantly what sort of fee will be attached to those transactions?
Thanks


texts: how do i convert bc1 address to hex? for coinbase transaction

texts:
Im trying to create a coinbase transaction so that I can do some mining.
I have a bech32 bitcoin address, how do I convert that to hex so that I can include it in the coinbase transaction data?
example> bc1quukrk3u6cgpjhyqvehcj0ruyk8990dpev0zn6h
Also, where are the parts of the address? network type, checksum.
And how would I do it with the other address types?
Thanks in advance!


texts: What exactly is Microsoft 365 going to support?

texts: I read an announcement that Excel in the upcoming Microsoft 365 is going to support Bitcoin "recognition" and "calculations". What does that mean?


texts:
Any advice would be greatly appreciated.

I bought bitcoin about 2 years ago. Put it in coinbase wallet. I have the lost my ability to log in and cannot remember my old phone# to reopen the wallet. I DO have my "share code #" for the bitcoin and I DO have the "Long"#.

Am I out of luck to get access to my bitcoin or is there another way to spend it or transfer it because I have the 2 different codes?

Can I spend my bitcoin without knowing how to get into my bitcoin wallet?

Please give me feedback THANKS!


texts: Is BIP 32 Technology Cryptographic Curve Agnostic?

texts: Does BIP 32 always implicitly assume secp256k1 elliptic curve cryptography (ECC) is to be applied, or can BIP 32 technology also be applied to create extended public or private keys that can readily be converted to say ed25519 private/public keypairs? One of the reasons I ask is because if a mathematical or computational backdoor is ever discovered for secp256k1, can ed25519 slide right in or does BIP 32 need to be re-engineered to support ed25519?  Ed25519 can also be applied to provide Schnorr Signature capabilities.


texts: How to listen to an address or transaction_id continuously?

texts:
I am running bitcoin core on my node. I have two questions.

1) I want to get notified whenever there a new transaction in the blockchain.

2) If I give an address, I should get all the details about the address ( when there is a new payment to the address).

I want to make a callback API for the deposits. Could anyone tell how to do it?

Thanks


texts:
Suppose an SPV client goes offline at block X (meaning it has block headers until block X) and then comes back online when the blockchain is at block Y. At that point, it needs to resynchronise its UTXO set. So, it does the following: (1) get the block headers of blocks X to Y; (2) construct a bloom filter for its addresses and request a full node to send all the transactions matching this bloom filter from block X to Y; (3) the full node does so and if a match is found, sends the transaction data along with a merkle proof to the SPV client; (4) SPV client verifies the proof and if it's correct updates its UTXO set accordingly.

Is this the way things actually happen?

If yes, then my question is then why can't the full node simply do the following: (1) send its UTXO set to the SPV client; (2) SPV client then filters the UTXOs of its interest and put those UTXOs in its own UTXO set.

Is this method not followed because it doesn't involve any verification from SPV client and this the full node can give the SPV client a totally wrong UTXO set?


texts: How does market cap of currency decrease?

texts: According to my knowledge, once a currency is mined, its already released so how does market cap change? Consider if Sathosi (the founder of bitcoin) sells all his 1 million coins, there will be people who would buy it. It would just be a transfer from one person to another. How would it affect the market cap?


texts: is my xPub published when I make a payment? (wallet privacy)

texts:
I'm generating new addresses for every payment I receive, but what happen when I transfer the bitcoins from my wallet to another address?
is my xPub exposed when doing that (maybe to the bitcoin node?)
if yes, what is the recommended way to avoid exposing my full wallet history?


texts:
What's the easiest way for a user to create a transaction with 2 receiving addresses?

I'm not talking about "change".  Suppose I want to send 1 BTC to two addresses:
Alice 1KMkHaogstQ33Ea9k1rQuT5uduPPPQunT4 and
Bob 123uibcSV7mTDSkzHi8pVaM4grLXxLfKre

Alice is supposed to get 0.9 BTC and Bob 0.1 BTC.
How can I do this in one transaction?

Is there a convenient way to make this happen from current (August 2013) Bitcoin client software?


texts:
My understanding is that if a miner uses a particular coinbase address then already this address is offsetting the computation to a whole different set of results… Can someone, mathematically speaking, gain anything from watching what others compute given that every pool or solo-miner is computing in their own interest, their own corner of computation universe?
For context in which I thought of this question see https://github.com/bitcoin/bitcoin/issues/3658


texts:
wondering if anyone can help me.  I moved funds from one wallet to another with transaction 582386d5b5480804535cf382727ab72b9a09dd1435b3444f18c20617d3198a65.  Fees were dutifully paid by my wallet.  I've never had a transaction take more than an hour or two to confirm if fees are paid.  Says it spent unconfirmed inputs?  Anyone know what it is, and how to get my money back if it does not confirm?

Thanks much!


texts: Lightning-Network Channel not being closed and balance in "limbo"

texts:
My node Caffeine has a channel in pending status (close txid: 0de535ea74d72a952157640187b5a207fe977870a5c9b92f0aa99b9707c94779) with The Cave since months!
My local balance is stuck in a "limbo" and I have no idea what to do...
How to finalize the closure? How to get the balance out of the limbo?


texts: A security need for Bitcoin to fork to quantum resistant algorithm in a few years?

texts:
in just a few years I believe that quantums will exist that break asymmetric ciphers, and bitcoin is based on asymmetric ones like public-key-cryptography, correct? Symmetric algorithms are supposed to be safe.

Question is to experts here:

1) Which components of the bitcoin blockchain would be exposed to quantum attacks?

2) Are these components relevant the the blockchain's full functionality if they get "broken" or just minor nuisance but no major negative impact?

3) What do bitcoin (core)devs brainstorm currently, what could be feasible methods to make these above components more resistant against quantums?

Thanks for insights


texts: How do wallets select which balances get sent as part of a transaction?

texts:
I'm a newbie at this and still trying to get my head around Bitcoin. Three linked questions around how the transaction works...

1) How does the wallet decide which balances/addresses form part of a new payment transaction (to go as the input)?

2) Do all transactions generate 'change' - i.e. a second output?

3) Does the fee for a transaction go to a newly generated miner's Bitcoin address, a pre-recorded miner's address, or is there no output in the blockchain associated with this?

Thanks and apologies for technical inaccuracies and silly questions.


texts: Resyncing bcoin brings up database version error

texts:
I was resyncing my bcoin node and got the following error:

 Error: Warning: Your database does not match the current database version.
 This is likely because the database layout or serialization format has changed drastically.
 If you want to dump your data, downgrade to your previous version first.
 If you do not think you should be seeing this error, post an issue on the repo.
   at LowlevelUp.checkVersion (/root/bcoin/lib/db/lowlevelup.js:603:11)
   at <anonymous>


texts: What are the key differences between factom and tieron?

texts:
At a headline level, both Factom and Tieron appear to offer an identical  service: ability to use the bitcoin blockchain to publish proofs of existence in a scalable way (i.e. by multiplexing multiple events into a single transaction, and therefore reducing the cost and overhead per event).

Are there any further fundamental differences:

in terms of service(s) offered to the end users?
in terms of implementation specifics?


texts:
It has been 6 days someone sent btc to me and it isn't confirmed. This is the explorer link
https://sochain.com/tx/BTC/daa81a99ef4753995955c9d2b728cbf3d2b65297fb421eacd604ec49beec6b0d
Kindly help on how to sort it out


texts: Is there any benefit to increasing the maximum orphan tx in bitcoind?

texts:
I'm still learning how all of this stuff works. I'm running a v0.15.1 full node. While I was watching the debug output, I noticed that orphan tx were being discarded because the maximum had been reached. To see what would happen, I restarted bitcoind with maxorphantx=1024.

Is there any benefit to the bitcoin community by preserving a larger number of orphan tx or am I just wasting memory?

Note: I forgot to mention that my copy of the blockchain is up to date. The orphans I'm seeing aren't because I'm missing blocks.


texts: If SPV clients didn't exist, would Bitcoin still use Merkle trees?

texts:
I understand how full nodes use Merkle proofs to convince SPV clients that certain transactions are valid / invalid.

Does the Bitcoin software use Merkle trees in any other way?


texts: Is it possible to calculate TX size from its hex?

texts: How to calculate transaction size from its hex-encoded representation, so i can include transaction fees per kb ?


texts: Private key exported from Electrum, unable to recreate Address with Python

texts:
I have created a new Electrum wallet, and here is an address:

1JkZLnmFfpVFLT2ZMtKzc6BuXMdmY41EHA

By right-clicking on it, I choose "Private key" which gives:

Kzuucz58MiTbbedeVuqBaPYwG1TQrV3n2NYU2dJRZ7HEHnHsUXWx

Now I want to be able (to learn how it works) to go from this private key to the address, via elliptic curve multiplication.

Here is what I tried:

import bitcoin #pybitcointools
import base58
import binascii

pvt = 'Kzuucz58MiTbbedeVuqBaPYwG1TQrV3n2NYU2dJRZ7HEHnHsUXWx'
pvtdecoded = base58.b58decode(pvt)
pvthex = binascii.hexlify(pvtdecoded)[2:-8]     # remove the first initial byte for version and 4 final bytes for checksum
pvt2 = bitcoin.decode_privkey(pvthex, 'hex')    # decode as a decimal

# generate pubkey from pvtkey with elliptic curve multiplication
public_key = bitcoin.fast_multiply(bitcoin.G, pvt2)
addr = bitcoin.pubkey_to_address(public_key)
print addr

which gives: 1LNSuE4NKHTyHygeKwnU1equ7MjPMhayxB which is not the original address.

What's wrong? How to recover the original address (1JkZLnmFfpVFLT2ZMtKzc6BuXMdmY41EHA) from the Private key by using elliptic curve multiplication?

Edit: As Kz....Wx private key looks like a WIF-compressed one, I tried to replace:

pvt2 = bitcoin.decode_privkey(pvthex, 'hex')    # decode as a decimal

by

pvt2 = bitcoin.decode_privkey('Kzuucz58MiTbbedeVuqBaPYwG1TQrV3n2NYU2dJRZ7HEHnHsUXWx', 'wif')

but then after elliptic curve multiplication, it gives another address, which is still not the good one! (18dFF3EQoPxR44TygdGxHPMe3LSLFeQe4U)


texts:
I apologize upfront since I am not a seasoned c-currency investor (yet) unlike my years of experience with securities, currencies and commodities. I have some queries for you:
1) Brainwallet.org does not exist I could only locate Brainwallet.io
2) It will only create and accept a key for BTC I have 18 coins I need to securely (very relative) store.
Any tips/suggestions would be much appreciated.


texts: Ludicrous transaction fees from Coinbase?

texts:
I moved 0.16 BTC from my Coinbase online wallet to another one. I got 0.0017 BTC of transaction fees which looks a little bit too much. I was expecting an order of magnitude less, something like 0.00017 BTC

How Coinbase work out the fees? Is it possible to choose from different fees options?

EDIT:

I just moved a much higher volume of BTC at almost no fees, very weird :-)

Why Coinbase doesn't let the user choose the fees?


texts: Script Null into raw trasaction bitcoin core

texts:
I'm developing a parser for bitcoin core and into the alpha test of the parser,I noticed than the script bitcoin core are null and the hash raw transaction exist.
An example: for this transaction the script into exploring for blockchains
Transactions example into blockexplorer
Transactions example into blockchain.com
I have two questions now:

This null script event what is it due to? Is there any phenomenon I am not aware of?

Do these explorer sites to determine the starting and destination wallet execute the script?

Thanks for your help.
Sorry for my terrible English but I'm learning


texts: What are these strange outputs in the Litecoin blockchain?

texts:
I have found that there are some strange outputs in the Litecoin blockchain that pay small amounts to the scriptPubKey 736372697074. In ASCII, this translates to "script", reminding me of how nodes used to advertise support for P2SH by putting the string "/P2SH/" within a mined blocks coinbase's scriptSig.

The outputs have very small amounts, although they are unspendable since the 'p' ASCII character happens to correspond to OP_RETURN, and seem to show up in blocks between (roughly) blocks 81,374 and 114,829.

What are these outputs?


texts: can someone help me start my node please

texts:
Using raspberry pi model 3 which is running raspbian, a flavor of debian.

I had the full wallet installed and syncing the blockchain.

Now i can't remember how to get the gui up and running again.


texts: Where can I find more information about Litecoin ASIC miners?

texts:
I know Bitcoin can use ASICs but from what I can see some ASIC based hardware can work with Litecoin as well. However google search wise there isn't much to go off of, just that it is possible.

Any guides or suggestions?


texts: I'm worried I have lost my BTC from sending on my BTC Core 0.13.2 wallet

texts:
I would truly appreciate anyone's help.
I have a BTC core wallet, it's 2 years behind on the blockchain update.
I previously sent a couple of test sends for 0.01 BTC each quite a while ago, end of 2017 and mid 2018. These were seemingly lost as I can't find anything relating to them. I likely used too low a mining fee that I had nominated, being clueless.
In any case, just yesterday I tried to transfer the balance of my wallet with the "recommended" settings of my wallet for the mining fee, and now I can't find anything and fear the coins all lost, as they don't turn up on any blockchain search (or even the boost thing at https://www.viabtc.com/tools/txaccelerator) that I can find. Also Nexo, the org behind the receiving wallet, cannot help me as they just don't know since the transaction hash produces nothing for them.
These are the three transactions:
[all hashes and addresses below removed now since I have solved things, leaving just the label on what was there]
3.
0.198 btc  - yesterday  3/18/2021 19:59
label
hash
to account #
1
(label )  5/7/2018 16:32 tried to send 0.01 BTC
hash
to
wallet
2
(label) 6/8/2018 15:55 tried to send 0.01 BTC
hash
to
address
The wallet started with 0.2 sent to it in Dec 2017.
Thanks in advance to anyone that might be able to help. My heart is coming out my mouth...
Thank you
michael
[will write solution to this shortly...]


texts:
i am installing a full node on a linux server  and i'm trying to connect to bitcoin with BIFROST(https://github.com/stellar/go/tree/master/services/bifrost) but i am getting the error below which looks like a bitcoin error. All blocks have been downloaded. Please someone should guide me. Thanks

Error getting bitcoin block to process from DB: Error getting bitcoin_last_block from DB: get failed: get failed: pq: relation "key_value_store" does not exist  pid=65548 service=BitcoinListener
ERRO[2018-01-05T18:42:41Z] Error starting the server                     err="Error starting BitcoinListener: Error getting bitcoin block to process from DB: Error getting bitcoin_last_block from DB: get failed: get failed: pq: relation "key_value_store" does not exist" pid=65548


texts: How does a gateway IOU differ from any other IOU on the Ripple network? Say, if I got a $1000 from a gateway, does that make it a better currency than say, creating a second account and sending myself $1000 through that? Does the Ripple network somehow distinguish between those?


texts:
I'm a total newbie here, and I've read a bit on Bitcoin.  I get that it's a cryptographic currency, and that it can't be directly "cashed", etc.

I'm interested in the common purchase using Bitcoin - what do you buy with Bitcoin?


texts: Bitcoin transaction unconfirmed for 7 days

texts:
I am new to Bitcoin (using Bitcoin core client) and I ticked the check box that said something like "send with 0 fee when possible". My transaction has been stuck in the unconfirmed status for 7 days and I don't know how to recall it to set a transaction fee. I searched Google and everything but they were guides for other Bitcoin clients and I'm scared of messing up and losing my coins. Can someone give a clear step by step on how to recall and add a transaction fee?

This is my transaction https://blockchain.info/address/19JL8rn56ZWGgqHibB4U11xqvc9pqdrykb


texts:
There are many opinions about getting the actual UTXO set of blockchain.

Do you think that this important database must be based on data which saved on disk and never modified after, only appended?

I mean that only in this case of history based calculations, provide high level of node security.

Is it true that UTXO set which has the full node for to verifying transactions calculates only from recorded on disk information? Or it is a compressed data received from the network?


texts: Standardness rules related to BIP 16 (P2SH)

texts:
I can read in BIP0016 wiki the P2SH Specification

  Transactions that redeem these pay-to-script outpoints are only
  considered standard if the serialized script - also referred to as the
  redeemScript - is, itself, one of the other standard transaction
  types.

  The rules for validating these outpoints when relaying transactions or
  considering them for inclusion in a new block are as follows:

  Validation fails if there are any operations other than "push data"
  operations in the scriptSig. Normal validation is done: an initial
  stack is created from the signatures and {serialized script}, and the
  hash of the script is computed and validation fails immediately if it
  does not match the hash in the outpoint. {serialized script} is popped
  off the initial stack, and the transaction is validated again using
  the popped stack and the deserialized script as the scriptPubKey.
  The rules for validating these outpoints when relaying transactions or
  considering them for inclusion in a new block are as follows:

  Validation fails if there are any operations other than "push data"
  operations in the scriptSig. Normal validation is done: an initial
  stack is created from the signatures and {serialized script}, and the
  hash of the script is computed and validation fails immediately if it
  does not match the hash in the outpoint. {serialized script} is popped
  off the initial stack, and the transaction is validated again using
  the popped stack and the deserialized script as the scriptPubKey.
  ...

OP_CHECKSIG and OP_CHECKSIGVERIFY count as 1 signature operation, whether or not they are evaluated.
OP_CHECKMULTISIG and OP_CHECKMULTISIGVERIFY immediately preceded by OP_1 through OP_16 are counted as 1 to 16 signature operation, whether or not they are evaluated.
All other OP_CHECKMULTISIG and OP_CHECKMULTISIGVERIFY are counted as 20 signature operations.

But in Antonopoulos's book I can read

  Prior to version 0.9.2 of the Bitcoin Core client, Pay-to-Script-Hash
  was limited to the standard types of bitcoin transaction scripts, by
  the isStandard() function. That means that the redeem script presented
  in the spending transaction could only be one of the standard types:
  P2PK, P2PKH, or multisig nature, excluding RETURN and P2SH itself. As
  of version 0.9.2 of the Bitcoin Core client, P2SH transactions can
  contain any valid script, making the P2SH standard much more flexible
  and allowing for experimenta‐ tion with many novel and complex types
  of transactions.

Now, I'm using 0.19.0 and I'm able to create custom script and rely it in my regtest enviroment.
the question is: Can The BIP0016 is obsolete? And if it is, where I can see which BIP is became obsolete?


texts: Automated decentralized exchange between bitcoin and similar currency?

texts:
I want to create a cryptocurrency that's backed by bitcoin, that's running on it's own different blockchain and consensus algorithm.
Is it possible have a decentralized exchange between bitcoin and the new currency so that the only way to get the new coin is to exchange your bitcoin and if you want you can get your bitcoin back by returning your new coin?
And this to be done in a safe way without a central exchange and ANYONE having access to all of the new coin, and without risk for your bitcoin as long as both the bitcoin and new crypto blockchains are both alive and by nodes running the blockchain.
Here's an example:

You send 1 btc to a bitcoin address.
When that's confirmed let's say with 6 confirmations the "decentralized system" sends you 1 coin of the new coin to your "new coin" address of choice.

And if you want you can trade your new coins back for bitcoin.
So the total supply of the new coin = the supply of bitcoin
And no one has access to the total supply of the new coin, the only way to get the new coin is to deposit bitcoin. And you can get your bitcoin back automated and decentralised whenever you want by returning your "new coin" to the system.
Is this possible?
I know about atomic swaps but that relies on 2 parties exchanging coins. What if 1 of the parties is the new blockchain itself? Is this even possible?


texts: C secp256k1: What do prefixes 0x06 and 0x07 in an uncompressed public key signify?

texts:
In the eckey_impl.h header file, the implementation of secp256k1_eckey_pubkey_parse checks if the first byte of a 65-byte public key is 0x04, 0x06 or 0x07. Where can I find documentation regarding the 0x06 and 0x07 prefixes?

static int secp256k1_eckey_pubkey_parse(secp256k1_ge *elem, const unsigned char *pub, size_t size) {
    if (size == 33 && (pub[0] == 0x02 || pub[0] == 0x03)) {
        secp256k1_fe x;
        return secp256k1_fe_set_b32(&x, pub+1) && secp256k1_ge_set_xo_var(elem, &x, pub[0] == 0x03);
    } else if (size == 65 && (pub[0] == 0x04 || pub[0] == 0x06 || pub[0] == 0x07)) {
        secp256k1_fe x, y;
        if (!secp256k1_fe_set_b32(&x, pub+1) || !secp256k1_fe_set_b32(&y, pub+33)) {
            return 0;
        }
        secp256k1_ge_set_xy(elem, &x, &y);
        if ((pub[0] == 0x06 || pub[0] == 0x07) && secp256k1_fe_is_odd(&y) != (pub[0] == 0x07)) {
            return 0;
        }
        return secp256k1_ge_is_valid_var(elem);
    } else {
        return 0;
    }
}


texts: what is the size of information contained in one bitcoin?

texts:
Every information stored digitally requires some space.
For example :
a text file (2-3 Kilobytes)
a song (7-8 megabytes depending upon bit rate)
a phone picture (5-6 megabytes)
\and so on..........
1 bitcoin = 100000000 sats
100 sats = 1 bit
1 bitcoin = 1000000 BITS
Assuming bit is smallest unit of computer memory, hence using standard conversion reference as below:-
/ 8 bits = 1 byte
/ 1000 bytes = 1 kb
/ 1000 kb = 1 mb
coming back to 1 bitcoin which equals 1000000 BITS.
1000000/8 = 125000 bytes
125000/1000 = 125 kb
125/1000 = 0.125 mb
so my question which I assume is technically incorrect, but hypothetically if I ask that I want to store one bitcoin in my pendrive and how much free space do I need to store that information? What would you say, am i right here in solving the numbers? //0.125 mb
(information = one bitcoin)
Thanks to whoever may answer my hypothetical (may be wrong) question.
-Praneet Jain


texts: Where are transactions to be confirmed stored?

texts: When a bitcoin client sends a transaction to its connecting full nodes, before that transaction is confirmed, where is it stored? on all full nodes?


texts: I sent a transaction from Electrum to Trezor wallet - the transaction has disappeared and the fund taken

texts:
Any help please??
I think I lost 0.7 btc
Transaction
d18f69c508d9dd5bb5a5038894a79a2c355100a6a185b8aac1df3494ed131e94
Summary
In Block    Unconfirmed
Total Input 0.6845923 BTC
Total Output    0.68444386 BTC
Fees    0.00014844 BTC
Details
d18f69c508d9dd5bb5a5038894a79a2c355100a6a185b8aac1df3494ed131e94 ⚠
first seen Sun, 03 Jan 2021 03:54:26 UTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02577756 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00758608 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01485129 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00674268 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01514086 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00816756 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00962341 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02080733 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02851153 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02640941 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.018482 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01490001 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02437251 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00757503 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.04133579 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00165945 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01234919 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01105445 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00809206 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02749301 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01243002 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01193373 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00977051 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00124668 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02964461 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.0242969 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01011918 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01134724 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02825585 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00690033 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01524587 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00983011 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.00729229 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01968774 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.03067904 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01569381 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.01044657 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.0287376 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.02337908 BTC
➡ 1LLzrwBEHWsRHk5YLLTFY4w4BqdfbDLghm0.03672393 BTC
36UjonxSP7xBwxvpQghVBGFpXNJqdLX9zS0.68444386 BTC ×
Fee: 0.00014844 BTC
UNCONFIRMED TRANSACTION!0.68444386 BTC
Raw Transaction
{
  "txid": "d18f69c508d9dd5bb5a5038894a79a2c355100a6a185b8aac1df3494ed131e94",
  "hash": "d18f69c508d9dd5bb5a5038894a79a2c355100a6a185b8aac1df3494ed131e94",
  "version": 2,
  "size": 7381,
  "vsize": 7381,
  "weight": 29524,
  "locktime": 664234,
 ...


texts: What is a good hardware for a lightning network node?

texts: What is the hardware setup you use for your LN node? Is a Raspberry Pi 3 enough for testing and playing with small amount of funds?


texts: Why can't I withdraw any BTC from MtGox?

texts:
I have a balance of just 4 BTC at Mt Gox and when I try to withdraw them I get this message: Your account is currently pending review, please visit https://mtgox.com/forms/verification

What am I supposed to do about this?  Is anyone else having the same problem?

EDIT (cannot comment or answer my own question?): Yes I created the account using Tor, and their response says that's the reason.  @Stephen Gornick you are correct, the restriction is specified when creating the account.


texts: How many nodes need to validate a newly created block?

texts:
It must be impossible for a newly created block to be propagated and validated by every node in bitcoin network considering offline nodes and the ones with poor Internet connectivity.

How many validations is sufficient for a newly create block to be added as the latest block?


texts: Importing an arbitrarily created Master Private key to Bitcoin Core

texts:
I've created a Master Private key (xpriv) on an airgapped machine along with an Master Public key (xpub). Now I'm running Bitcoind on my Ubuntu server and I want to use my newly created keys on a new wallet rather than the one that Bitcoind created for me when I started running bitcoind.

Is this possible to do? If so what is the way to go?


texts: Why is my new altcoin trying to connect to peers and sees almost 200k blocks remaining?

texts:
I downloaded and forked the Blackcoin source code. I changed all of the references to BlackCoin, changed the pszTimestamp string along with the current Unix timestamp. Then, I successfully mined the genesis block and put it, along with the merkle hash and the nNonce into the source code and recompiled.

My wallet loads up just fine. The problem is, it says it ha 16 active connections to the network and sees 193k blocks it needs to download. In the debug.log file, theses are all orphan blocks. Also in the debug.log file, it is showing that it is trying to connect to what I assume are built in nodes somewhere in the BlackCoin source code. I cannot find these for the life of me.

How can I change this so that my coin knows the correct blockchain?

Thanks.


texts: Payment Channels - Securing the private key that locks client funds

texts:
Do I need to secure an automatic generated private key used for locking an anchor transaction (the one that opens the channel, locking the client funds), since it only serves that locking purpose (not holding money)?

Can I just drop it? Any further advice? Thanks.


texts: Two weeks have past, still nothing on my transactions

texts:
Two weeks have past, still nothing, can anybody advise? tried the zap wallet thing, and its just removed the transactions, so theres nothing in my wallet on my mac. the only thing i have to go on is the bitcoin link:

https://blockchain.info/tx/44c784d8f82d962103ffdf5d463a1460150a21cc67a0750d4a3f6a35a0d18d9a?show_adv=true


texts: How do you determine how much money an address has?

texts: If you get an address, and have payments sent to you, how are people able to determine how much money you have? What steps do they do to figure this out?


texts: Mining new private alt coin derived from litecoin

texts:
I have created an new private altcoin from litecoin(build on linux ubuntu) and it is working correctly. Now i want install any miner application (like cgminer) with CPU mining(for test). I have installed cgminer (Older version which support CPU mining) but miner not running and it always showing "No server could found exiting". Also i am confused with following doubts,

Can we mine coins with single node(Its my own private coin and it is installed only my pc)?
cgminer showing scrypt disabled(because its need OpenCL). Is scrypt only work with GPU?

Thanks In Advance,

Mufeed


texts: Listen for transaction on specific address

texts: How can you listen for a transaction on a specific address? I'm working on building a lightning network watchtower and the first thing I need to do is detect when someone closes a channel.


texts: Is there's anyway to get fee estimation with vbyte instead of KB using "estimatesmartfee" RPC command?

texts: I'm using Bitcoin-core RPC command to get current fee rate, but it returns the fees in KB, I would like to get fee rates in vbyte is that possible?


texts: What external systems is Bitcoin commerce dependent on?

texts:
If there was a concerted effort to "shut it down", where are the vulnerabilities?

The potential for the Bitcoin client to communicate with other Bitcoin nodes has been discussed at length, but what about the other parts of the Bitcoin ecosystem that have we become dependent upon?  If they disappear (e.g., denial of service, or taken down), will Bitcoin continue to function as a currency and payment system?

What are the most important systems that we are dependent on and how are we affected as a result if services from these systems end?

For an example of one such service -- what would be the effect if BlockExplorer.com were to be forced offline.


texts: In the ASIC-age, is it worth starting mining Bitcoin at home?

texts:
I have recently learned about Bitcoin and would like to get rich quickly into mining.

I have control of a

laptop
library full of ancient computers
powerful gaming PC
cluster of GPUs
an old ASIC, I got for  three times its worth off eBay
a cluster of EC2 servers

My power bill is

frightfully expensive
dirt cheap
subsidized by my neighbors included in rent
non-existant, because I produce a power surplus

Is it worth getting started with mining?


texts: Given a private key, how do you get a public address

texts:
Possible Duplicate:
  How are public & private keys in an address created?

I am scanning in a private key from a QR code in an app I am writting to handle the import of physical bitcoins.

Given a private key, how can I get the public key so that I can lookup its value on the block explorer?


texts: Can miner pay transaction fee with coinbase (if maturity is disabled)?

texts:
If I understand correctly,

the first transaction in a block may collect transaction fees (difference between inputs and outputs) from the following transactions in the same block; and
subsequent transactions may use outputs from previous transactions in the same block.

If the block maturity check is disabled, so that newly minted coins may be utilized immediately, can a circular dependency of transactions arise, i.e., a miner uses coins generated from the coinbase to pay for transaction fee of a transaction in the same block, but the fee is then returned back to themselves (collected by the coinbase)?


texts: Why does Satoshi's public key have the uid "BuZz Spacedout"

texts:
This is more of a historical question about bitcoin than a technical question. Hope that's okay...

Does anyone happen to know why the public key numbered:

pub  1024D/5EC948A1 2008-10-30

Available, for example, at pgp.mit.edu has the uid:

uid BuZz Spacedout   <satoshin@gmx.com>

containing the string "BuZz Spacedout"?

I've been told that this is Satoshi's public key and I was just wondering about the origin of the name "BuZz Spacedout". Is that another pseudonym that Satoshi commonly used besides Satoshi? Anyone know why he/she/they didn't choose "Satoshi Nakamoto" rather than "BuZz Spacedout"?

Cheers.


texts: Issues when attempting to get accounts using the GDAX API

texts:
Here is the github I have working with:

https://github.com/danpaquin/gdax-python

When I run the following code:

auth_client.get_accounts()

I'm getting the following error:

TypeError: expected string or bytes-like object

Which doesn't make much sense to me. Any help would be much appreciated.


texts:
My ISP has blocked port 8333, due to the gigs of inbound traffic I incurred running a full node. Consequently, I would like to run a full node through VPN (specifically, OpenVPN with an OpenVPN provider).

Would I need to have the VPN forward port 8333?


texts: Newbie question about the security of mixing

texts:
If I am running my own node, and using a mixer to anonymize my BTC, will it not be connected anyway because the transactions are to/from my own node?
I mean I am sending the BTC to the mixer from my node, and then getting it back to another address, sure, but I am accessing that address from my own node...
Even if I am using TOR, is there not something that identifes the nodes and tells observers that these two addresses have something in common, the node on my machine?


texts: What was the very initial value of OP_RETURN?

texts:
My understanding is that OP_RETURN was first introduced in v0.9.0 (https://bitcoin.org/en/release/v0.9.0).

This link (https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2014-November/006917.html) mentions "initially supposed to be 80 bytes, but got reduced to 40".

This link (https://github.com/bitcoin/bitcoin/pull/5286) says: "The maximum size for OP_RETURN outputs used to be 80 bytes, then got changed to 40 bytes to be on the safe side".

Pull request https://github.com/bitcoin/bitcoin/pull/3737 talks about reducing it to 40 bytes. Was it ever in the code at 80 bytes prior?


texts:
What would be a safe way to store large amounts of Bitcoin long term to ensure safety from loss?

Is it safe to use Bitaddress.org to generate private keys and use them to generate multi-sig address, writing private keys on a paper.
Then signing transactions from my multi-sig address on offline computer.

Is that the best way?


texts: What is the largest company that has ceased accepting fiat payments in favor of Bitcoin?

texts:
We know there are many large companies that now accept Bitcoin transactions (Dell, Overstock, Expedia, etc) however they still accept fiat payments from legacy credit card systems.

Which large companies that have integrated Bitcoin transactions have now stopped supporting fiat payments?

Please exclude companies that never accepted fiat payments and were founded with solely Bitcoin support.


texts: Identifying wallet file among soup of recovered .dat files

texts:
Hello my friends!
Here is my situation:
I accidentally deleted a partition on my HDD containing the only copy of my bitcoin wallet. Facepalm. After running data recovery tools, I've found and restored around 150 .dat files. Unfortunately, the recovery software assigns arbitrary names to these files, so I cannot identify which one is my BTC wallet.dat.
My question :
Is there a quick way or a utility that can confirm if a .dat file is a valid bitcoin wallet? I would like to run a script to iterate through each .dat and check it in order to find the bitcoin wallet among all the .dat files I recovered.
Worst comes to worst, I will just need to try to import each one, one-by-one ( (which sounds like an awful way to spend my afternoon tomorrow). I am still pretty new to BTC and unfamiliar with the set of tools it involves, so I am hoping there is a programatic way to do this :D


texts:
I am using bitcoin Qt
version v0.7.0-beta and when I tried to send a transaction (1.5 bitcoins) I received a message

transaction creation failed

what can be the reason? Few minutes ago I sent 0.1 bitcoins and it was accepted. Three hours ago I sent 0.3 bitcoins and it was accepted and received on the other side.

I tried to restart the wallet but this still happens.

P.S. I do have more than 1.5 bitcoins when I am trying to send them.

Just a few observations. I tried to send 0.3 and 0.5 bitcoins one more time and it works with both of them.

Just tried one more time to transfer some bitcoins to another account in BitCoin Qt (version v0.8.3-beta - the newest at the time of writing).

This time I am getting some additional error message, which is still is not useful.

Transaction too large

and right after it another one

Error: Transaction creation failed!

P.S. just few days ago I updated the client to v0.8.5-beta but the problem still exist.
I really want to spend my bitcoins, but can not do this. I also tried different addresses.


texts:
Bitcoin transaction's anonymity depends on public-private keys. The digital tie between a public and a private key is stronger than the tie between a person and his DNA.
If you committed a crime but the police had your DNA you would hardly consider yourself safe.
Furthermore there is a necessarily public list of transactions involving your public key and therefore connecting you to others by their public key.
To call this anonymous seems a stretch!


texts: Running out of disk space with Bitcoin Core

texts: A year ago I purchased some bitcoins and it was sent to my address. I loaded up Bitcoin Core and installed it to my laptop HD, it ran out of space on the HD, mid blockchain sync. It has now been a year. I have confirmation that the coins have been sent to the address and they are there, what can I do?


texts: So I'm working on an altcoin for me and my friends to use.  None of them are familiar with mining.  If my computer is the only one mining, how much would that affect the economy?  Also, how many transactions are needed for a block?  If only 1 transaction per day is made, would the miner just not have any work?  I forgot to mention the block reward is 10 coins.


texts: question on Armory bitcoin wallet scripting

texts: Has anyone built the Armory Bitcoin wallet successfully and created the wallet using python and Armory as a library instead of using the GUI?


texts: Are transactions many-to-many? If so, who decides on the grouping?

texts:
When I go to blockchain.info and explore transactions, I see a lot of individual transactions that seem to show bunches of addresses sending to bunches of other addresses.

https://blockchain.info/tx/221668ab11014c34da20296a1607ecc7967d1bdeecb884f1bf163e6b6c9f1d72

Does the Bitcoin network/protocol control that automatically, or is that done by the individual/agent initiating the transaction? e.g. Let's say I want to send 123 to one address. Is that going to be grouped into a big transaction involving many people and many recipients (including mine), or is it going to appear in the history as a transaction between strictly two addresses?


texts: Given a Tx message, how does one calculate the fee paid for the transaction?

texts: Given a Tx message, how does one calculate how big a fee one paid for the transaction?


texts: How does a Trezor passphrase prevent restoration of a wallet if an attacker knows the seed?

texts:
Trezor User Manual says

  if you forget the passphrase there will be no way to recover your bitcoins. Not even the Recovery seed.

How is it that you (or an attacker who knows the seed) can't just restore a soft wallet with some other application and recover the bitcoins with the other application?


texts: How does Bitpay.com getting transactions info as its open source?

texts:
How does Bitpay.com wallet getting transactions info and listing unspents?

Are they connecting to Electrum servers peers or are they connecting to their servers?


texts: Stratum mining, jobID and stale/rejected shares

texts:
Let's imagine following situation:

I've got a job from stratum pool, miner found golden nonce and sending it over the pool.

While waiting for pool response, miner found another satisfying nonce within the same job.

Question1: will stratum mark second nonce as stale or reject it when submitted to the pool?
Question2: if I found another nonce by increasing nonce2 field for the same job ID, will it be accepted by the pool?


texts:
Using bitcoin-cli decoderawtransaction, i got the txid of the only one vin, and the value of two vout are set at 0.015 BTC. Then, using bitcoin-cli gettransaction, i got negative value of amount and fee. How could the transaction have negative value of amount and fee ? Could this be the reason of that error "bad-txns-in-belowout"?

./bitcoin-cli -regtest decoderawtransaction "hexvalue"
{
  "txid": "35d2e765217d71db34fd0cd1cf52f419fc525069ac87ed9f413b194851c70849",
  "hash": "35d2e765217d71db34fd0cd1cf52f419fc525069ac87ed9f413b194851c70849",
  "version": 1,
  "size": 338,
  "vsize": 338,
  "locktime": 0,
  "vin": [
    {
      "txid": "2146415931a60db99ebf60849e2874dd67d37f870249a1ff06adcc6b8244155b",
      "vout": 0,
'''
    }
  "vout": [
    {
      "value": 0.01500000,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 dd100be7d9aea5721158ebde6d6a1fd8fff93bb1 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914dd100be7d9aea5721158ebde6d6a1fd8fff93bb188ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "n1fprNxRhWrpkJ34A4cNsSZbHsnzhob2KL"
        ]
      }
    },
    {
      "value": 0.01500000,
      "n": 1,
...
    }
}

./bitcoin-cli -regtest gettransaction 2146415931a60db99ebf60849e2874dd67d37f870249a1ff06adcc6b8244155b
{
  "amount": -0.08000000,
  "fee": -0.00100000,
  "confirmations": 0,
  "trusted": true,
  "txid": "2146415931a60db99ebf60849e2874dd67d37f870249a1ff06adcc6b8244155b",
...
}


texts:
Is it normal to infrequently see errors retrieving trade/depth history by API from BTC-E? Or should I never see them.

I seem to be seeing at least one such error each day, I am running my script on an Amazon EC2.

Thanks,
Jon.


texts: Can a bitcoin block reward be paid to a multisig address if the transaction is included in the block?

texts: Can bitcoind or other miners be modified to use a fixed payout address?


texts: multiple low end miner or 1 high end miner

texts:
Newbie here,

Im torn between buying a GTX 1080 or multiple 1050

Is there any Pros and Cons on having multiple but slower miner?

Thanks!


texts: Is it possible to give a public read only access to a Bitcoin account?

texts:
Is it possible to give a public read only access to a Bitcoin account using the Bitcoin client?

For example if for an non-profit organisation it can be useful to have read only access to it's Bitcoin account.

I know it is possible to make an web-service that is displaying this kind of data, but this requires a third part authority.


texts: Transaction for real use / transaction for changin Bitcoin in other currencies?

texts:
How can I calculate the ratio between this two type of bitcoin transaction?
Is it correct divide the total volume USD of the data at this link:
http://data.bitcoinity.org/markets/volume/5y?c=e&r=week&t=a&volume_unit=btc

by the total transaction volume (USD) of all the blockchain transaction?


texts: Array of individual transactions from blockchain.info

texts:
As a little learning/hobby project i'm writing a little c++ program to extract a list of transactions from blockchain.info and show it visually.

I was hoping i could iterate through blocks, taking each TX and then extract into an array a list of transactions. i.e.
Block/transactionID/sending_address/amount/receiving_address etc

Ive connected to blockchain.info and can iterate through each block using jsoncpp. But if i look at an example like this:

https://blockchain.info/block-height/100001?format=json

...and specifically transactions like this:
https://blockchain.info/rawtx/8131ffb0a2c945ecaf9b9063e59558784f9c3a74741ce6ae2a18d0571dac15bb

Will the sum of inputs always match the sum of outputs?  How would i marry up which input sent what amount to each output when there is more than 1 in each?

Many Thanks.


texts: What are some other uses for blockchain instead of money?

texts:
What has blockchain been used for aside from money in the 10 years its been around?

I know things like etherium exist, but They don't seem be going anywhere, most of its value seams to come from the hope that someday someone will fond a use for smart contracts.

So has someone found a n alternative use for blockchain yet?


texts: How can I generate more coins while mining on PoS?

texts:
I couldn't find the specifics on how would one get more coins with PoS.

I understand that with PoW one gets more coins by having more hashing power and running software like cgminer.

With PoS, I need to have more coins, and… what else? Just have the client open? If that's the case, it's kind of risky, isn't it? I mean I would have to have my private keys in an online machine?


texts: Downloading the pruned blockchain file directly from external source

texts: Using the bitcoin client to have a pruned version of the blockchain can take a lot of time, I was wondering what would be the drawback to simply download an already pruned bitcoin blockchain file from a reliable source like bitcoin.org then put it in my bitcoin directory and then use/update it from it there.


texts:
I wanted to convert the following bitcoin mining python code to VB.net (2012) and I tried to convert it's functionality, but it throws some errors and I'm stuck as I even can't get the resulting value of "header" variable.

and the final hash result should be 0000000000000000e067a478024addfecdc93628978aa52d91fabd4292982a50, but I'm no where near that.

why this produces errors, converting from hex to byte is not the correct method?

in python L is used to format it to long right?, so what does the <L & <LLL in the python code do? and is this ::-1 used to prevent overflow when reading the hex string?

and, in exp = bits >> 24 what does it do, bitwise operations?

import hashlib, struct

ver = 2
prev_block = "000000000000000117c80378b8da0e33559b5997f2ad55e2f7d18ec1975b9717"
mrkl_root = "871714dcbae6c8193a2bb9b2a69fe1c0440399f38d94b3a0f1b447275a29978a"
time_ = 0x53058b35 # 2014-02-20 04:57:25
bits = 0x19015f53

# https://en.bitcoin.it/wiki/Difficulty
exp = bits >> 24
mant = bits & 0xffffff
target_hexstr = '%064x' % (mant * (1<<(8*(exp - 3))))
target_str = target_hexstr.decode('hex')

nonce = 0
while nonce < 0x100000000:
    header = ( struct.pack("<L", ver) + prev_block.decode('hex')[::-1] +
          mrkl_root.decode('hex')[::-1] + struct.pack("<LLL", time_, bits, nonce))
    hash = hashlib.sha256(hashlib.sha256(header).digest()).digest()
    print nonce, hash[::-1].encode('hex')
    if hash[::-1] < target_str:
        print 'success'
        break
nonce += 1

The VB.NET code I've been coding up until now is,

Public Class Form1
Dim version As Long = 0
Dim time As Integer
Dim pblock As Byte
Dim mklroot As Byte
Dim header As String
Dim nonce As Integer = 856192328

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Textbox1.Text = "2"
    Textbox2.Text = "000000000000000117c80378b8da0e33559b5997f2ad55e2f7d18ec1975b9717"
    Textbox3.Text = "871714dcbae6c8193a2bb9b2a69fe1c0440399f38d94b3a0f1b447275a29978a"
    Textbox4.Text = "0x53058b35" '2014-02-20 04:57:25
    Textbox5.Text = "0x19015f53"

    Dim n As Int32 = T2.Text.Length - 1

    version = CLng(Textbox1.Text)
    'pblock = CByte(Textbox2.Text)
    pblock = Convert.ToByte(Convert.ToInt32(Textbox2.Text, 16))
    mklroot = Convert.ToByte(Convert.ToInt32(Textbox3.Text, 16))
    time = CInt(Textbox4.Text)

    header = version & pblock & mklroot & time & nonce
    Textbox6.Text = header

   End Sub
 End Class


texts: Can I run Trezor Wallet against my own local node on OSX?

texts:
I want to point Trezor Wallet at my own local node. I'm already running Bitcoin Core, but Trezor Wallet requires Bitcore.
What I have tried:
1. Installing the latest bitcore version according to the guide.
This doesn't install due to a bug, but after working around it I got it running. But unfortunately it then crashes during indexing, so is unusable.
2. Use SatoshiLabs's bitcore fork
SatoshiLabs have made a fork of bitcore for use with Trezor Wallet. This looks very promising, especially as it is designed to work with Trezor Wallet, they have fixed the bug in the Bitpay version, and also added better fee estimates. However it also fails to install on OSX, because the embedded Bitcoin Core build is only packaged for Linux.
Next steps
I can see four options:

Go back to trying to get vanilla bitcore working. Find the cause of the crash and fix / workaround.
Try to get SatoshiLabs' fork working on OSX. Maybe I can use a vanilla Bitcoin Core build instead of the bundled one? Although I'd probably have to spend a lot of time investigating how to set up the dependencies and run the install correctly.
Forget about OSX and set up a simple Linux server and try again.
Give up and just let Trezor Wallet use its defaults.

Can I get a working bitcore node on my OSX machine for use with Trezor Wallet? Preferably I'd like to do it without hacking the default config or source code too much.


texts: Can we interpret a rolling average transaction count per block as the 'adoption curve' for Bitcoin?

texts:
It is widely accepted that Bitcoin is both a transaction network, and a currency subject to speculative market action like established fiat currencies. In a sense, it is a transaction network with a 'capacitor' in the middle, which happens to be stored value in the form of the world's first distributed digital currency.

I investigated and performed some analysis around Bitcoin Days Destroyed, and found it a little empty in terms of measuring the adoption of Bitcoin as a tranactional currency. Instead, I simply took a moving average of the number of transactions per block as a straight indicator of real transactional activity. This analysis makes no attempt to measure or attribute meaning to the size of transactions; the focus is exclusively on the volume of transactions.

To that end, the attached is a graph of transactions per block which includes a linear best-fit trend and a 255 sample rolling average. Both show clearly that the transaction count has trended down over the past few months. How valid is this graph as a proxy for the adoption of Bitcoin as a tranactional currency, and what level of activity should we want to see before we'd consider Bitcoin a 'success' as such a currency?

NOTE: in the graph below, the the slope co-efficient is transactions/(block*day), so the implication is that the average number of transactions per block is falling at a rate of 0.0716 per day, or about 1 transaction fewer every 2 weeks.


texts: How to dissect or decode a BTC transaction?


texts: multiple parties to sign a transaction before being broadcast (or after, but either way be associated with)

texts:
Lets say someone was writing a transaction solely to denote the existence of something, or a timestamp, or writing something in OP_RETURN

Could that transaction be signed by other addresses, kind of as a "I agree with this statement" way, or a way that future analysis of that transaction showed that particular parties agreed with the transaction

(I'm imagining something that does not require the sender to have a multisignature address created with other parties. Or some way of having multiple outputs from different parties going to one input)

For example, Tom requested the location of Atlantis, many parties are watching these requests on the blockchain and can collaborate on the answer. Eventually Tom received a transaction containing the location in the OP_RETURN and it came from NOAA. Tom doesn't trust NOAA's use of GPS and much prefers GLONASS, so this transaction was also 'signed' or endorsed in some way by the Hydrometeorological Center of Russia. "Wow both agencies agree on this, I'm convinced now"


texts: Are the Thin clients Electrum and Multibit safe and secure?

texts:
How do Electrum and Multibit compare for being safe and secure. Both are open source. Are there any advantages, security wise, to use one or the other?

I'm new to bitcoin and the only reason for considering these thin clients is to not having to maintain a 5gb database file.