texts: Multibit HD 0.5.1 with Unconfirmed transactions for months now

texts:
Multibit HD 0.5.1

This is my wallet's transaction list and amount:

I am having the following issues:

I don't understand why do I have 0.07btc ~ 224.59$ unconfirmed for a month by now.
I have three transactions there that are still sending/receiving... What the hell?

These are the transactions in the blockchain:

https://blockchain.info/tx-index/9ca971dfab49b924bde33664505c7f3f19e3480171cc2e4c04b93a07e8ec4305
https://blockchain.info/tx-index/9e3f1b829b13731701a8aa71f97675c4c60881c622712f7a664f0cff63a75044
https://blockchain.info/tx-index/d22eefe0f139a825e725c403f029c907cd6975b8706d4f1e4b47b85025ccf797

I have tried the following solutions that failed:

Wallet repair multiple times
Wallet removal and reinstallation, from the seed words
Wallet recovery on another computer

What I didn't try:

Double spend (how do I do it in Multibit HD?)
Remove transaction from mempool or wtvr (how do I do it in Multibit HD?)


texts:
I've heard of at least 2 financial products which enable people to take positions on bitcoin in the stock market. Here's a Reuter's article on one. Can anyone explain what the purpose of these investment vehicles is? Why would someone want to pay a financial institution ~2%/year to hold their bitcoin for them? Not to mention the counterparty risk...

  "By listing the ETI on the Gibraltar Stock Exchange, which is an EU-regulated market, we are able to bring a high level of transparency and liquidity to investors", said Revoltura CEO Ransu Salovaara.

Transparency? How is an opaque financial product - which may or may not be backed by actual bitcoin - going to provide more transparency than trades on a public blockchain?

Is this simply a money grab to exploit the people who don't have a clue or am I missing something?


texts: I have wrongly transferred 0.00184426 BTC, request please help to return it back to my wallet

texts: I have wrongly transferred 0.00184426 BTC to address (TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9) request you to pls help me to return it back to my account.


texts: Could Bitcoins (or any other blockchain based cryptocurrency) feasibly ever be used for purchases that need to go through fast?

texts:
Today, one of the problems with cryptocurrencies like Bitcoin is that it takes quite some time for a transfer to go through and enough confirmations to take place. This really isn't a problem when it comes to inherently slow buying procedures, such as for example ordering something online and receiving it a couple of days later by mail. However, other types of purchases requires a much faster process (for example if you're buying a digital good and want it immediately or if you're buying a physical good and want to leave the store with it right away), and as it is now, cryptocurrencies don't seem suitable for these as it simply takes to long time to confirm the payment and defend against double-spending.

Is this a problem that is inherent with the Blockchain technology, or could purchases go through much, much faster (at least so that they can compete with credit card transfers) given enough resources or faster computers in the future?


texts:
For a research I am doing I would love to have a graph with the network of reachable Bitcoin nodes. Active reachable nodes can be extracted by using getaddr messages (e.g. bitnodes project). However direct inbound/outbounds connections cannot be discovered at least you have access to the node and you can run the RPC command getpeerinfo.

Is there any way to get a detailed graph of the network?


texts:
What are the contents of a redeem script hash in a p2sh transaction?

From what i read it's similar to the pubkey script but does it only contain the receiver's address?


texts: How do nodes communicate over Lightning network?

texts:
I read the following article and watched below video.

https://medium.com/@melik_87377/lightning-network-enables-unicast-transactions-in-bitcoin-lightning-is-bitcoins-tcp-ip-stack-8ec1d42c14f5

https://www.youtube.com/watch?v=Ug8NH67_EfE

On those media, they say that payment channels are based on just TCP/IP connection (unicast) not p2p.

In Lightning network's white paper, there is no explanation of what method is used to establish payment channel between two nodes.

What method is used for establishing payment channels ? traditional TCP/IP way or p2p ?


texts: Why explorers show difference balance for genesis block?

texts:
When I check balance for the address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - different sources show different results.

66.92700504 BTC

https://bitref.com/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
https://www.blockchain.com/btc/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa

16.91700504 BTC

https://insight.bitpay.com/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
https://blockstream.info/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa

and many others who don't sum two transactions:

for 50 BTC https://www.blockchain.com/btc/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b?show_adv=true

and 0.1 BTC https://www.blockchain.com/btc/tx/3387418aaddb4927209c5032f515aa442a6587d6e54677f08a03b8fa7789e688

why?


texts: watch-only addresses doesn't work properly in bitcoind v0.10.0

texts:
I imported a watch-only address to bitcoind by using below command:

bitcoin-cli importaddress <myaddress> "testacc" true

According to release notes it should support some rpc calls for this watch- only address:

  The following RPCs have optional support for watch-only: getbalance, listreceivedbyaddress, listreceivedbyaccount, listtransactions, listaccounts, listsinceblock, gettransaction.

Even it is not written in release notes, i can catch new transactions by calling listunspent. But the problem is when i try to call

bitcoin-cli listtransactions testacc

or

bitcoin-cli listreceivedbyaddress 0

the first call returns an empty array and the result of second call doesn't contains any information about this watch-only address. What may be the problem here?


texts: With the strongest hardware today, how long does it take to brute force or generate 10^18 bitcoin address as fast as possible?

texts: I see this kind of question before on this topics, but lots of them seems very old. Arcording to Moore's law, computer speed doubles every two year, so i wonder how fast have they archive these days. Can supercomputer capable of doing such a thing?


texts: How do BIP8 and BIP9 differ, how are they alike?

texts: With Taproot on everyone's lips, people have started discussing activation approaches. The debate is currently seems to favor BIP8. Previous soft forks used BIP9. How are the two related and what are the differences between the two?


texts:
I have sent a (>10000 byte) transaction to mtgox, blockinfo reports that the network fee is lower than recommended, so it will take quite a long while to get confirmed.

I was thinking I can send another transaction with more attractive fees - but that represents two difficulties:

I don't know why the client didn't calculate the correct fee
mtgox uses a single address per transaction, and so I won't get a new one until the current one completes.  If I send another transaction to the current address, when the slow one finally gets there, it will go to the wrong address.

I am not sure what is the best way forward.  I am using bitcoind v80500.

Is there a way I can get a transaction into mtgox without breaking the one I have currently waiting for confirmation, and if so, how can I get the fees to be right?


texts: What is the default http port that lcoin listens on? bcoin listens on port 18332 for http by default, however lcoin documentation links only point to bcoin doc links


texts: Could there be an exploit by creating millions of meaningless transactions?

texts:
Would it be possible to hamper the network's efforts in validating blocks by creating millions and millions of bogus transactions- simply sending back and forth say 0.1 BTC from address A --> B --> C --> A and so on endlessly? Obviously this would hard to do by hand but if there were an automated script it could be done theoretically quite easily..

Or would this strategy have absolutely no effect?


texts:
I bought and used bitcoins 5-6 years ago through a machine (paid cash) in a bank here in Australia, I had a wallet/dat.file on my Mac Desktop that I think has been deleted well at last I can't find it, I do remember my password for the wallet but am having trouble finding it, any ways to reinstall it ? The Mac still works fine and has never been wiped I just recently pulled it out of storage and i'm sure that there are coins still in my wallet.

Please Help!


texts: Did any customers lose money with the Mt Gox / Dwolla legal situation?

texts: This crucial piece of info has been frustratingly absent from the news accounts I've seen. Specifically from what I understand, an account was "frozen".  What does that mean for the people unlucky enough to have had their transaction present in the account at the time of "freezing"?


texts: Is it possible to make an output only spendable to a specific address?

texts:
Basically, the entire question fits into the title. Does the Bitcoin scripting language allow for a transaction output to only be spendable to a specific address? Is it possible to forbid all other spends? Is it possible to dictate that only that spend over a specified amount of money can happen such that the transaction fees cannot be chosen arbitrarily large?

If so, I suppose it's also possible to design an output script in such a way that it can be spent to a specific address (and only to this specific address) when a signature by a specific party is present, but to arbitrary addresses if that party's signature and also that of a specific other party is present. Should this for any reason not be possible, please let me know. This is what I'm mainly interested in.


texts:
Has anyone else gotten an electrumx server up and running lately?

I have just gotten to the point where I'm not seeing any errors during "# service electrumx status", but I'm also not seeing my server listed in my Electrum client.

Can you think of a good way to test whether the server is working?

I would especially hate it if it did appear but still didn't work!  I don't want anyone to lose money because of me.


texts:
I read the Schnorr and MuSig papers and stumbled over the problem that the use of deterministic nonces in multisignatures is not safe. The adversary would be able to extract the private key from the victim, if he initiates a second signing session with the victim on the same message, but changes his own public nonce.
This happens, because this changes also the partial signature of the victim. (s = r + c*x)
The challenge is constructed in this way : c=H(R||m)  (not key-prefixed version).
I'm wondering, would the exclusion of the public nonce from the H-sig challenge not result in a constant signature of all signers and therefore allow the use of deterministic nonces? The challenge could be c=H(m) or c=H(P||m).
Why is R (public nonce) in the first place included inside the hash function? I'm sure there is a good reason that I could not find.
ECDSA doesn't have that.
Thanks.


texts: What's the safest way to buy bitcoins in the UK?

texts:
I have come across multiple websites offering bitcoins for UK bank transfer. What site have people had the best experience with?

I've come across a few so

www.quickbitcoin.co.uk

www.bitbargain.co.uk

www.blockchain.info

Ideas?


texts:
I am currently trying to set up an application using the BTCJam api. I think the api could be very useful, but I have been unable to get it to work fully, and since support isn't responding, I thought I would post here. I am using https basic authentication (not oauth).

First off, while I am able to make the request for current open listings (the "listings" method), none of the other requests work. When I try to get data on my own profile (the "me" method) or on my open listings (the "my_open_listings" method), I get an internal server error (500). Is anyone else having this problem? Are those methods simply not available right now, or is there a difference in how I should be making the "listings" call, which is working for me, vs. the other GET requests listen on the api FAQ page? From the documentation, it seems that all GET requests are authenticated the same way, with all settings and parameters (none) the same, but just a different method. So why is one of the methods working while the other 4 throw 500 errors?

And second, though there is plenty of information about the user behind any given listing, there is one giant absence: the user id/alias. Am I missing something? Is there some other way to find out the alias behind a given listing? Or did they intentionally leave that information out?

Any help on either of these matters would be greatly appreciated. If support gets back to me, I will post their answers here.

Thanks,
Paul


texts: Are there any projections about when transaction fees per block will equal block reward?

texts:
A spreadsheet with a base projection and the following editable variables (for a given block height) would be great:

BTC transaction volume per block
Number of transaction per block
Average transaction fee

Please assume that most BTC transactions will remain on the main chain (and not on a lightning network or something similar).


texts: How does difficulty get rebalanced in Digitalcoin's Multialgorithm mining?

texts:
It appears that Digitalcoin has switched to mining with the three algorithms Scrypt, SHA256, and X11. I assume this means that the network will accept a block mined with either of the three algorithms, as long as fulfills an algorithm specific difficulty.

However, how does the difficulty get balanced among the three different mining algorithms? For example, if blocks are found too quickly, but mainly with one mining algorithm, which difficulties get adjusted and how?


texts: Recovering the public key from a transaction

texts: Is it possible to get the public key of a user, if we have a transaction from that User in my wallet ?


texts:
What are reliable and good sources for understanding the procedure of transaction inclusion into a block?

Problem outline:
Given, there are multiple peers - let's say 5 - in a test network, where 3 nodes exchange transactions - let's say 100 - and 2 nodes include all transactions into blocks.
Which node decides how to include which transaction into which block?


texts:
As the number of transactions in the bitcoin network grows, the number of addresses with bitcoin will also grow. Is it possible for someone to “scavenge” for bitcoin by generating random key pairs and checking if the derived bitcoin address has any coins ? Is this likely to be profitable at any time in the future?
Even if the profitability of this attack is low, it could impact confidence in the bitcoin network, if a few bitcoin were stolen in this manner.


texts:
let's suppose I send this request to the blockchain:

"requestType=transferAsset&secretPhrase=blablabla&chain=ignis&asset=blablabla&recipient=ARDOR-blablablablabla&quantityQNT=1000&feeNQT=1000000&deadline=60"

how does it work with the bundlers? I mean I set there a feeNQT that is 1000000 but not sure if that has to match an existing bundler rate or if that lets me bundle my transaction.
Thanks


texts: Is there any later version of Bitcoin address generation, than 1?

texts:
I'm looking for the technical details regarding the format and generation of Bitcoin addresses. I've found this article, “Technical background of version 1 Bitcoin addresses”, on the Bitcoin wiki, but as the title says, it's version 1. It seems to be not talking about the version prefix used in generation of Bitcoin addresses.

Is there any later version of it, the method of the generation, such as version 2 Bitcoin addresses?


texts: Is there such a service as an unlimited Bitcoin wallet with an API?

texts:
Well, I did tons of research and currently I'm using bitcoinlib for python to have a wallet which should be able to hold over one million addresses and occassionally broadcast transactions.

It has all the features you'd expect, but I'm concerned about performance when I use more than my current 10 addresses.

The thing is that I'm trying to make an online plattform which relies on the Bitcoin infrastructure and there could be millions of users. Also, I am concerned of how secure bitcoinlib actually is and I'm missing a neat Graphical User Interface.

Now, there are wallet services like Coinbase which also offer an API but I don't see any explanation on how many addresses they could hold or how many API requests I'm allowed to make. I've found many of those seemingly free services, so Coinbase just serves as an example.

Hence my question, is there any such thing as a free bitcoin wallet service (we're a free platform, so no budget there) which could scan let's say 100'000 addresses and notify our platform of incoming transactions within a few seconds and broadcast about 1000 transactions per minute ?


texts:
i want to use a hierarchical deterministic (bip32) wallet but i'm a bit put off by a lot of the libraries which use different ecdsa libraries to the core bitcoind client. for example pycoin uses a natively implemented elliptic curve library, bip32utils uses python's ecdsa library (i think).

while i'm sure these implementations work extremely well, i'm worried that there may be some rare edge cases where they diverge from openssl's ecdsa implementation.

are there plans to implement a deterministic wallet in bitcoind?
are there any bip32 wallets which call already-existing-functions in bitcoind wherever possible?
if not then what level of risk is involved in using bip32 wallets which rely on non-openssl ecdsa libraries?

p.s. i get that openssl's implementation of ecdsa is also not perfect, but it seems to me that consistency (even to the point of reproducing a bug) is crucial with bitcoin.


texts: Consider using Bitcoin but just heard the IRS is sending tax notices to 10k plus users

texts:
article: https://www.cnn.com/2019/07/26/tech/irs-cryptocurrency-taxes/index.html

My background: Good understanding of RSA cryptography, some elliptic curve, Number Theory and I am a (real)programmer

Lets cut to the chase: How is the IRS doing this? Word on the street is ML, which sounds similar to IBM Watson's fraud detection capabilities. How come the IRS has been able to unmask people, while the NSA is helpless against RSA?

We all know from a fact that RSA is unbroken from data exposed by Snowden. They are forced to use workarounds.

Don't make me post in math.stackexchange....


texts: How do i rectify a wrong tx and an unconfirmed transaction?

texts:
unconfirmed transaction - be3744d2be312e2e51ed6ac8f8ec5ea5695978ac5f729c52985191b1739cdbca

https://blockchain.info/tx/be3744d2be312e2e51ed6ac8f8ec5ea5695978ac5f729c52985191b1739cdbca

Problem  - unconfirmed transaction

cause    - probably because no fees were attached

solution - ???

My Satoshi client (BitcoinQt) is in-sync. Its been over 5 hrs now. Any solution will be appreciated. Unfortunately, I did not back up before i made this transaction.

UPDATE - I uploaded the private key onto blockchain to see a shocking new low balance.

After checking I realized that there was a problem with another tx as well. I sent out 50BTC but 89.68 was deducted

Status: 53 confirmations
Date: 4/3/13 14:51
To: 1JFxQV9eGesx6hn5jLSgdXKPquQLnNF9Cx
Debit: -50.00 BTC
Net amount: -50.00 BTC
Transaction ID: b17bbdd1b9dedbcff9ece48dd0feee7b8f210061f711b8e1d7d8c39c499f4660

https://blockchain.info/tx/b17bbdd1b9dedbcff9ece48dd0feee7b8f210061f711b8e1d7d8c39c499f4660

How do I get back the remainder? The other unconfirmed tx is still unconfirmed and has been over 10 hrs now.

Thanks in advance

EDIT - Problem solved guys, thanks.


texts: X11 | multiplier & maxDiff number to multiple the shares by in order to display hashrate

texts:
What is the correct formula for X11 to calculate hashrate?

  right maxDiff number to multiple the shares by in order to display
  hashrate

We need hashrate multiplier and the maxdiff

Example:

scrypt: 2^16

sha256d: 2^32

maxDiff with:

scrypt: 0x0000ffff00000000000000000000000000000000000000000000000000000000,
sha256d: 0x00000000ffff0000000000000000000000000000000000000000000000000000


texts: Why are all redeem scripts standard, but only a few pubkey scripts?

texts:
As I understand it, only transactions with pubkey scripts conforming to a certain pattern are considered "standard" and are relayed, however a script is also considered standard regardless of its redeem script.

If the limitation on standard transactions is to prevent abuse, wouldn't using it as a redeem script be equally bad?


texts:
A reddit post claims that Huobi is faking trade volume by "self-matching" trades.

What does it mean to say that Huobi "self-match" trades?


texts: With Ripple, how can I move my wallet to/from Payward?

texts:
When I created my ripple wallet, I selected local computer.  Now I want to be able to access my wallet from any computer.  How can I move my ripple wallet to the server?

Or suppose I want to remove my wallet from the Ripple server (why would I want to do this?), what is the correct approach?


texts: What is the point of including the scriptCode of the input in the transaction digest of segwit?

texts:
BIP143 specifies "a new transaction digest algorithm".

  scriptCode of the input (serialized as scripts inside CTxOuts)

What problems could arise if the scriptCode of the input were not included in the digest?


texts:
On BTC-E, you can see the recent trade history for the different currency pairs. For example right now you see these recent trades:

14.05.13 01:27  Sell    112.75 USD  4.77859 BTC     538.7860225 USD
14.05.13 01:27  Sell    112.76 USD  0.359638 BTC    40.55278088 USD
14.05.13 01:27  Sell    112.76 USD  0.122198 BTC    13.77904648 USD
14.05.13 01:27  Sell    112.76 USD  0.022195 BTC    2.5027082 USD
14.05.13 01:27  Sell    112.76 USD  0.0100155 BTC   1.12934778 USD
14.05.13 01:27  Sell    112.76 USD  1.20736 BTC     136.1419136 USD
14.05.13 01:27  Sell    112.76 USD  0.360915 BTC    40.6967754 USD
14.05.13 01:26  Buy     112.9 USD   1 BTC           112.9 USD

Shouldn't every trade of type "sell" match a trade of type "buy"? Or at least the amount of all recent sell-trades should match more or less the amount of all recent buy-trades? If you look at the history of the last 15 minutes right now, the amount of BTC in sell-trades is much higher then the amount of buy-trades. How can this be?


texts:
How do I come to know that I have received the BTC in my wallet / the transaction is successful via the transaction ID. ?
In Blockchain.info I used the transaction ID to search the transaction and it shows my receiving address in it. Which info graphic would indicate that the transaction is successful and the BTC is transferred to my wallet ?


texts: How exchanges generate transactions for all cryptocurrencies and send it to their network nodes?

texts:
This is an important question for me, I know some Bitcoin wallets like blockchain.info are a Full Node, but exchanges which support so many coins, how do they create transactions per cryptocurrency? do they have a full node client for per cryptocurrency?

Just Bitcoin needs 170 GB space disk!

Are exchanges using third-party servers and apis?


texts: Should I wait to sync the Armory so that I can receive Bitcoins?

texts: I use Armory. Today I bought some bitcoins but my wallet in that App shows no currency. Instead it said in order to get online you have to install Bitcoin Core. I did that and now it shows "Synchronizing with Network" which is supposed to take a day to download! So, is there any possibility to have my purchased Bitcoin without downloading the blocks?


texts: Difference between a bitcoin wallet and the blockchain

texts: As the title said, what is the difference between the bitcoin wallet and the bitcoin core, do i have to install both of them to work? Can I just have a bitcoin wallet?


texts: Callback not working in program using the blockchain api

texts:
I am trying to create automated receive Bitcoin payments via Blockchain API.
I have my API key, xpub, everything. I'm using PHP.

Here is the part of my code for generating wallet address:

$scrt = my_super_secret_code_60_chars_long;
$my_callback_url = "http://mysite.com/lib/payment.php?secret={$scrt}";
$my_xpub = "my_xpub_key";
$my_api_key = "my_secret_api_key";

$root_url = "https://api.blockchain.info/v2/receive";
$parameters = "xpub=" .$my_xpub. "&callback=" .urlencode($my_callback_url). "&key=" .$my_api_key;

$qry= "SELECT ID,RECEIVE_ADDR FROM MY_TABLE WHERE WALLET = '{$_GET['wallet']}' ";
$result = mysqli_query($conn,$qry);
$row = mysqli_fetch_row($result);
$reci = $row[1];
$uid = $row[0];
if ($reci=='none') {
//if the user does not have generated receive address, triggering this
$response = file_get_contents($root_url . '?' . $parameters);
$object = json_decode($response);

echo 'Send Payment To : ' . $object->address;

$qry= "UPDATE MY_TABLE SET RECEIVE_ADDR='". $object->address ."' WHERE WALLET = '{$_GET['wallet']}' ";
mysqli_query($conn,$qry);
 }

This code works, but I have a problem with the callback to payment.php.
It's not triggering when the payment is received, however manually, I can simulate the received payment by calling PHP with correct parameters.

Here is the relevant part of payment.php:

<?php
$scrtt = $_GET['secret']; //password is passed back to the callback URL
$transaction_hash = $_GET['transaction_hash'];
$value_in_satoshi = $_GET['value'];
$value_in_btc = $value_in_satoshi / 100000000;

$gt='CALLBACK CALLED - TXID:'.$transaction_hash.' VALUE '.$value_in_satoshi.' SCRT:'.$scrtt.' CONFIRMS:'.$_GET['confirmations'];
$qry= "INSERT INTO DEBUG (TE) VALUES ('{$gt}')";
mysqli_query($conn,$qry);
//code above is for debugging - but not triggered however payment is received
if ($scrtt== my_super_secret_code) {
if ($_GET['confirmations'] >= 2) {
$confirms=$_GET['confirmations'];
$qry= "SELECT ID FROM MY_TABLE WHERE RECEIVE_ADDR = '{$_GET['address']}'";

$result = mysqli_query($conn,$qry);
$row = mysqli_fetch_row($result);
$uid = $row[0];

$qry= "SELECT TXHASH FROM PAYMENTS WHERE TXHASH = '{$_GET['transaction_hash']}' ";

$result = mysqli_query($conn,$qry);
$row = mysqli_fetch_row($result);
$tx = $row[0];

if ($tx <> $transaction_hash) {

    $qry="INSERT INTO PAYMENTS (TXHASH,USER_ID,SATS,CONFIRMS) VALUES ('{$transaction_hash}',{$uid},{$value_in_satoshi},{$confirms})";
mysqli_query($conn,$qry);

//new tx - insert
}

//Insert into confirmed payments

}
}
echo '*ok*';
?>

My problem is, the callback is never called— can anyone check my code and tell me where I the problem is?

thanks

UPDATE:

I investigated a little and here is my result (however it's still not working)

I found the url to check a callback log directly on the blockchain:
https://api.blockchain.info/v2/receive/callback_log?callback=http-urlencoded_my_website/callback.php?parameters&key=my-api-key

The log shows me something like that:

callback":"http://mysite.com/callback.php?param=myparam","called_at":"2017-03-10T13:05:39Z","response_code":403,"raw_response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n\n<title>403 Forbidden</title>\n\n
Forbidden
\n
You don't have permission to access /callback.php\non this server.
\n
\n
Additionally, a 403 Forbidden\nerror was encountered while trying to use an ErrorDocument to handle the request.
\n\n"}]

Can someone help me with that?
I am an owner of this domain and I can access this page with all of my browsers.


texts: ./learncoind not connecting to DigitalOcean Droplet

texts:
I'm on video 5 of the Learncoin youtube series and I am getting an error when I try to run ./learncoind

2016-04-07 03:40:40 connect() failed after select(): Connection refused
2016-04-07 03:40:40 trying connection MY-DROPLET-IP:9333

I have my SSH key setup for the droplet and the keys live in my ~/.ssh/id_rsa folder. I can access my droplet from the CLI using ssh root@MY-DROPLET-IP and then entering my SSH key password and my root password.

I don't really understand why ./learncoind isn't connecting.


texts: If I restore my electrum wallet from seed will I lose my pending transaction

texts:
So I have seen everywhere that boosting fees can be a scam and I do not have enough techy knowledge to do so anyhow or for that matter to directly delete my transaction using pythonwallet.

Whilst sending my transaction I noticed I could set the amount of fees on it and naively decided to set it to the minimum grinning at my own cunning and simultaneously frowning at why it would let me do that. 2 hours later when my transaction was unconfirmed I started to think something unusual might have happened and since (24hrs later) I have spent most of my time learning about bitcoin transactions, something I might have done beforehand...

Anyhow, now I am looking to stop my wallet rebroadcasting the transaction in the simplest way possible so that I can recover my money and send it again with a higher fee and having enabled the replace by fee option. Can someone quickly reassure me that if I restore my electrum wallet by seed it will stop the transaction and that my funds will come back to me and maybe give me some info on how long that will take. Thank you.


texts: Why does Bitstamp allow trading of currencies that it won't return a balance for?

texts:
According to https://www.bitstamp.net/api/ section "Buy Limit Order" Bitstamp allows users to buy LTC coins using the currency pair "ltcusd". But, looking at the "Account Balance" section, there is no way to get a user's LTC balance.

What happens when a user buys "ltcusd"? Where does the LTC balance go?


texts: Remove address sub from blockchain websocket API

texts:
According to the docs, Blockchain.info provides a websocket API that streams a few things:

All unconfirmed transactions using "op: unconfirmed_sub"
New blocks & the data they contain using "op: blocks_sub"
All new tx that are detected at a subscribed address using "op: addr_sub", "addr": the address you want notifications.

I'm mostly interested in #3. If I send the "op: addr_sub" command, my websocket client will show all new tx from the moment of that subscription until the socket connection is closed. That's all well and good, but......

Is there a way to UNSUBSCRIBE from an address in the addr_sub list?
There appears to be a socket command "op: unconfirmed_unsub" which will halt the subscription for all unconfirmed tx, but no analog for individual address.

Does anyone know the answer for this? How to unsubscribe from an individually watched address?  If my purposes have been satisfied for watching an address and I wish to free up those resources how do I go about doing that? Surely, I don't have to close the entire connection and re-subscribe to everything BUT that address?

I'd imagine there has to be some way to achieve this without requiring the subscription to be immortal.... The docs from their site https://blockchain.info/api/api_websocket are very sparse


texts: In the case that I have free electricity, is mining worth it?

texts:
As the title indicates, I have three options that are gonna make me free of charge in terms are electricity, which I describe below:

I have free access to electricity. I can have as much as I want power, to turn on even 10 computers simultaneously.
I do have free access to AWS / Azure servers with a good condition of ram and CPU.
I have huge clients on my website, so I can run some JavaScript's that are mining in their computers, or even implement the code inside a game.

In many places, I have read that mining using a PC doesn't worth the electricity. What about my case? Is it worth to do it? Do you recommend that I buy physical device for mining, or I can use a normal computer?

I have to tell that my Internet is 4G network for free electricity and not a lot of bandwidth.


texts: Why miners need to broadcast blocks that contains full transactions in Bitcoin?

texts:
Does anyone know why Bitcoin requires miners to broadcast blocks that contains full transactions?

When a user want to make a payment on Bitcion, he/she needs to broadcast a signed transaction, and miners will gather all transactions in a transaction pool. Later, when a miner successfully mined a 1MB block, he/she will broadcast this block including thousands of transactions. My question is that why cannot the miner only include transaction hashes in the block so that more transactions can be included?


texts: Would it be a good idea to have several different *coin to protect oneself from fluctuations?

texts:
I'm interested in *coin, but I'm afraid of sinking money into something out of idle curiosity and then losing that money to value fluctuations. Would it be a good idea to have several different *coin (lite, doge, idk what else there is) so that the fluctuations balance each other?

Have different *coin in the past gained and lost value in 'lockstep', or totally independent or inversely?

I'm aware that I would also loose the chance to gain money from course fluctuations, but I don't that's something to loose sleep over.


texts: Is Butterfly Labs reputable / Should I preorder the SC Jalepeno?

texts:
I'm somewhat new to the mining scene but I'm a bit familiar with everything. I see that GPU mining will become much less cost effective over the next year or so, especially around December when the block reward size drops to 25 BTC.

As an entry level miner, I don't have a decent rig to just use a pool with or anything. I'm stuck with a quad core AMD mobile CPU in an HP laptop with the worst ATI card known to mankind, giving me about 7.5 Mh/s using rpcminer-4way. Based on what I've seen, the claims that Butterfly Labs is making are pretty substantial and if they're true, they could greatly change the playing field. At a price as low as $150 for 3 Gh/s, I would be willing to invest, since I don't have the money right now to build a GPU mining machine.

I have seen many people preorder the SC Jalepeno model and I'd just like some additional info and background on the company and their products before shelling out $150-$300. And are there any comparable low-cost FPGA or ASIC USB devices with a decent Mh/s/$?


texts: Can I use a Gridseed ASIC miner with a Raspberry Pi 3 B?

texts: Could I use the Gridseed ASIC miner with a Raspberry Pi B? If so, how?


texts: My miner doesnt show up on network but running?

texts: I have an S3+ and yesterday it stopped showing up on my IP scan and connecting to my pool. It still runs the fan (very low speed though) and shows the lights for a network connection, so does my modem. But I can't access its setup or see it mining in my pool. I have tried all the usual troubleshoots, 3 different PSU's, reset, new internet connection but none of them helped, any idea why this could be happening, help is appreciated


texts: I heard a message was encoded into the blockchain, how can I read it?

texts: I have been running a few full Bitcoin nodes for a long while now and I've decided to start learning how to interact with a node to get different information. Recently, Elon Musk's two messages were added to the Bitcoin blockchain. I wondered if as a starting pointI could directly interact with my BTC node and extract information like reading these two messages?


texts: Why am I getting this make error w/ 0.4.0rc1 on Ubuntu

texts:
Building 0.4.0rc1 in Ububtu via make -f makefile.unix returns the following errors/warnings:

ui.cpp: In member function 'virtual void CMainFrame::OnIconize(wxIconizeEvent&)':
ui.cpp:488:25 warning: 'bool wxIconizeEvent::Iconized() const' is deprecated (declared at /usr/local/include/wx-2.9/wx/event.h:2150)
ui.cpp:456:43 warning: 'bool wxIconizeEvent::Iconized() const' is deprecated (declared at /usr/local/include/wx-2.9/wx/event.h:2150)
ui.cpp: in function 'void SetStartOnSytstemStartup(bool)':
ui.cpp:1808:39: error: 'class boost::filesystem3::path' has no member named 'native_file_string'
make: *** [obj/ui.o] Error 1

Does anyone know how I could fix this? I'm guessing it's an issue with my libraries...


texts: Legal question regarding rippling balances between Ripple gateways

texts:
Let's say a ripple user were to extend trust to both Bitstamp and Snapswap to owe him 100 USD. He offers to trade USD-Bitstamp-IOU for USD-Snapswap-IOU at an exchange rate of 1:1.

Would he have to register this activity with a USGov institution? Would taxes on this transactions be due?

What if he did the same with an exchange rate of 1:1.01 and vice versa, i.e. taking an exchange commission of 1%?


texts: What was the goal of creating the feature of immature coins?

texts: I just ran into the idea of immature coins. Can someone explain to me the idea behind immature  coins and what was the purpose of it?


texts: My Bitcoin Core wallet does not receive BTC

texts:
My Bitcoin Core wallet did not receive BTCs; it is already syncronized.
The transaction was submitted from Bitstamp on the 18th of July, as withdrawal.
In Bitcoin Core I selected the receive button, then I copied the address in Bitstamp withdrawal, then I submitted the transaction.
In Bitstamp everything appears to be ok, the amount has been transferred.
Ok but transferred where? In Bitcoin Core nothing arrived ...
Can anyone help?
Thank you


texts: Is it true that sending from an address exposes the public key of a bitcoin address?

texts:
I just recently learned that your public key + private key is hashed together to form your bitcoin address. Is this true?

Can someone please confirm if the following is true:

If a bitcoin address never sent funds out, you would need to guess the public + private key of the bitcoin address.
If a bitcoin address had an outgoing transaction, the public key is now out in the open and you would only need to guess the private key.
Single address Paper wallets that had an out going transaction has a risk of its funds being stolen since the public key is now in the open.
Is there a site that lists all the bitcoin addresses with their public key exposed that also still has large sums of bitcoin in it?


texts: How are txns sorted correctly in Merkle trees between nodes and validated via Proof of Work

texts:
I am interested in exactly what happens to transactions in the pending block (block that is being mined at the time). From what I understand, transactions are the stored as a Merkle tree hash inside the block, along with the parent hash, timestamp and nonce. During mining, the miner is hashing the block data with a different nonces' trying to achieve the target hash. I assume what they are hashing is all the block data including the merkle root. But the merkle root must be different to each miner/node due to transaction order and the generation transaction, so how do other nodes come to consensus if their transactions are different. There is a hole in my understanding.
Furthermore, when transactions are broadcasted across the network, nodes will receive them at different times due to network latency etc. and miners can rearrange the order of transactions due to fee incentives, but this changes the merkle root. I understand that miners prove they have done the work to validate the transactions, but what steps do other nodes take to go 'looks legit'. I imagine they would use the nonce provided by the block creator to hash their own copy of the block and see if it in within the target.
Also, If PoW is done on the block data with the merkle root, how can new transactions be added to the block? Wouldnt the tree have to be hashed again and the PoW would have to start from the beginning. Does a miner wait for the block size limit to be reached before performing PoW? I don't understand how PoW can be done on a dynamic flow of transactions, and how every node can have the exact same set of everything to do PoW on.
Can someone please explain what I am missing? How are transactions sorted by different nodes? How do transactions enter the merkle tree? How do other nodes validate the new block?
Thank you heaps.


texts: Can I recover my own wallet from the public key?

texts: I made a wallet years back. It has a good amount of Bitcoin then I wiped and sold my laptop. Now somehow I found my wallet address public key. Is it possible to get the private key somehow?


texts: Full Node Not Taking Incoming Connections

texts:
I set up an RPi3 with Bitcoin full node 13.2. It is running Raspbian the latest version and is up to date.

My router has a static IP on the public internet. My RPi3 is behind NAT.

I configured my router to port forward 8333 to my RPi3.

The RPi3 is pretty much stock, so I don't think there is a firewall running. If there is I don't know about it or how to configure it.

The bitnodes site says my RPi3 is not accepting incoming connections.

Any ideas?


texts: When downloading the blockchain my application is become unusable, is there an issue with my code or am I using the BitcoinJ library incorrectly?

texts:
I am building a Bitcoin wallet with the BitcoinJ Library, after looking at the example of fetching a transaction that they have shown on their github it shows that you need to download the blockchain however.

When attempting to download the blockchain to view the balance of my wallet, it begins to lock up and become unusable. I have even tried downloading the blockchain in an async task like so, but still the app becomes completely unusable and the UI doesn't even load. What am I missing? I thought that the download wouldn't be that large as I am attempting to create an SPV wallet which from what I understand doesn't download the entire blockchain, or is this something I need to configure seperately?

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
         DownloadBlockchain().execute()
    }

    inner class DownloadBlockchain : AsyncTask<Void, Int, String>() {
        override fun doInBackground(vararg p0: Void?): String {
            Globals.peerGroup?.startAsync()
            Globals.peerGroup?.downloadBlockChain()
            return "complete"
        }

        override fun onPostExecute(result: String?) {
            super.onPostExecute(result)
            Globals.peerGroup?.stopAsync()
            Globals.wallet?.saveToFile(Globals.walletFile)
        }
     }
 }


texts: What is needed to make a bitcoin exchange?

texts:
What do I need to setup a bitcoin exchange website like:

BTC China
Mt Gox
Bitstamp

I have my own web development team and we can code pretty much anything so that is not a problem.

I'm at a loss when it comes to know-how of this bitcoin business.
How do these exchanges even work? What would I as a provider need? Money (bitcoins)?


texts: Why does `connect` perform worse than `addnode` for synchronization?

texts:
I've manually set many nodes in my bitcoin.conf file via the connect= property.

I can see that, when run, bitcoind connects to most of these nodes successfully.

However, I never see any blocks being downloaded.  I can only get blocks downloading if I either change the connect= properties to addnode=, or remove the connect= properties altogether.

Does anyone know why this is the case?


texts: Is there a way to retrieve lost Litecoin

texts:
one year ago, I transferred few litecoins to btc-e, which after few days were shut down, from my wallet.

At that time, my wallet was not fully synced with the network.

In my wallet I can still see that the transaction is unconfirmed (0 of 6 confirmations).

Is there any way to retrieve the litecoins?


texts: Basic transaction validation rules, Node accept to pool policy

texts:
I am trying to collect all infromation about adding and verification transaction to Blockchain.

Exist 2 types : add transaction to RawMemPool and add Transations included in block.

Could any experts in this question verify that collected information is actual and correct?  Thank you


texts: How can I create uncompressed public key in C++?

texts:
I need to derive public key from my private key in uncompressed form. I know how to create compressed one with libbitcoin, but I can't find appropriate method for uncompressed form there.

Are there any other libraries in C++ which can do that?


texts: Is there any specific percentage of transaction fee that is suppose to be paid by all the participants as per value of their BTC transaction?


texts: Minimum number of transcation in blocks one must include?

texts:
Anybody as the miner can just include 1 transaction and mine 12.5 award transaction and nonce and although it may not speed up my process as (number of transaction +Award+ Nonce)=some Constant to be inside the sha256() === < target

so it does not save any calculation ??
but valid or invalid depends upon minimum one ...or not


texts: how to transfer coin using bitcoin rest API

texts:
I've been googling for quite some time now, but I was unable to locate any complete example, with the request & the POST/GET parameters to the Bitcoin JSON-RPC.

How to use the JSON-RPC ? How to use it to make a transaction ?


texts: What is the optimal Bitcoin Core 0.17 settings in bitcoin.conf settings for running a full node with a very beefy system?

texts:
Is there an optimal bitcoin.conf setting file I should use when running a bitcoin core full node? I have a very beefy system with 16 core processor, 32gb ram, and nvme hard drive. I wan't to be able to dedicated as much resources as needed for the full node. I'm also running other nodes too, but would like to know what are the optimal settings in bitcoin.conf file.

I just learned about dbcache and this speeds up --reindex and would've been great if I had this setting in my bitcoin.conf file. Now I'm wondering what are some other optimal settings I should be putting in my bitcoin.conf file?


texts: How can I convert my Bitcoin to Western Union urgently?

texts:
I tried posting in some forums but got no replies.

Is there any reputable exchanger out there that can send me Western Union transaction for my Bitcoins? It's not a big amount and I don't mind paying fees to both exchanger and the Western Union.


texts: Does the .bitcoin directory shrink in bitcoin-qt 0.7.2 and later?

texts: The bitcointalk.org thread "Ultraprune merged in mainline" implies that a more efficient way of storing block information was introduced. Will this make the .bitcoin directory smaller after an upgrade to 0.7.2?


texts: Can someone explain how an HTLC is redeemed?

texts:
I'm looking at Bolt 3 in the Lightning rfc. My question is about how a HTLC is redeemed. Example HTLC script for reference:

# To remote node with revocation key
OP_DUP OP_HASH160 <RIPEMD160(SHA256(revocationpubkey))> OP_EQUAL
OP_IF
    OP_CHECKSIG
OP_ELSE
    <remote_htlcpubkey> OP_SWAP OP_SIZE 32 OP_EQUAL
    OP_NOTIF
        # To local node via HTLC-timeout transaction (timelocked).
        OP_DROP 2 OP_SWAP <local_htlcpubkey> 2 OP_CHECKMULTISIG
    OP_ELSE
        # To remote node with preimage.
        OP_HASH160 <RIPEMD160(payment_hash)> OP_EQUALVERIFY
        OP_CHECKSIG
    OP_ENDIF
OP_ENDIF

My understanding is that it can be redeemed in two ways. The first way can be done if the revocation secret is known.

<revocation_sig> <revocationpubkey>

revocationpubkey will produce the correct hash, OP_EQUAL will return "1", the script goes into OP_IF, and the revocation_sig will be valid for OP_CHECKSIG.

The second way involves

<remotehtlcsig> <payment_preimage>

Can someone explain how this satisfies the script? For example, what OP_SWAP does or when it would go through OP_NOTIF/OP_ELSE?


texts: How are a private key and a seed phrase related?

texts: Is it a 1-to-1 relationship? If so, does that mean they are interchangeable? Can I then store just one of them and derive the other when needed?


texts: How to get block headers from block hash using P2P API?

texts:
I have been experimenting with getheaders and one thing I can't seem to figure out is how to get a header for a specific hash, because getheaders doesn't provide this feature.

According to the documentation (and from my own experiments), it looks like the start position provided to the API is NOT included in the header results.

  Return a headers packet containing the headers of blocks starting right after the last known hash in the block locator object, up to hash_stop or 2000 blocks

I get that this is for the purpose of synchronizing, so the semantic is "I know about this block hash, so send me all the rest I haven't seen yet, which doesn't include this hash".

But with this there's no way to figure out a block header from a block hash, I always need the previous block's hash to get the current block header. Is there no P2P API (or any trick) that lets me take a block hash and get block headers back?


texts: Setup a full node on server for frond end Wallet

texts:
I am a new in bitcoin technologies. I want to setup a full node on cloud server. Also I need to use RPC of this server for front end app.That is creating bitcoin wallet and its further operations(such as send and receive). My question is

Is suitable to use own full node cloud server for front end wallet app(Like PHP web app) ...?

Thanks in advance.


texts: Really I am not understanding the Basic things of BitCoin? -- Layman question

texts:
Example:

Step 1: Day 1 of bitcoin software got deployed in System A, A created Genesis Block and got awarded 50Coins.  - I understand

Step 2: System B got installed bitcoin but no coins.

Question:

1) So only System A has 50 Coins, then how the transaction going to happen.

2) How come the Coins converted to the value of real money. I mean it is like someone writing "GOLD" on paper and hand it over to you. But it is not real gold, so no one going do any transaction for this paper.

Basically, I want to know about initial bitcoin flow and how it got multiplied. How people converting to real money.


texts:
So is there any js file that you can use to connect a json-rpc server on a client side website?

I seem to find one for PHP but not JavaScript or there isn't one?


texts: Blockchain.info block explorer error: Transaction rejected by our node. Reason: None Standard Script Output OP_RETURN 4f410100010100

texts:
Searching for a specific colored coin transaction on the blockchain.info block explorer yields this error:

Transaction rejected by our node. Reason: None Standard Script Output OP_RETURN 4f410100010100

Any ideas? I thought colored tx ideas should be searchable, especially with a standard tx fee attached to it.


texts:
This question resulted out of a shower thought. In my naive understanding, both, training neural networks and mining bitcoins require a lot of math crunching that is best offset to ASICS and GPUs. AlphaGo is powered by a lot of horse power, but more importantly by a lot of custom ASICS.

According to Wikipedia, one Tensor processing unit currently clocks in at 180 TFLOPS. The latest AlphaGo version used 1920 CPUs and 280 GPUs to run it's neural network. (The hardware it was trained one is likely a number of times larger than that)

Assuming you would task that cluster to mine bitcoins instead of powering a neural net. At which rate could it mine bitcoins and would it be profitable?


texts: Mining Pool code changes for supporting Bitcoin Cash

texts: Since its a bit difficult to to find developer related information for Bitcoin Cash I'm asking here. What changes would be required from a mining-pool developer's point of view to also support Bitcoin-Cash?


texts: Does anyone know if there are limits to the amount of BTC that can be moved in and out of a Copay Multi sig wallet please either on a daily basis or in total or both ?


texts: Bitcoin Core not syncing completely at start up

texts: Ever since I open Core on Feb. 4th it hasn't continued to sync any more.  It worked when originally downloaded but now the progress has stopped, leaving me at 98.43% and claimed the "Estimated time left until synced" Unknown.  I've tried to delete and redownload multiple times.  It seems impossible to fully delete the existing GBs on my MacHD.  Any suggestions would be greatly appreciated!


texts: What's the best strategy to send btc from one wallet to a address list with transaction id for each payment?

texts:
I'm triyng send a mass btc payment, but using "sendToAddress" i'm limited send a new transaction only when the last was confirmed, if i try send when the last was pending of confirmation i'll not have balance on my wallet because the my founds was send to change addresses and is pending.
If i use sendMany i'll only had transaction to all payments and i need an transaction to each address and get controll for the fees for each.
If i wait for the last confirm to send a new my batch payment will spend a lot of time and  will stuck my payment list, i'll limitaded for some payments for day.
What's is the best approuch to this problem? Can someone help me? I tried found solution in older topics but i don't had success with this, maybe i cant express myself correctely or do not know the correct terms.


texts: What is the program in Python that print information about the current block?

texts: What is the program in Python that print information about the current block the world try to mine (I mean Version, Previous Block, Merkle Root, Time, Bits) plus how many zeros we are looking for for the output of the hash!


texts:
So, I was looking into how P2SH transactions are working and by looking at different blog post and in particular to this answer, I have the following question.
So, let's take the same transaction:

What I am not getting is how the operation are done.

Is the scriptSig executed first?
What is checked to be equal to 0b49fe...df1? How is it calculated ?


texts: Strange values in Bitcon Electrum wallet file (change and receiving)

texts:
I am performing a forensics analysis of a Bitcoin Electrum wallet. When I open the file manually, there are values like this (changed it a bit):

"accounts": {
    "0": {
        "change": [
            "039de61d6f91d6e419641ef61d5df1f65d1fddddfd6fd1e84fe6fd1f1d6dfb5958",
            "02f2ffe6f8d6df5df6e84f684fdf5416d1f6e8ef4964ffd3f3dfdfefe46f1d1f56",
            "037bf6d541df651df3513df1d3f1d35fe6f4e6f4d5fd65fe65f1d3f1d3f1dea996",
            "0266e5f1d651df6d1f6df1dfff6df51d65f1d65f1d6f46ef4ef65f1eff65e1fd3f",
            "02651e65e1e1d1d6e1e5e1e6e6e6e6e65e1e1d31fd3f1d35df13d1f3d5fe216e71",
            "036ef6d1f351d3f131df3df13d51f1d351fd35135151111131df35d1f3df13dcc2"
        ],
        "receiving": [
            "03f6d41f6d51d31df3fe13f1d3521fd35fe5131ff1f11f133fd31fd35d1fd3f639",
            "026e61fd6df1fd6fd6f16d1fdc6c1d6f1d6f1e61f8d4d6c1d65f6df1df1d3f5e14",
            "03ef1dsdgsdgsg6f1d6d1c6d51fd651fed1c63d13fd13f1d32f1d3f31db5e8286a",

...

I thought that these should be just addresses, but obviously they are not. It gets even stranger when I import the file into Electrum - it then automatically changes these values to addresses (in the file too). I don't think, that it's something like a private key - it's 66 chars long. Even if - when imported, Electrum still asks me for it.
What does this all mean and how do I get information about transactions/addresses/amounts?


texts: I generated a new receiving address on CoinBase so that someone can send me BTC.  I immediately searched the address on blockchain.info and was quite surprised to see that it already had many transactions going back several months!  What is coinbase doing?  Why don't they give me a brand new address?  How can they keep track of what account to credit if they give multiple customers the same receiving address?


texts: sending Satoshi to a output of a unconfirmed transaction

texts:
this is a hypothetical question, reason is that my own incoming transaction is stuck because of another ancestor transaction that is already in mempool. for almost 1 day.

since I am neither the sender or receiver of this transaction that is stuck. would it be still possible for me to send coins to the output of the unconfirmed transaction with a higher fee so that the one that is in limbo due to low fees will pass through?

I have a full bitcoin node running locally. however I don't have mining power to mine those stuck transaction. so i am looking for alternatives.

Thanks in advance

why I don't just to CPFP on my own is because mine hasn't reached mempool yet, I get the pending que from chain.so which is hashflare.io private block chain gui which includes pending widthtawals


texts: Is there any way to trade without photo id before Bisq introduces its API?

texts:
I know that the Bisq developers are "working on it", but v1.5 was just released today and still not a sign of it. I'm growing ever more impatient.
While I like Bisq, and understand that it takes time to develop sensitive things like this, it would still feel better if there were at least one alternative. But there isn't, as far as I know. I don't mean "fake-decentralized" websites which are fully centralized. I mean decentralized applications for trading Bitcoin, supporting automation.
I'd like to try (with a very small amount of BTC) to trade it against other crypto currencies in an automated manner. Sadly, all exchanges require photo id BS, so they cannot be used.
What happens if Bisq is shut down? I depend entirely on it; there's literally no other way for me to get Bitcoin. If it goes down, I go down.
And no, the fact that it's a decentralized application doesn't stop somebody from nuking their official, centralized, clearnet website, or the GitHub repository. Obviously, they wouldn't rely on these if they had a practical choice, but nobody uses these "alternative Internet" projects.
It's weird to me that Bisq appears to be one-of-a-kind rather than one out of many different decentralized exchanges. How can that be?


texts: Is it possible to increase the transaction fee of a sent transaction not yet in a block?

texts: Is it possible to increase transaction fee of a transaction that is already  sent and seems stuck?


texts: 16: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element), code=-26)


texts: Why has Bitcoin Core stopped shutting down when Windows cleanly shuts down?

texts:
Every night, I do this to turn off my Windows 10 machine:
shutdown /s

Note that there is no "forcing flag" or anything (/f).
Up until recently, Bitcoin Core appeared to always get the signal and cleanly shut down, just like every other application.
However, recently, whether it was a new version of Bitcoin Core or an update to Windows 10, Bitcoin Core has stopped shutting down when it gets the signal. The reason I'm convinced of this is that, every day when I turn the machine back on, Bitcoin Core (and only that program) appears to have been uncleanly shut down/killed suddenly, as it keeps having to resync the last several days. (Perhaps just verifying the local data rather than actually downloading it.)
I even tried keeping the Bitcoin Core GUI window open while shutting down one day, and I noticed that it didn't say the usual "Shutting down" text.
Whether this is Bitcoin Core's fault, Windows 10's fault, or a combination, the fact remains that this happens every single time now, and it's very annoying and worrying.
Is this issue known? Is it being worked on? What could be causing it? Would MS really change something fundamental about how applications are signaled when shutting down the OS in a minor update? (Not unthinkable.)


texts: How can I recover my BCH wallet using my recovery phrase in another wallet?

texts:
Its important that the wallet supports 12 word phrase, BIP32, BIP32 Derivation Path of m/0'/0. The BCH is currently in my BRD wallet, but I want acces to my BITCOINSV.
Thanks a lot.


texts: Bitcoins were sent to the correct address, but did not arrive, and Bitcoin Core wallet, information is: Unconfirmed. Sent to - How do I solve this problem? Thank you?


texts: How to operate bitcoin core .14 without downloading the entire blockchain with limited hard drive space of 50gb free?

texts: I only have 50GB free on my main drive. I read that the bitcoin blockchain is 120gb and you have to first download the entire thing then you can downgrade it to something smaller. how can someone with limit space download a pruned version of the blockchain? Is it possible to put bitcoin core with the 120gb blockchain on a ubuntu virtualbox image that I can use on other computers with it pruned?


texts:
I'm a software developer, and I have some questions about private blockchains, I'd like to have technical answers since I'm trying to understand blockchain at a code level. I'm going to write a problem, and it's all for the sake of getting ideas :)

So this is the context:

We have a private blockchain where blocks are added by a certain type of node (let's call them validators). The validators are the ones that are allowed to add blocks to the chain: they of course, verify the blocks by making use of some rules.

We also have the regular nodes (they can't add blocks but they can send their chain to other nodes if x node requires it)

Node A modified a block (x), and node B requested Block X to node A, Node A sends its block to Node B but this block that was just sent is an invalid block because it has been modified.

How can Node B certify that block x is an invalid block (since It's valid for Node A, how does node B know that it's an invalid block): we have a 50-50, who holds the truth then?

Would node B need many examples of Block X so Node B can decide if the block is valid?: 10 examples were received by Node B, 9 out of those 10 examples has the same hash (Y) but the hash that is different (block x from Node A) is the minority, so the winning hash (winning block) would be Y

Would we need an election process where the validators nodes decide which block is valid?

How would we solve that issue according to your knowledge?

I think that problem I just wrote is called The byzantine fault problem (I'm not sure but According to what I've read it seems like it is). I'd be glad to hear answers from you and any ideas as well!.

NOTE: THE PROBLEM I just described is not related to any blockchain of any cryptocurrency. The problem i described is only related to the blockchain technology itself and applications based on it.


texts: How Can I Ensure Private Key is Valid on my Paper Wallet?

texts:
I have recently created a paper wallet using the tool at bitaddress.org.

Now I will soon be transferring a large sum of money to the paper wallet, however before I do so I would like to be sure that the private key that has been generated is in fact valid for my bitcoin address.

I have been told that once some money is transferred away from a paper wallet, the paper wallet is no longer true "cold storage" and thus transfers from paper wallets should be "all or nothing".  This prevents me from doing a test transfer to ensure the private key is valid.

How else may I test the compatibility of my private key with the bitcoin address to ensure that I will be able to access my coins at a later point in time.


texts: In Math or Python notation - How to convert bits to difficulty?

texts:
Questions

What are the equations to convert between bits and difficulty?

&

understanding bits and difficulty in a block header

ask how to convert between bits and difficulty. Unfortunately, I do not get the answers because I do not know C (I think it's C) and apparently lack CS knowledge.

Could anyone show in mathematical notation or in high-level code (Python?) how to convert for example the 392009692 bits to the difficulty of 3,007,383,866,429.73? as in block

https://blockchain.info/block/00000000000000000025c089d0a7b2bf6241888c4dd90ab7a4c4baa6a2823551

Thanks a lot!


texts: How to calculate segwit transaction fee in bytes?

texts: I'm trying to calculate SegWit transaction fees in bytes, I have two Segwit inputs and 2 segwit outputs. can anyone calculate this transaction fees if I'm paying 100 Sat per byte?


texts: How to change donation address of p2pool

texts:
I am working on the fork of p2pool to a new coin, and it seems that the donation script in the original could only accept BTC, etc.
How to change this script to a new address? It looks like something below:

DONATION_SCRIPT = '51210241b8aba0994f320a8b438c627dbf31fbdd7dc722dd8418d829d67a9c6e4fd69021036fbd9d0a34a569f10b0431c8aeecf74ad796b99838b7272ef35ded130a794f9b52ae'.decode('hex')

I dig for a while, and could see that DONATION_SCRIPT[2:35] is pubkey of donation address, but what's the rest of them?
Any comments will be appreciated, thanks a lot.


texts: Bitcoin Core txindex vs default mode vs pruned mode in depth

texts:
You can run bitcoin in:

txindex mode: Which allows you to query any transaction on the
blockchain with getrawtransactions (any other benefits?). This takes
up the most space
default mode: this allows you to only getrawtransactions for your own
transaction
Pruned mode: Like default mode but you only keep a few GB of the
latest transactions.You download the blocks verify then throw them
away.

But I would like to know in more depth the differences between the modes.

What part of the Bitcoin blockchain does each mode store on the local machine? What does it download and verify? What does it discard? What abilities do you lose with the different modes?


texts: What factors affect the value of a Bitcoin?

texts: Obviously the number of existing Bitcoins affects the value, but what else?  What are some of the primary factors for a rise or fall in a Bitcoin's worth?


texts:
Hi I got an issue as I can't get my refund back on coinb.in . I don't really understand the whole thing as I have never used that before. It's a multisg 2 of 3 (if that means anything to you).
I did verify it then I signed it and copied the text fron the green box, but when I try to broadcast it it says "there was an error subbmiting your request. Try again"
Also tried to get this done through  electrum wallet but when  I go to broadcasting it says "opeation not valid with current stack size"
Can anybody help please, whoever helo me willl recieve a  reward


texts: What does the term "Longest chain" mean?

texts: What does the term "Longest chain" mean, as there is only one 'right' blockchain exists? How another longer chain would make the 'right' chain invalid?


texts:
I'm pretty new to Bitcoin. This will be my second question at this site and I'll try to make it less verbose than the first while still containing what seems to be important detail.

I'm still in the middle of synchronizing my Bitcoin Core client with the network. But while that's working, I'm considering mining. I dislike centralized pools for all the good reasons that many people do. It seems decentralized is something that many are beginning to recognize serves the best interests of everyone in the community which I guess is why p2pool was written. Thank you to everyone involved in that. And so if I do start mining, then p2pool seems like the best choice for me.

But what's the difference between these two projects?

https://github.com/forrestv/p2pool/graphs/contributors

https://github.com/Rav3nPL/p2pool-rav/graphs/contributors

Are these just different implementations of the p2pool protocol?

It looks like the forrestv project's last release was in 2013, so 2+ years ago?! Does that indicate stable/finished application or does that indicate an abandoned project?

Rav3nPL's project seems to have more recent activity. Which project is better and why?

If it matters for the answer, I'm using Linux for my Bitcoin node.


texts:
The FAQ says:

  Why don't we use calculations that are also useful for some other purpose?

  To provide security for the Bitcoin network, the calculations involved
  need to have some very specific features. These features are
  incompatible with leveraging the computation for other purposes.

That's a rather generic explanation. What are these "very specific features" that Bitcoin calculations need?


texts: I sent a bitcoin to a non coinbase email address

texts: How do I retrieve a bitcoin sent to an email address from coinbase and the email address is not registered with coinbase...


texts: how to find the block height from merkle root?

texts:
I have the merkle root, using this value, how to get the block hash or its height?
There is this merkle root available in getblock RPC output:
./bitcoin-cli getblock 0320d6c1bd3c4cd2a08d6f76acb50b06a3ed766b058d247fbda3147aecfef388
{
  "tx": [
    "bccf4c873984245694f64263a3392c4d67c6a6f60efe4ed53aa4965f6d8b7dc0"
  ],
  "hash": "0320d6c1bd3c4cd2a08d6f76acb50b06a3ed766b058d247fbda3147aecfef388",
  "confirmations": 2,
  "size": 180,
  "height": 102,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "bccf4c873984245694f64263a3392c4d67c6a6f60efe4ed53aa4965f6d8b7dc0",
  "num_tx": 1,
  "time": 1593523883,
  "mediantime": 1593467398,
  "nonce": 1,
  "bits": "207fffff",
  "difficulty": 4.656542373906925e-10,
  "chainwork": "00000000000000000000000000000000000000000000000000000000000000ce",
  "previousblockhash": "1664a604a6c8e603e311c6759f7693343ad77896c53de1bcef37de04dbcbbbc5",
  "nextblockhash": "1924c8db1b986f398a12d5481fcc293913a2dab2ee7fbcb0e131d7941e5201c2"
}

using different transaction hashes, I got the merkle root value, now I need to know which block has this merkle root as in getblock.


texts: How to withdraw from an offline / paper wallet into Bitcoin-Qt on Mac?

texts: I understand how to create and deposit into an offline wallet, but how do I retrieve the BitCoins back onto a local Bitcoin-Qt wallet on a Mac?


texts: Bitcoin Stolen from Wallet, where do I stand?

texts:
I had 4 coins on an old laptop and went to move them to a new wallet only to find out they had all been removed and sent elsewhere in 2014.

To: 1KM6rLnwgD67wRdMx9aVLRf1gfoNyCyv7Q

Debit: -3.93584800 BTC

This was to buy a house for me and my family and now my balance is at 0, i'm devastated but pretty sure there is nothing that can be done about this, just asking here in case I've overlooked something, any advice welcome, thanks


texts: Blockchain.info - How to reply to a sender in a callback?

texts:
I just started using the Blockchain.info API, I've set it up to notify me when a payment is made, however all addresses in the callback are the destination address. Shouldn't I have the senders address as well?

Is there any way of getting the senders address, otherwise how am I supposed to reply?

I know transaction has the address, do I just pull the first address from inputs of the transaction?


texts: What is transaction replay and replay protection?

texts:
With everyone and their dog making new blockchains forked from the bitcoin blockchain, there is a lot of talk about replay protection.

What is a transaction replay?
What does replay protection do?


texts: Public Key / Private Key Generation in a bash script (osx / ubuntu)

texts:
I am creating a bash script (that I will happily share on github when done) that takes random public and private keys for bitcoin and then bottles them up in an AES encrypted container and then SSSS the key to unlock. (Aka, a really secure paper wallet to distribute but itself is worthless. ) For right now, the part that I have thus far "outsourced" was the public / private key generation using bitaddress.org to create the bulk addresses. I would like to pull that part into the bash script.

I have reviewed,
https://github.com/RobKohr/PHP-Bitcoin-Address-Creator/blob/master/lib/botg.sh
and found that 50% of the time the private key in fact does not "unlock" the public key. Further it only runs in Ubuntu not OSX. Further, my goal is to replicate the bulk function such that 50 or 1000 address could be created.

Does anyone have any scripts or suggested links / locations / examples to accomplish the creation of the key pairs?

Appreciated.


texts: I created an account with bc-wallet.com, and they gave me this wallet address 3HxxDmCWgLu2yJfrbTjdhfPTqEW7aftX3b and I sent to to a friend of mine who uses block chain account, and asked him to transfer bitcoins to me, he did it and up to now nothing has show up in my account... I'm very confused if this is my address or the address is a spam.... Please help me with this..... since yesterday around 19:00 GMT..


texts: How To Retrieve Unspent Inputs from Bitcoin Wallet Address

texts: I recently was trying to send a small amount of Bitcoin to a wallet address and there was a problem on my end and I was rushed at the end and I stupidly put the miner fee too low, so basically no miners confirmed the transaction over a day and a half and then I checked on the transaction and it appeared to be cancelled.  I thought that maybe the Bitcoin would just automatically appear back in my wallet but when I tried to load my wallet up it just had a link and said "Retrieved unspent inputs from address XXXX...." and when I click the link it just goes to BlockCypher and shows my wallet address with the Bitcoin in it, but it doesn't appear to be accessible by me.  Is there something special I need to do here to get the Bitcoin back in my wallet so I can access it and spend it again?  Do I just need to wait and eventually it will be back in my wallet? Any advice would be greatly appreciated. Thanks!


texts: Does running a pruned node support the syncing of other nodes in the network?

texts:
I decided to prune my Bitcoin core node to 25 GB. With the blocks that the node has in its data
directory (the ones that were not deleted), does such a node support the syncing of other nodes in the network? Moreover, let us imagine a new node that has just joined the network, let's say that has managed to download the first 10GB of data with his pruning set to 25GB. In such an early state, before pruning kicked in, does such a node serve the subset of the blocks that it has to the network?
Let the scope of this question be limited to the issue of syncing the blockchain data. I'm well aware of the advantages of using a pruned node as a wallet when compared to custodial services. There is already a question somewhat relevant to the matter and the answer to it suggests that as of May 2017, there is no way for pruned nodes to serve the subset of old blocks that they have. Is it still the case? Moreover, the answer to it does not refer to the second matter of serving a subset of blocks by a pruned node in which the pruning hasn't yet started.
Although I came across some resources and opinions on pruning, none of them elucidated the matter of syncing to me.


texts: According to the Bitcoin history, the OpenCL miner was released publicly in October 2010. How was mining done before that? There were about 4 million coins mined until then, so there must have been some mining software out there. Any ideas on what was it and how did mining work in those early days?


texts: Can I mine from CPU using 30 PC constantly on

texts: I have internet cafe that has 30 PC constantly on 24 hours a day, they are basic PCs, can I use them to CPU mining botching?


texts: How can I get more than 1 BTC on testnet?

texts:
The only way I know of to get testnet coins is through faucets such as the following.

https://testnet-faucet.com/btc-testnet/
https://testnet-faucet.mempool.co/
https://kuttler.eu/en/bitcoin/btc/faucet/
https://coinfaucet.eu/en/btc-testnet/

I found these faucets with a search. They seem to be actively maintained but only give 0.01 tBTC at most. Sometimes they are down or not working for me.
I would like to get at least 1 tBTC to test an application which is expecting more around 0.8 tBTC. How can I get more tBTC? I would be OK with paying for some tBTC. 1 tBTC would take a long time to collect using faucets, and I feel I am abusing their service.


texts: How to store private key in MySQL database?

texts:
I want to receive payments from Bitcoin on my web app, but I do not want to use corporate gateways (coinpayments, bitpay, etc), I'm wanting to make my own gateway. I do not know how best to do this but initially thought of generating the bitcoin address and storing the public/private key in MySQL after the payment was confirmed the system would use the private key and send the balance to an offline wallet.

How can I securely store the private keys that are generated for each payment in MySQL?

Let's say I do not want to leave the funds in these wallets, once I receive the system already sends the official wallet.


texts: when a miner solves the problem in less than one timestamp then what does it do with its extra capacity?

texts: If a miner solves the problem in less than one second then how does it use the extra capacity.


texts: Are there any free (e)books about Bitcoin? There are many articles, blogposts about it all over the internet. But is there actually any comprehensive book about it? Covering not only technical details, but also bitcoin history, social and economic aspects etc. Preferably under Creative Commons or some other free license.


texts: Market manipulation of spot prices to profit from Bitcoin Futures

texts: Bitcoin futures are derivative instruments based on a closing Bitcoin price.  Is it possible for traders of Bitcoin futures to manipulate the closing Bitcoin price in order to profit from their Bitcoin futures position?


texts: What is the dummy_address when creating an OP_RETURN in this example?

texts:
Here we see:

mainnet = 0
if mainnet:
    dummy_address = "1111111111111111111114oLvT2"
else:
    dummy_address = "mfWxJ45yp2SFn7UciZyNpvDKrzbhyfKrY8"

What is this? No explanation is given. Can I create my own dummy address? What is this doing exactly, with some detail?


texts: What API would I use to find the circulating supply of Ardor?

texts: Is there a way to use API to find the circulating supply of Ardor or any of the child chain tokens?


texts: NBitcoin how can I get notify when I receive coins?

texts:
I something like onCoinReceived in bitcoinj
Example with bitcoinj


texts: How do you access the NXT testnet to test out new features of the system?

texts: I downloaded the new nxt platform and want to try out the testnet system for new features. How do you get the testnet running on your local system?


texts: Why doc says importing private keys is so dangerous?

texts:
There are a lot of applications when someone would like to import a private key. However in wiki documentation they say it is very dangerous: https://en.bitcoin.it/wiki/How_to_import_private_keys

  WARNING Before reading this page, users should note that messing with
  ECDSA private keys is very dangerous and can result in losing
  bitcoins, even long after the import. It is recommended that outside
  of self-generated vanity addresses, users should never import (or
  export) private keys.

and

  Note that importing a key to bitcoind and/or Bitcoin-Qt may be
  dangerous and is not recommended unless you understand the full
  details of how it works.

Why is it that dangerous and what are the alternatives if you are using cold storage, a paper wallet or generating vanity addresses?

Related: Why so many warnings about importing private keys? (but it is about warnings on blockchain.info and not bitcoind). I'm not sure if the warnings are due to the same reason.


texts: How do you connect to the Bitcoin Client?

texts:
So I just started writing a rails app that will be an online wallet. I'm looking over the API code examples for connecting to the bitcoin network at https://en.bitcoin.it/wiki/API_reference_(JSON-RPC).

PHP was the easiest example, seen here

  require_once 'jsonRPCClient.php';

  $bitcoin = new jsonRPCClient('http://user:password@127.0.0.1:8332/');

  echo "<pre>\n";
  print_r($bitcoin->getinfo()); echo "\n";
  echo "Received: ".$bitcoin->getreceivedbylabel("Your Address")."\n";
  echo "</pre>";

So I'm presuming that it connects to the bitcoin network via a username and password. Couple of questions.

What username/password? I bought bitcoin on coinbase, then exported it to a paper wallet. What user/pass is associated with my bitcoin? I thought it was just public/private key?

Why port 8332?

Why 127.0.0.1? Could it be any address?


texts: How can one read the value of a wallet from the blockchain?

texts:
It seems like the blockchain transactions only stores the number of coins moving from one wallet to the other, but does not have the total amounts for each wallet.

Therefore it seems like if you want to get the value of any given wallet you would have to read every transaction in the ledger from the very beginning.

Is this correct or am I missing something?

Fyi, my goal is to understand the format of the blockchain better


texts: Lightning Network node without opened channels

texts: If I have a LN node without open channels, does that improve the robustness of the network? I have a BTC and LN node running 24/7 on a Raspberry Pi 3, and no BTC at the moment to open a channel.


texts: Was the first full node IP address Satoshi's and how did shim hide it?

texts: It is not surprising that people assume Satoshi used ToR when scouring the internets however if my understanding is correct in order for someone to run a full node they need to provide their IP address so that other peers can connect with them. How did Satoshi manage to run the first full node without disclosing their IP address? Did they setup an anonymous offshore server via anonoymousspeech like they did with reserving the bitcoin.org address?


texts: How is PSZ Timestamp encoded in Bitcoin core code?

texts:
In Chainparams.cpp of the Bitcoin Core source, the encoded PSZTimestamp is as follows

04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73

The original string is

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

If you convert that into HEX using any String to Hex converter online, you get

5468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73

And this is a substring of the encoded PSZTimestamp from the 16th character. My question:

What are the first 16 character derived from?
04ffff001d010445


texts: How can extended public keys generate child public keys without generating the child private key in HD wallets?

texts:
According to the documentation on bitcoin.org and the Mastering Bitcoin book, you can use an extended public key to create child public keys in HD wallets by combining the lefthand side of the hash output of the parent chain code + parent public key + index:

  The seemingly-random 256 bits on the lefthand side of the hash output are used as the integer value to be combined with either the parent private key or parent public key to, respectively, create either a child private key or child public key

I understand how this lefthand side output can be combined with the parent private key to generate the child private key, which in turn can be used to generate a valid child public key.

How is it possible that the child public key generated by combining the hash output with the parent public key corresponds to the child private key generated separately by combining the same hash output with the parent private key?

I thought that in was impossible to generate a public key without knowing exactly what the private key was. How is the relationship between child private and public keys (K = k*G) maintained when they are generated separately in this way?.


texts: Do all consensus algorithms aim to solve the Byzantine generals problem?

texts:
Can I clarify my understanding:

Byzantine Fault Tolerance is a characteristic of a system to tolerate a class of failures belonging to the byzantine generals problem.

Byzantine Fault tolerance is also the name of the consensus algorithm that solves the byzantine generals problem?

I see Ripple as being BFT. Does it mean it uses some custom algorithm, that solves BFT?

I also see Stellar uses BFT, does this mean that Stellar and Ripple Both use different algorithms that solve BFT?

Edit:

Can all Proof of Insert word algorithms be seen to be a part of BFT? Because POW uses a probabilistic model to solve the generals problem, but it is not seen as BFT.


texts: What shape of merkle tree does the Bitcoin client build?

texts:
The Bitcoin client builds a merkle tree to represent the transactions, then includes the root of that tree in the block header.

But usually, the number of transactions is not a power of two. When that happens, how does the Bitcoin client represent the transactions in the tree?

If I wrote a custom mining client, which built a tree with a different "shape," (example below) what would happen?


texts: How to restore a backup made when using the big 20 Gigabyte Core Wallet to current MultiBit wallet?

texts: Been running an s3 with slush's pool for a month or so and accumulated maybe 20% of a Bitcoin. I started out using the gigantic Bitcoin Core Wallet because when I first learned about Bitcoin a couple months ago I had these big ideas about solo mining and a 25 Bitcoin chunk breaking off for me. Those were exciting days! Of course now I know I completely missed the boat on those days but I changed computers and do not want to download the core again. As soon as Slush's made a payout to me I backed it up to DropBox so I have that backup file but it isn't as easy as clicking a button in my new MultiBit wallet to recover my little piece of a bitcoin, Please Help! I'm going make a profile on here as soon as I post this question. I'll try to get username: Mickey-Mouse-Blacksmith


texts: How can I code a Bitcoin JSON-RPC "getwork" request in Java?

texts:
I'm not entirely sure whether to ask this question on Bitcoin-SE or Stack Overflow, but I decided to post it here due to the direct relevancy of the question to Bitcoin and the general prominence of programming experience I have observed on Bitcoin-SE. If Bitcoin-SE is the incorrect place to post it, I apologize in advance; I'm new to SE and this was my best guess.

I'm attempting, in order to better understand how Bitcoin mining works, to code a simple Bitcoin CPU miner in Java, which I have some but not much experience with. All the online resources on JSON-RPC implementation in Java I have found have either been out of date and no longer functional or incomprehensible for someone with limited Java experience. How, in the most simplistic way possible, would I code a JSON-RPC getwork request (to a pool server) in Java and correctly parse the output into the variables required for mining?


texts: Do all implementation of Deterministic RFC6979-compliant ECDSA signatures generate the same signed transaction given the same data?

texts: So if I were to create the same transaction using bitcoinjs and bitcoinj, the end result of the signed transaction would be the same with both libraries, is that correct?


texts: Can the lightning network be subject to DoS attacks due to message flooding?

texts: In the current implementations of the Lightning network protocol (c-lightning, eclair and lnd), is there any check that stops spamming/flooding of channel_announcement, mode_announcement or channel_update messages? Assume that these messages are valid and provable.


texts: Multi-exchange Strategy Execution -- Available Platforms?

texts:
I am looking into executing mean reversion strategies across multiple exchanges in the US and Overseas. With this in mind, I have a handful of questions:

How many exchanges are needed for a global view of pricing to feed models?
Same question for trade execution. I assume that I may need pricing from more exchanges than I'm trading on.
Any guidance on which of those have FIX APIs?

In advance, thanks!


texts: Why would more confirmations help in a 51% attack scenario?

texts: After the 51% attack on Bitcoin Gold. The developers of the cryptocurrency recommended the exchanges to increase the confirmations. I don't understand why increasing the confirmations would help if the attacker has control over the history of the blockchain. I'm missing something for sure.


texts:
Can anybody explain relations and formulas between mining share difficulty, target and hashrate?

Thank you.


texts: How can I check if my seed matches a BTC address?

texts:
I have a seed with 12 words from Coinbase Wallet. The derivation path is: Segwit Native (p2wpkh) m/84'/0'/0' BIP84.
The first address generated seems to be wrong because it does not get generated anymore.
I can't get access to the funds with Electrum and a gap limit of 10000.
I'm sure that the address contains my funds and no other transactions than my initial are visible in the blockchain explorer.
How do I do get access to that address?
Can this be somehow brueteforced or something?


texts: Why do so many bitcoin exchanges have their bank accounts closed and have problems establishing bank accounts?

texts:
I find it really strange that it happens that so many Bitcoin exchanges have their bank accounts closed.
Outside of the Bitcoin world, I find it very unusual to have a bank account closed, for a reason other than inactivity. The only case I remember is Julian Assange's Swiss Postfinance.ch account closed.
Maybe it's a specific practice of banks in certain countries?
Many banks that I had been dealing with, seemed to have the attitude that everyone with a passport (for individuals) or company papers (for companies) can just open an account, no matter what his business is - whether he is trading spaghetti, sand on the beach, air or voucher codes - it's none of the bank's business. Their only worry is whether the person who opens the account is really the one who he says he is. The bank doesn't have to understand your business, their business is to verify ID and do maths. The rest is the customer's business and responsibility. Of course, the bank has to report transactions over a certain threshold and/or suspicious to a certain government agency, but closing accounts?
Maybe it's the matter of attitude, common practices, banking culture being different in those countries that the banks closing the accounts where established? The Bitcoin exchanges accounts are closed mostly in "old" western EU (UK, France), and the much more relaxed "no bullshit" attitudes of banks I have encountered is mostly from Central/Eastern EU banks ("new" EU countries).
Is it common for western EU banks to be so picky about customers, and closing accounts despite meeting formal ID requirements of the companies?
The sometimes mentioned claim that it might be illegal to "hold other people's money if you are not licensed to do it" is not very plausible, as any business "holds other people's money" for some time, and there are even ones which sell "numbers which hold a value" for money - prepaid vouchers for mobile phone recharges for example. That voucher is usually a 16-digit long number that holds some value - if that is fine, then Bitcoin must be no different - both are basically selling numbers which hold monetary value.


texts: Processing multiple transactions very fast

texts:
Let's say I run an automated script, with the main purpose to send transactions as fast as possible.

I want to send one transaction with 5 BTC to one address and a transaction with 2 BTC to another.

My own bitcoin wallet has 2 transaction inputs, one with 3 BTC and one with 7 BTC.
How do I spend the transactions the fastest way?

Spend the 5 BTC first having 7 BTC as input, get the change of 2 BTC returned and send this 2 BTC to another address.
Spend the 2 BTC first with 3 BTC input, spend 5 BTC with 7 BTC input.

Does order actually matter if I want to send transactions as fast as possible? I was assuming that due to the confirmation time, an optimized transaction order will have an impact on speed of the transactions.


texts: Who witnesses a Segregated Witness transaction and what incentive do they have to witness the extended block containing signatures?

texts:
This video claims Segregated Witness is insecure because no one has an incentive to process (witness) the extended signature block.

https://www.youtube.com/watch?v=VoFb3mcxluY

It claims that as the hashing power increases over 50%, you would be a fool (not a Nash equilibrium) to waste processing power on extended blocks containing the signatures, when the real money is in the transactions containing fees. This means anyone can feed a block with any transaction they want, since no one is checking signatures. (Paraphrased.)

From what I understand, Segregated Witness transaction addresses start with a 3 and are multi-signature addresses. So you have to sign, and someone (who?) also has to sign for the transaction to go through. All of these signatures are placed into an extended block.

Is the extended block also placed on the main blockchain?
Who processes the extended block containing signatures?
What incentive do they have to process the extended signature block?
Does the extended block have fees?
Who is the 3rd party signer for segregated witnesses multi-sig addresses?


texts: How does the transaction received from getdata relates to data from blockchain.info?

texts:
Say my printed output format is for a tx object is:

<Tx version: (version)>
    ntx_ins:
        (TxIns prev_output_hash)
    tx_outs: (TxOut values), total:(sum of TxOut values)>

If I have this output:

<Tx version: 2
    ntx_ins:
<TxIn 8d203ebc847f5a0def5d50aa0f05da8701f6248b0db7ad313030bdbe3495c91e>,
<TxIn 4b995a79b3026d9dcceeb81cdf0b1599c8fbbd2a9d1466a3d97437a8b24ad02e>,
<TxIn 5da3a822d936733788d93a681be4ca8b3b6dc7d82c02713159ad59b75f9d0495>
    tx_outs: 0.00853117,0.00988388, total:0.01841505>

how does my data relate to the actual information that we can get from blockchain.info? Because when I checked the transaction hashes with blockchain.info I just don't see the connections, especially the output values.


texts: Which Bitcoin developers are referred to as saying that "users have no say in the system's core development"

texts:
Genjix wrote about this in two recent posts. Here's one.

  Some developers argue that with the issues being highly complex, that
  users have no say in the system’s core development

And the other:

  Other developers disagree with giving this information away and feel
  like you as users should trust their judgement

Are there public expressions of some core developers that object to public scrutiny and participation in the decision-making process? Who, of the core team, has issued such opinions?


texts: Signing data with a namecoin private key?

texts:
Consider the following scenario

User A stores an image on a DHT and receives a SHA-256 hash in return.

User A wants to prove ownership of the data has, so he registers a username on the namecoin blockchain and receives a public-private key pair in return.

User B want proof that user A owns the DHT hash.

2 Questions

How does User A 'sign' the DHT hash with his namecoin private key?
How does User B get proof that User A signed the DHT hash with their namecoin private key?


texts: Are two factor authentication enabled wallets at mtgox or blockchain.info safe even with weak passwords?

texts:
Are two factor authentication (2FA) enabled wallets at mtgox/blockchain.info safe even with weak passwords? What are the risks here, except losing one's mobile phone?

A Google authenticator is used for the 2FA, the Google account itself is also 2FA enabled.


texts:
I want to transfer my bitcoin to a paper wallet for long term storage. However, with the risk of fire/theft etc. I'm not comfortable holding it as a paper printout.

So my question (sorry if its too noobie)....why not:

1) create the paper wallet addresses

2) manually write the public and private keys on a piece of paper BUT for the private key, change just one character of the key in a way only I know. For example, increase the 4th character of the key by 1 (so if the 4th character was the number 8, I write it as a 9 on my piece of paper, if it was the capital letter B, I write it as the capital letter C.....you get the idea). So far so good for having a secure paper storage. But what about fire etc...

3) Email the info to my gmail/hotmail account. So I'll always have access to the info as its stored on "the cloud" but is hopefully useless to anyone who hacks my email??

Is there a flaw in my system? Is potentially giving my public address plus 95% of my private key to would-be hackers risky?

Many thanks for your thoughts!


texts: How can you calculate the inverse of S component of signature, while you cannot do it in ECC to calculate private key from public key?

texts:
When verifying the signature in bitcoin, we calculate S^(-1) * hash(m) * G + S^(-1) * R * pub_key and verify that this is equal to the temporary public key. Given the same logic, why can't we use it to calculate private key from public key?

for example: pub_key = priv_key * G. Modify it to: priv_key^(-1) = pub_key^(-1)*G and then take get the priv_key by taking inverse of LHS.

I just want to understand the math that makes us calculate S^(-1) in the first case, but does not allow us to do it in the second case.


texts: Device not found. NO GPU output 3 Computers same issue?

texts:
I have 3 computers that I want to use for mining when idle. 2 of them are windows 7 one of the is windows 8 all three are x64 base. two of them have 7700hd ATI cards and the third has a 7870HD XFX. All three are having same issue. No output. No GPU found on the devices. All three computes have same look on the screen no devices found. I have used catalyst drivers from V12.8-V13.11 and same with the SDKs I have used different versions of CGminer (V2.11.4 just crashes on startup). I would like to blow out the CPU's as well but that's another issue all together. My command lines along with my startup screens are below.

Please include your bitcoin/litecoin address with reply.

Thank you for your time!

        cgminer -o ltc.give-me-coins.com:3333

CGMiner

 cgminer version 3.8.5 - Started: [2013-12-14 16:02:44]

(5s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m
 ST: 2  SS: 0  NB: 1  LW: 2  GF: 0  RF: 0
 Connected to ltc.give-me-coins.com diff 16 with stratum as user

 Block: cd82d7df...  Diff:2.93K  Started: [16:02:44]  Best share: 0

 [P]ool management [S]ettings [D]isplay options [Q]uit

[2013-12-14 16:02:38] Started cgminer 3.8.5
 [2013-12-14 16:02:40] No devices detected!

        bfgminer.exe -o ltc.give-me-coins.com:3333

BFG miner

bfgminer version 3.8.1 - Started: [2013-12-14 16:01:01] - [  0 days 00:01:08]
[M]anage devices [P]ool management [S]ettings [D]isplay options  [H]elp [Q]uit
Connected to ltc.give-me-coins.com diff 16 with stratum as user
Block: ...9616fd46 #479102  Diff:2.93k (20.95Gh/s)  Started: [16:01:01]
ST:2  F:0  NB:1  AS:0  BW:[631/ 20 B/s]  E:0.00  I: 0.00 BTC/hr  BS:0

0            |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none

[2013-12-14 16:01:00] Waiting for devices; press 'M+' to add, or 'Q' to quit
[2013-12-14 16:01:00] Probing for an alive pool
[2013-12-14 16:01:01] Pool 0 http://ltc.give-me-coins.com:3333 alive


texts:
so after 3 days , my transaction is still unconfirmed , is it possible that my money is gone ? Cause i've read after a week it would be removed from network but i didn't fully understand this .

does this mean my money would go away or it would be back in my wallet ?