Bitcoin Forum
May 25, 2024, 01:10:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ... 590 »
2161  Bitcoin / Development & Technical Discussion / Re: Lightning Network Question: Cost to open / close a channel on: September 30, 2017, 05:50:23 AM
How long can these channels stay open?
Indefinitely.

What happens if I send a tx to C and B closed his/her channel?
Then the transaction fails. C does not get his money from B and B does not get money from A.

Will the LN still generate enough tx's to sustain miners fees for miners to continue mining or will they have to switch to running LN hubs to complement their income?
No one knows; that requires predicting the future.
2162  Bitcoin / Development & Technical Discussion / Re: Why I Am Not Using Hardware Wallet For Cold Storage on: September 29, 2017, 03:30:52 PM
This thread is just Dorky and HCP flaming/trolling each other which is against the forum rules. Therefore this thread will be locked and potentially trashcanned.
2163  Bitcoin / Bitcoin Technical Support / Re: How to get or calculate inputs's prev_out tx hash using script ? on: September 29, 2017, 03:35:35 AM
Use a different api. Blockchain.info's api is not giving you the information that you want even though the previous transaction id and output index is included in the transaction itself.
2164  Bitcoin / Bitcoin Technical Support / Re: version 15.0.1 hangs when "done Loading" windows 10 64bit on: September 29, 2017, 02:00:25 AM
everything else is normal syncing behavior too....THERE IS NOTHING IN THE DEBUG LOG and I know what I am talking about....
You haven't demonstrated that you know what you are talking about.

and it is very relevant what I posted because that is the very last line of the debug log...everything else is just regular loading and syncing and exiting...been through all of it.,..this is a windows problem and not a bitcoin problem
There can be errors up in the log that get hidden by the verbosity of the sync that can indicate problems that cause a crash later on. In general, having more people looking at the issue makes it more likely that someone will find the problem. But not providing any information (e.g. debug.log file or crash logs or screenshots or whatever) makes that hard to do because then all people have to go off of is your word, and that may not necessarily be understood properly and will include your own biases as to what you think the problem is.

How about you provide some other information then? How about the Windows crash logs?

BTW I really don't feel like permanently posting my external ip on this site so sorry but not posting the whole thing.....
Then redact your IP address. Do a find and replace and replace your IP address with [redacted]. It isn't hard to do.

Makes me wonder if bitcoin is susceptible to the HeartBleed OpenSSL memory leak...only because it uses a 2010 library by default
It's statements like these that tell me you don't know what you are talking about.

thank you jackg   that is the most relevant response ever Grin..windows update called my miner a trojan the other day so it makes me wonder a lot about the "exceptions"...what if I were to download a bootstrap.dat from someone and rescan...think that would work...anyone know of any verifiable places I could get a semi recent copy so I only have to sync a little bit...
Don't use a bootstrap.dat. That's way slower than just resyncing the whole blockchain from scratch.

If you have an antivirus software, make sure that it isn't deleting anything in the Bitcoin Core data directory. Check Windows defender too.
2165  Bitcoin / Development & Technical Discussion / Re: POS in BTC on: September 29, 2017, 01:19:49 AM
Doesn't lightening make Bitcoin work somewhat like POS?  The BTC locked up in the hubs is a form of staking.
No it is not. Clearly you do not understand how Proof of Stake and lightning works. Bitcoin being "locked up" is not a form of staking at all whatsoever (besides the fact that bitcoin is not locked up at all).
2166  Bitcoin / Development & Technical Discussion / Re: Building headless Bitcoin and Bitcoin-qt on Windows on: September 29, 2017, 01:18:46 AM
This guide is quite outdated now and no longer really accurate, thus I will be locking it as it is also attracting a lot of spam and off topic posts. Bitcoin Core Windows builds are cross compiled in an Ubuntu environment. Windows 10 has a feature called the Windows Subsystem for Linux which is essentially Ubuntu on Windows. Instructions for making Windows builds using the WSL are available here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md.
2167  Bitcoin / Development & Technical Discussion / Re: Learning to program on the blockchain? on: September 29, 2017, 01:13:50 AM
Locking this thread; it is just becoming full of spam now.
2168  Bitcoin / Development & Technical Discussion / Re: Safety of the Lightning Network on: September 29, 2017, 01:12:12 AM
We know what happens when the bitcoin network splits.  How does that work in lightning?
Blockchain forks effect lightning in the same way that transactions are effected. If you have an open payment channel before the fork, you will have the same open payment channel duplicated onto the other fork of the blockchain just like how you have your coins duplicated when a fork happens.
2169  Bitcoin / Bitcoin Technical Support / Re: 0.15.0.1 vs. 14.2 on: September 29, 2017, 01:08:11 AM
0.15.0.1 has significant performance improvements over 0.14.2. It introduces several new optimizations and features that makes it perform faster, estimate fees better, support multiple wallets (in RPCs only), etc. Read the release notes for the full explanation and list of changes.
2170  Bitcoin / Project Development / Re: Launching crypto exchange platform need help about transactions on: September 29, 2017, 01:06:55 AM
If you have to ask these questions, I highly suggest that you NOT make an exchange. You will be handling people's money. Imagine you were a user, would you feel safe if the exchange you were using had to ask the questions you are asking? You should first learn about Bitcoin and the technical issues by doing something else that does not risk people's money before you make an exchange.
2171  Bitcoin / Development & Technical Discussion / Re: What? New type of bitcoin adresses??? on: September 28, 2017, 03:47:17 PM
I was browsing through blockchain today and I noticed new - weird looking adresses like this bc1qdl753ur9ucwa3cgfrud2nqvu7k69dykk3cwwx6g64a5szn3xw92sp8mc7a.
What block explorer was showing these?

What type are these???
These addresses are bech32 addresses. They are for the native segwit output type. They are specified in BIP 173

How would you create transactions with those?
As you would with any other type of address. The wallet software will handle it for you. If the wallet software supports bech32 addresses, it will know how to decode them and create transactions with them. These addresses specifically tell the wallet what type segwit output to create.

They are some sort of witness adresses?
Yes.

Each address has a private key, the ones start with 3 have 2/3 private keys, what type of a private key would have this one?
It depends.

First of all, addresses starting with a 3 do not necessarily have private keys associated with them, and not necessarily 2 or 3 private keys. Addresses starting with a 3 are P2SH addresses which means they have a script associated with them, and that script can be whatever you want so long as it is a valid script. This means that it can contain many public keys (and thus have many private keys) or no public keys (and thus be associated with no private keys).

bech32 addresses are for the P2WPKH and P2WSH output types. For P2WPKH, there is one private key. P2WSH is like P2SH; it is associated with an arbitrary script.

Also, there are no types of private keys. All private keys are the same "type"': a 256 bit integer.

Are they more secure?
How do you define "more secure"?

Bech32 addresses have built in error detection and correction (they can correct, but software should not be automatically correcting errors). I don't think they are any more or less secure than "normal" addresses.
2172  Bitcoin / Bitcoin Technical Support / Re: version 15.0.1 hangs when "done Loading" windows 10 64bit on: September 28, 2017, 03:38:40 PM
Here's the debug log
Post all of it. The little snippet you posted is irrelevant.

....why would the handshake be timing out?
The peer that Bitcoin Core tried to connect to that time did not respond to the version message. This is normal behavior; sometimes nodes just aren't online when you try to connect to them.
2173  Bitcoin / Development & Technical Discussion / Re: Lightning Network Question: Cost to open / close a channel on: September 28, 2017, 03:34:09 PM
As far as I understood a LN Channel is open and closed by their participants by broadcasting and confirming transactions on the chain, so they only pay those transactions fees and not all the other they may do while the channel is open.
Yes.

If that is right, the LN would work only for recurrent payments and not occasional transactions, right?
Kind of. Having an open payment channel with one party is really only good for recurring payments. However the lightning network expands beyond the one channel. You can have a channel open with someone who has a channel open with other people, and they have channels open with other people and so on. One of the main ideas of LN is that you can send occasional transactions by routing a payment through multiple payment channels that people have open with each other.

Suppose Person A has a channel open with B, and B has one with C. If A wanted to pay C, they could send money to B and B sends money to C via their respective open payment channels. The transactions used for this sending are special and make it so that the money will only actually move under specific circumstances. These transactions are called Hashed Timelocked Contracts. They make it so that B can only get the money from A if they have forwarded the money to C.
2174  Bitcoin / Development & Technical Discussion / Re: Lightning network compared to Dash and IOTA on: September 28, 2017, 03:25:48 PM
My question is - is Lightning Network really going to lock our funds for so long time that its going to cause problems?
No, it is not. When you "lock" your funds in a LN payment channel, you can still spend those coins, albeit only with the other party in the channel. However with LN, if that other party is connected to other people via payment channels, you can make payments to those other people and the people they are connected to and so on and so forth. So your funds aren't "locked"; you can still spend them and move coins to other people that have LN channels open. Furthermore you can choose to close a channel at any time that you want and be able to access your coins as soon as the channel closing transaction confirms. There is no set time limit on a channel and there is no minimum time required for a channel to be opened.

Cause it seems to me obvious that hackers could fail transactions for purpose and block the network.
What do you mean by "fail transactions"?



The lightning network is different from DASH and IOTA in that it itself is Bitcoin, not an altcoin. With LN, you are moving and using Bitcoin so the value you move is fixed and does not change. If you were to use an altcoin in the same manner, you would risk losing money as the altcoin's value compared to Bitcoin's changes. Furthermore, many of the security risks and potential attack vectors are fairly well known because LN uses Bitcoin and Bitcoin's security risks and potential attack vectors are well known. With an altcoin that uses some crazy cryptography that may not necessarily be secure (IOTA had some broken cryptography which were pointed out in a security review done by 3 MIT DCI researchers) does not have known security risks and potential attack vectors.
2175  Bitcoin / Development & Technical Discussion / Re: Share your opinions of the November Lightning Fork on: September 27, 2017, 03:29:08 AM
So, Lightning is not a UAHF, but is going to pass because Segwit already was implemented?  It's a done deal, or....am I totally missing something?
Lightning is neither a hard fork nor a soft fork. It will be deployed on the main network because Segwit has already activated. There is nothing to "pass". Lightning is not a consensus rule change; nothing needs to be activated or passed in order for it to be deployed. It just needs to be implemented. By deployed, I mean used.
2176  Bitcoin / Project Development / Re: [ANN] Bitcoin Transaction Fee Booster on: September 26, 2017, 08:24:47 PM
Hello. I used Feebooster as receiver (created raw tx and signed) but it seems that it decoded Hash 160 into the wrong address, not the one I filled in (with version byte of 0x01 for P2PKH) but it sent to the wrong one (version byte of 0x05 for P2SH). No idea how and why that happened.
Funds were sent to a different address (starting with 3) than the one I filed in, and bot have same Hash 160.
Post the raw transactions, screenshots of what you entered, and the txids of any and all transactions involved (including the one you are bumping and the bumping tx).
2177  Bitcoin / Development & Technical Discussion / Re: What are these variables in the Genesis Block and how were they determined? on: September 26, 2017, 08:23:57 PM
First of all, please do not use or refer to the Bitcoin Core 0.8 codebase. It is extremely outdated and insecure.

Could anyone help me out in figuring out what the numbers in the first one mean.
It is just making a script to put in the scriptSig of the only transaction in the genesis block. The stuff in the script mean nothing and have no consensus meaning except for the fact that they must be there otherwise the genesis block's hash will not match what it is supposed to be.
Code:
 << 486604799 
Push this number to the scriptSig. It just happens to be the decimal version of the nBits of the genesis block.

Code:
<< CBigNum(4) 
Push the number 4 to the scriptSig.

Code:
<< vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
Push the character array pszTimestamp to the scriptSig. This character array is just the string of "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"

And for the second one, where is that hash from??
That is not a hash. That is a public key. It is a normal Pay to Public Key output.



The forum is doing something weird with the code blocks here.
2178  Bitcoin / Bitcoin Technical Support / Re: transaction history and storage requirement on: September 26, 2017, 03:41:42 PM
From what I am reading, what is stored on the individual computing nodes is a history of hashed transactions and stuff.   
No, not the hashed transactions, the full transactions. And the block headers for the block that a transaction is in.

At some point in the past a miner received a coin as payment and a block starts ( a linked list, some structure of some kind) and grows keeping track of transactions.
No, that is not how the blockchain started. The first block (known as the genesis block) was created by satoshi and hard coded it into the software (and it still is hard coded). You cannot receive something as payment if it does not yet exist; coins only exist because blocks exist. The linked list known as the blockchain is built off of the genesis block.

1)  Does this mean that all transactions since startup are still in the system?
Yes.

2)  Will they all stay there for the next 25, 50, 100 ...... years?
Yes. They have to.
2179  Bitcoin / Development & Technical Discussion / Re: Segwit and Lighting network on: September 26, 2017, 03:36:19 PM
Yes I know, but I meant only segwit. I know Core is not supporting 2x.
So which is the first version released by Core with segwit?  
Bitcoin Core 0.13.0/.1 (0.13.0 had it implemented but had no deployment mechanism for segwit. 0.13.1 had the actual deployment parameters)

Block weight is a segwit specific thing and is only implemented and defined in segwit.

Same thing for comparison schema or slide ... are there some pictures showing block data structure and verification rules changed before and after segwit?
Thanks.
Read BIPs 141, 143, and 144
2180  Alternate cryptocurrencies / Altcoin Discussion / Re: How to set up node on: September 26, 2017, 02:45:20 PM
Set some hard coded seed nodes to be nodes that you know will be up for a long time.

Set up a DNS seeder and add that to the hard coded list of DNS seeders.
Pages: « 1 ... 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 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!