Bitcoin Forum
May 24, 2024, 10:07:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 [82] 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 ... 590 »
1621  Bitcoin / Development & Technical Discussion / Re: How to transfer/import a segwit (P2SH-P2WPKH) address into Bitcoin Core? on: January 05, 2018, 02:26:56 AM
I had tried to do that on the console ("addwitnessaddress [the_legacy_address_that_appeared]", but it gave me the error:

"Public key or redeemscript not known to wallet, or the key is uncompressed (code -4)"

(I did not rescan, as it seemed the addwitnessaddress command wasn't successful.)

There's something I do not know or understand about segwit's functionning, and so I have no clue how to progress forward with that.
What would that mean?
Oh, since you are coming from Armory, this is going to be slightly painful.

Segwit only allows compressed public keys, but Armory only uses uncompressed public keys. In order to use Segwit, Armory will compress the keys on-the-fly, but the export will still give you the uncompressed version.

Go to https://github.com/pointbiz/bitaddress.org and download the git repo. That is the source code for bitaddress.org which is a website that is reasonable trusted to not steal your private keys. By downloading the source code, you can access the website locally and thus not send any private keys to a website. Even so, once you finish doing this, you should move your coins immediately to a new address and never use this address (both the segwit and legacy versions) ever again.

Open the file bitaddress.org.html in your browser (double clicking it should do that automatically) and choose the option for "Wallet Details". Enter your private key into the box and click "View Details". Scroll down and copy the string from where it says "Private Key WIF compressed". It should begin with a "K".

Import that string into Bitcoin Core. It is the private key that corresponds to the compressed public key. Then use addwitnessaddress on the imported address.
1622  Bitcoin / Bitcoin Technical Support / Re: 256: absurdly-high-fee on: January 05, 2018, 02:19:06 AM
The transaction is just extremely large and thus has to pay a high fee. The actual fee rate is pretty low, but Bitcoin Core has a hard limit for what it considers to be an absurdly high fee. That limit is 0.1. Any transaction that pays more than 0.1 BTC in transaction fees, regardless of the fee rate, will be rejected with this error. It is not consensus invalid, it is just non-standard.
1623  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-qt cannot read the database, closing on: January 05, 2018, 02:13:21 AM
his is not proof-positive that the hard drive is OK, but it's a reasonable indication that the problem lies elsewhere.  The drive itself is a high-reliability HP spinning SATA drive for use in servers.  It's almost new.  Odds are good that it's OK.  
If you think it is hardware, check your RAM.

This is the time when I tried to restart bitcoin-QT.  The QT app wrote a blank line with a time stamp, followed by about 20 linefeeds. 
That's normal.

Debug log excerpt follows:
This is a clean shutdown.

Can you post what the log of when you started it up?
1624  Bitcoin / Development & Technical Discussion / Re: Lightning Network: If your whole balance is very low, can you spend it? on: January 05, 2018, 02:08:20 AM
Getting into the LN thing, every answer opens up a new question... so you have to tie an amount (from single address) to a establish a channel.  Sort of staking?  I can see how this can work for regular large payments, say with an exchange, however its a big ask to expect people to do this for small payments.  It seems like putting up a credit tab with the shop/bar and you have to hit a minimum spend to make it worthwhile.
You can route payments through people, and have payments routed to you through people. You don't have to just transact with the other person in the channel.

The cost of on-chain transactions will likely increase.
In the short term on-chain transaction fees will likely decrease. In the long term, if more people use Bitcoin, fees will increase, but less so to levels that they would be without LN.
1625  Bitcoin / Development & Technical Discussion / Re: Would it cost anything to open a Channel on Lightning Network? on: January 05, 2018, 02:05:47 AM
Huh  So back to square 1, we need to pay fees to open the channel each transaction?  Or we keep our own channel open (tieing wallet balance) hope our recipient is on LN with an open channel?
No, you only pay a fee when opening and closing a payment channel. Once the channel is open, you can transact freely (i.e. as many times as you want) with the other person in the channel at no cost. If you want to transact with someone outside of the channel but there is some route to them through LN channels, then you can use your same channel to pay that other person by routing a payment through other channels. This routing of payments will either be extremely cheap or have no cost, depending on whether node operators in the route charge a fee for being routed through.

If you are just going to make a single transaction with someone and you don't plan on using them to route payments to other people, then you should not create a channel for that. Just make a normal Bitcoin transaction.
1626  Bitcoin / Bitcoin Technical Support / Re: Why is it called child pays for parent ? on: January 05, 2018, 01:59:46 AM
I'm just wondering exactly why it was called this? Surely it could of been called "adjust fee" or something simpler?
No, it could not have.

Child Pays For Parent is called such because you are creating a new transaction which spends from the transaction that you want to change the fee of, hence it is a child transaction of the parent unconfirmed transaction. This child transaction contains a high enough transaction fee to pay for the parent. Hence Child Pays For Parent.

The other "adjust fee" method is called Replace By Fee. With Replace By Fee, you are creating a conflicting transaction that pays a higher transaction fee and replaces the original lower fee one.

So because there are multiple methods to increasing the transaction fee, it can't just be called "adjust fee".
1627  Bitcoin / Development & Technical Discussion / Re: HELP: Recover Bitcoins mined using 0.3.23 client on: January 05, 2018, 01:57:25 AM
I installed bitcoin core and replaced the wallet but I could not see my BTCs. So I became nervous again. I read several forums and they said it was normal to have a 0 BTC if the wallet replaced was old (from 0.3.23 client)
If Bitcoin Core is not fully synced, you will not see any Bitcoin.

First of all a doubt. I received all my BTCs mining. This means that all my reception addresses should not contain balance?
No, they should have a balance.

I checked each one of my 30 addresses BitcoinCore found in my wallet in BlockChainInfo, and none of them has balance. This means I lost my BTCs?
If you do not see a transaction history for those addresses, then that means that those addresses never had any Bitcoin, be that through normal transactions or from mining. If you do see a transaction history and there are transactions that send money from those addresses, then the Bitcoin has been sent elsewhere.

Do you think there is a solution? I read about extracting the private key using pywallet. Is this trustful? Which is the best way?
There is no need to do that if the wallet is not corrupted.

If Bitcoin Core is not fully synced, then let it fully sync. Once it is synced, you will know if you have any Bitcoin or not. If not, then there is no way to recover any of those Bitcoin because the private keys are probably gone and are not part of the wallet that you have.
1628  Bitcoin / Development & Technical Discussion / Re: How to transfer/import a segwit (P2SH-P2WPKH) address into Bitcoin Core? on: January 05, 2018, 01:50:42 AM
But if I try to import the private key of a segwit (P2SH-P2WPKH) address into Core (through the console) it gives me a legacy "1" address that doesn't correspond to my segwit address
Use addwitnessaddress on the legacy address that is imported. Then rescan the blockchain.
1629  Bitcoin / Development & Technical Discussion / Re: Question regarding Lighting Network on: January 05, 2018, 01:47:30 AM
the real question: when will it be implemented?  Tongue
It is already implemented and almost done. It is actively being used on the testnet and multiple demonstrations of lightning on the Bitcoin mainnet have already been done. Once any of the major implementations of LN reach a release version and the Lightning 1.0 spec is finalized, you can consider lightning "released".
1630  Bitcoin / Development & Technical Discussion / Re: Can Lightning network work decentralized ? on: January 05, 2018, 01:39:00 AM
1) Users need to be online all the time! If somebody is offline he can NOT process a transaction for you, this means that that person breaks the route, which is a huge problem. Banks on the other hand will of course be online 24/7
Not necessarily. If only one node's HTLC success transaction is broadcast, then all nodes in the route can take their payment and make their payment simultaneously even if one or more of them is offline.

2) Monetary incentives for centralization! Everybody who helps processing your transaction gets a small fee. So if there's a route with 10 people in it, then a bank with a direct route can charge 9.99x the fee for one hub and still be cheaper! So the bigger a hub becomes, the smaller the routes will become and the more they can charge. This of course works as a huge snowball for size and is a huge incentive to become as big as possible.
I don't think the fee will be a centralization pressure. It will be a race to the bottom because there will be competition and it will be easy for new nodes to compete. So sure your "bank" charges 9.99 as their fee for one route. Now I create my own node and I get a couple of channels, not as much, but still many. If you route through me, you may still have to go through 4 other nodes. I can then charge 5 as the so the total route fee is 9 (5 + 4*1). Now that "bank" has to lower his fee to remain competetive, and so on and so forth. It will be difficult for any one node to get a monopoly and maintain it and make LN centralized. Even then, anyone can still make their own node and make channels without the permission of the "central nodes". So there will certainly be lots of competition and that makes it decentralized. You can close a channel without the other party agreeing to it, so you can switch to using a competitor at any time. You can even close your channel and fund the opening of a channel with someone else at exactly the same time in the same transaction, so you won't have to pay more in transaction fees.
1631  Bitcoin / Bitcoin Technical Support / Re: Question on Bitcoin-Qt v0.8.5-beta on: January 05, 2018, 01:31:46 AM
If it has, it probably has a low fee and won't confirm any time soon.
Various network relay rule changes have likely made the transaction non-standard and thus not relayed, in addition to a very likely low or zero transaction fee.
1632  Bitcoin / Development & Technical Discussion / Re: bitcoin is decided by port and algorithm? on: January 05, 2018, 01:30:33 AM
thanks
why the first 2016 blocks different?
Because the difficulty adjustment algorithm won't kick in until after the first 2016 blocks, so only after the first interval will your blockchain be different. If you change the retarget period, it will be the minimum of 2016 blocks and whatever you set the retarget period to be, i.e. if the retarget period is smaller than 2016, it will be that. Otherwise it will be 2016 blocks.
1633  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-QT Constantly Crashing on: January 05, 2018, 01:27:41 AM
Can you post the debug.log? It usually contains more information than the dbLog.
1634  Bitcoin / Development & Technical Discussion / Re: Question about locktime on: January 05, 2018, 01:23:07 AM
It's an arbitrary large number.
1635  Bitcoin / Development & Technical Discussion / Re: Lightning Network: If your whole balance is very low, can you spend it? on: January 03, 2018, 11:11:56 PM
Would it be reasonable for the coffee shop to pay transactions fees for you?
No it is not. It would be reasonable for you to open a channel with your employer who also has a channel open with that coffee shop. Your employer would pay the transaction fees for you, and then you can pay the coffee shop. Later the employer would pay your through that channel.

Is this supposed to be a common use case scenario?
No. As I said earlier, LN is not for spending from small outputs once but rather spending from large outputs in small amounts many times. The common use case scenario is that you put in (for example) 0.01 BTC into the channel with the coffee shop. Then over the course of months or years, you slowly pay the coffee shop 0.00001 BTC per coffee but without actually making any on-chain transactions and paying their transaction fees.
1636  Bitcoin / Development & Technical Discussion / MOVED: Bitcoin PrivKey question - I found TWO privkeys for ONE address on: January 03, 2018, 10:46:07 PM
This topic has been moved to Trashcan.

Trashcanned upon request.
1637  Bitcoin / Development & Technical Discussion / Re: bitcoin is decided by port and algorithm? on: January 03, 2018, 07:07:51 PM
For the bitcoin source code. If I change from 10 minutes one block to 5 minutes one block and also I changed the port, whether I still face th possibility that my new coin will be merged with bitcoin due to the longer blockchain?
Changing the difficulty adjustment calculation to target 5 minutes should make it not be wiped out after the first 2016 blocks. The first 2016 blocks can still be the same as Bitcoin's and could wipeout your chain.
1638  Bitcoin / Bitcoin Technical Support / Re: Question regarding BIP-112, BIP68 CSV and nSequence on: January 03, 2018, 07:06:16 PM
convert the lock number of 169 into binary
10101001

pad some zeros at the end to make it 16 bits long
0000000010101001
Bitcoin uses little endian numbers, so these need to be reversed.

Otherwise, that looks correct.
1639  Bitcoin / Development & Technical Discussion / Re: require a TX-level PoW nonce to inhibit spam? on: January 03, 2018, 06:59:40 PM
I'm not proposing that individual people would have to submit PoW, but instead that individual transactions would. Thus, a single transaction with many hundreds of outputs or inputs would require a relatively large PoW, but a transaction where the entire balance of one address is transferred to another address would not. (This has been my working definition of spam: transactions of the former type rather than the latter.)
I don't think spam transactions have been large transactions, rather they are small ones and there are lots of them. So this wouldn't help. Perhaps if you inverted it, smaller transactions have a higher PoW. But then spammers would just make large transactions. And if you penalized large transactions, they'll make smaller transactions.

Furthermore, as I said earlier, getting an ASIC or a GPU or two would basically make this completely useless unless you can somehow adjust the difficulty to the volume of transactions a person is creating. If I were a spammer, I could get an ASIC and just churn out spam anyways because the ASIC is going to blow through whatever difficulty you set unless that difficulty is specifically being adjusted for my spam.

Now you might say that getting an ASIC or GPU is costly and thus prohibitive, but it has been theorized that many of these spam attacks are coming from miners who want to increase the fee rate and thus increase their mining profits. So if a miner is mounting a spam attack, they can take a single ASIC machine that is being used for mining and repurpose it to get around the PoW limitation. They would still be able to churn out spam transactions as quickly as before.

Lastly, as ranochigo said, your proposal would have a detrimental effect on the UTXO set. You would be encouraging the creation of UTXOs when what we want to do is encourage the consumption of UTXOs. By making large transactions costly, people will make smaller transactions and likely with change (so likely 1 input and 2 output transactions) which will result in a net increase of UTXOs. This is not very good for Bitcoin, and it has the effect of grinding down one's UTXOs into dust thus making it hard to spend any Bitcoin later.
1640  Bitcoin / Bitcoin Technical Support / Re: PSA: how to get baddress from bitpay URI (now REQUIRED) on: January 03, 2018, 06:51:19 PM
Nice find!

I can't imagine that Bitpay is going to leave that there any longer though, it seems like a mistake for them to do so and now that it is publicly known, it will probably go away.

Also, this link
does not work, probably because the invoice expired already.

I've also been toying with creating a Python script to extract it... but will just use this trick for now Wink
You can use the one I wrote: https://github.com/achow101/payment-proto-interface
Pages: « 1 ... 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 [82] 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!