Bitcoin Forum
June 07, 2024, 06:36:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 [175] 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 ... 463 »
3481  Bitcoin / Development & Technical Discussion / Re: Difference from Electrum HD wallet to Core HD wallet.dat file on: December 16, 2018, 03:58:40 AM
In terms of convenience, Electrum wins Core with no questions. Electrum allows the user to export the keys and to store a physical copy of the seeds thus giving them the reliability of physical backups. It's not possible with wallet.dat.

In terms of security, Core would win. Core allows the user to encrypt their wallet and thus giving them a better security. While Core allows the user to export its HD key, the wallet still has to be backed-up relatively frequently whenever the password is changed. It does seem more of a hassle to manage the wallet.dat.

I would trust Electrum more. I am confident that I can manage my own seeds well without the use of passwords and it can be stored relatively easily without considering the degradation of storage media for the wallet.dat files.
3482  Bitcoin / Bitcoin Technical Support / Re: Very late migration from Multibit to Electrum! on: December 14, 2018, 03:29:57 PM
Hello, I only just checked in to the bitcoin world again to check on our coins, and I learn that Multibit is over and I should move to something newer, like Electrum.
With help from this forum, I seem to have moved our BTC to Electrum, using an older version of Electrum. It now shows our address but has been 'synchronising' for hours.
Try clicking the little coloured bubble at the bottom right and select another server by left clicking it and selecting use as server. The server you're using might not be working.
Does it need to finish synchronising to complete the migration? I do not like to keep it online for any longer than necessary.
Not really. If you know which are the addresses that contains the Bitcoins, you can just go to coinb.in/#newTransaction and create a new transactions from your addresses to another address. You will be given an unsigned transaction and you can simply go to Tools>Load transaction>From text and paste your raw unsigned transaction. Validate the information shown by Electrum and broadcast it on coinb.in/#broadcast. You can send it to your hardware wallet or whatever.
My first question is ... am I now safely moved to Electrum, if it is showing our address on the send/receive window? It does not show a balance like Multibit used to. Blockchain.com shows the full balance that should be there, but it is not clear if I can still send funds.
Its not fully synchronized yet but you can send funds.
Also, I feel I should be paying more attention to security; can anyone recommend a hardware key, like Keepkey or Ledger? I keep the laptop concerned offline most of the time. What is the risk?
Ledger is a decent hardware wallet if you are willing to pay the price. Otherwise, I trust my cheap little raspberry pi with Electrum on it.

Disconnecting your laptop doesn't help with anything at all. Malwares can still send information when it goes online. Once a computer has access to the internet, its security just decreases as opposed to another computer which has never been connected to the internet.
3483  Bitcoin / Development & Technical Discussion / Re: Questions around operation of bitcoin with no blocks and dns disabled.. on: December 14, 2018, 03:19:38 PM
1. I created two peers on same machine and I want to add them both to the block chain(The first one is already up). Is it enough to add address of first node to the config file of second node or I need to add both address to the each other's config file ?
Just one is enough, node connection are bi-directional and both nodes sends and receive information.
2. Should all nodes when created, mine blocks till at least their coinbase maturity?With two nodes on same machine I have to at least generate blocks till their coinbase maturity otherwise I can't spend any amount. It didn't make sense to me. Is it true with bitcoin chain itself ? Cause difficulty there is very high!!!
It's true with most/all coins. Orphan chains happens pretty often and it doesn't make sense for the coinbase maturity to be zero or small; the coins that would've otherwise been spent several times could turn out to be invalid. It would result in a relatively easy double spend (accidential or not). Bitcoin's coinbase maturity is 100 blocks but most mining pools absorbs the risks and rewards their miners at 6 confirmations as orphans that are greater than that rarely happens, if any at all.
3. First thing I do when a node starts up is that I generate a new address for it by
Code:
getnewaddress
command in console.Before typing this command there should be some automatically generated address assigned to the node or account. How can I get it?
There should be a keypool to your wallet. The getnewaddress doesn't generate addresses on the fly but rather it just reveals an address from the keypool each time you use the commands.
4. After mining enough blocks, I try to send some bitcoins to the other node,
Code:
sendtoaddress <address> <amount>
but the coins wont't transfer and stays in memory pool for forever. Since I increased the target and reduced difficulty, this shouldn't happen. I guess my coins get lost or something....
What client are you using? If you're using the original Bitcoin client (or its fork) to mine, you can manually include transactions into the blocks. Check if the mempool of the mining node lists that specific transaction you're trying to include.
3484  Bitcoin / Development & Technical Discussion / Re: Is it possible to run a full node without verifying the whole blockchain? on: December 12, 2018, 02:52:24 PM
I didn't mean verification of the files, but to see if the blockchain I'm working on is the same as every other node.
Ah I see. Yeah, you can't do it unless you want to validate every single stuff again.
Let's assume I downloaded a "fake" chain from another user. Let's also assume he knows my IP and that it's running as a forked node using his modified chain, if he sends me "fake" transactions and blocks, am I not going to be able to instantly see it? The difference between the future blocks that I'll be synchronising with and the blocks that are broadcasted by the hundreds of miners are impossible to be the same... So I really don't understand what you mean by your explanation.
In an MITM attack, the attacker would likely be able to control what you can see and what you can't. They can lead you on a separate network and they can send you blocks and transactions that are different from the mainchain. You won't be able to see any other blocks if the attacker can isolate you away from the others.

Given that the client does not always go back to use its blockchain after the initial synchronization and building of the chainstate, it is possible for only the chainstate to be modified and the client would not notice this at all.
This is the point I'm trying to make, if I download a pruned chain, and it can't validate the same blocks that every other node is validating, then it's fabricated. The latter fact can be easily verified, and once it is, further down the line becomes impossible for an attacker to send me "poisoned" txes...
At start up, the client does not validate every single block. The client stores the relevant information in the chainstate for which it can be fabricated. The attacker can modify the chainstate without affecting future blocks.
3485  Bitcoin / Development & Technical Discussion / Re: Is it possible to run a full node without verifying the whole blockchain? on: December 12, 2018, 01:47:31 PM
I see the point in being a new "honest" node, but I don't see the need of creating the chainstate from scratch, I'm sure that with thousands of nodes on the network, there isn't really a security risk. What's the worst case scenario? If a transaction is invalid it's going to be ignored, if a node has a different copy of the blockchain then it won't be able to verify any of the current blocks...
Depends on how you see it. The attacker can easily fabricate a blockchain that has thousands of low difficulty block and that they could trick you into accepting transactions which are otherwise invalid with a simple MITM attack with sybil nodes. Transactions can be valid but they can be valid only on specific forks on the chain. You aren't validating the blockchain that you've received so the UTXO database could easily be fabricated still.
If I were to download a pruned copy from someone it would be very easy to see if it's legitimate or not, right?
No. It is simply impossible to verify its authenticity based on hashes of the file since the files are likely to have different hashes from various sources, though they may all not be malicious. The only way for you to verify is to verify each and every block by yourself.
3486  Bitcoin / Development & Technical Discussion / Re: Fee estimation failed. Fallbackfee is disabled.... on: December 11, 2018, 04:19:53 PM
Is there any transactions in the memory pool and/or did the previous blocks had any transactions in them (other than the coinbase transaction)? If there are no transactions that has ever been made, it is impossible for the client to recommend any fees to be used. The whole point of floating fee is for it to be based on the miner's preference on the previous blocks mined and the currently backlog of transaction. You can't use floating fee if that is the case.
3487  Other / Meta / Re: copper member on: December 08, 2018, 04:27:30 PM
1. who to ask?
No need.
https://bitcointalk.org/index.php?action=credit;promote
2. cost of payment?
~0.002BTC +
3. if i give payment should my account automatically a copper member?
Yes.
3488  Economy / Lending / Re: Looking for a 0.4BTC loan on: December 06, 2018, 06:57:14 PM
I'm looking for a 0.4BTC loan for a period of 3 weeks. The interest rate will be 8% (ie. 0.032BTC). LMK if anyone is interested in funding the loan and I'll send the address privately.

Signed message:
This message is to confirm that I, ranochigo has requested for a 0.4BTC loan for a period of 3 weeks on 6/12/2018.

Address: 1Yzig3e8vx79XyYMjJShk4yBPp1YcvPbQ

Signature: Hwcqe1TlXn+cZaAe78UysPbk0oMmI1R+/aAeREIWy3oHdDp+Av4SEDfOtxWsHdSHuseHImMne76pRycEsdYwpnc=

I will do it for you, give me address.
Thanks! My address is: 33sVQc3h4mJGdWsjSyeqMXsU59jjtCfZrG.

The date of repayment will be on or before 28/12/2018.
3489  Economy / Lending / Looking for a 0.4BTC loan on: December 06, 2018, 07:40:36 AM
I'm looking for a 0.4BTC loan for a period of 3 weeks. The interest rate will be 8% (ie. 0.032BTC). LMK if anyone is interested in funding the loan and I'll send the address privately.

Signed message:
This message is to confirm that I, ranochigo has requested for a 0.4BTC loan for a period of 3 weeks on 6/12/2018.

Address: 1Yzig3e8vx79XyYMjJShk4yBPp1YcvPbQ

Signature: Hwcqe1TlXn+cZaAe78UysPbk0oMmI1R+/aAeREIWy3oHdDp+Av4SEDfOtxWsHdSHuseHImMne76pRycEsdYwpnc=
3490  Bitcoin / Development & Technical Discussion / Re: How Blocks Functions in Bitcoin Blockchain ? on: November 30, 2018, 04:55:30 PM
is the block headers are transactions informations (the sender the receiver/time/amount .. etc)
No. The block headers contains the merkel root which contains the transaction hashes which are assembled. They do not contain specific transaction information persay.
so the validity of a transaction depends on the Bitcoin Blockchain Algorithm Rules (Mathematically) is this correct ?
Protocol rules: https://en.bitcoin.it/wiki/Protocol_rules.

so the pool alse could be called as huge Node, is this correct ?
Pools should be running a node, probably not a reference implementation though. Pools do not have to run a node explicitly, the only thing that they need is the transaction information, previous block hash and all that. These can be easily obtained from various sources.
3491  Bitcoin / Development & Technical Discussion / Re: How Blocks Functions in Bitcoin Blockchain ? on: November 30, 2018, 04:00:13 PM
1- is the blocks can only contains one transaction or more ?
At least one. The block must have a coinbase transaction. The output of the transaction doesn't matter but the coinbase transaction must exist.
2- we know that the miners doing calculation through POW ? is it the same calculation of the hash tx ?
They hash the block headers which contains a wide array of data and the result is the block hash.
3- is the block that is created by a miner doesn’t valide untill it is validated by all the miners in the network ? is that correct ? and how it is considered as a valide block ?
A block is valid if the nodes in the network think that it is valid. If the miner follows the protocol rules, then those who also follow the protocol rules should agree that the block is valid. If not, then they would be on a different fork since they don't accept that block while those who do builds on it.

The requirement for the block to be valid is quite broad, the crux of it is just that it follows the protocol rules which all of the reference nodes follow.
4- is every miner considered as Node in Bitcoin Network ?
Technically, it used to be. However, when pools came out, people found it more worthwhile to be mining together instead of separately. Most of the miners now don't run a node anymore due to the numerous benefits of pools.
3492  Bitcoin / Development & Technical Discussion / Re: checking timestamp on bitcoin on: November 25, 2018, 03:33:54 PM
May I ask another one?
Then how does the time expire works? Given that each node have different time?
There's two ways, UNIX time stamp or Block height.

With the UNIX code, the nodes will check the transactions in the block against the timestamp of the block. If the timestamp of the transaction is lower than the timestamp of the block, the whole block becomes invalid. Blocks can be up to 2 hours inaccurate.

For the block height, the transactions that is in the block must at least meet the block height of the block that it is in. If not, it is invalid.
3493  Economy / Goods / Re: Looking for someone with US address on: November 23, 2018, 05:13:50 PM
Bump!
3494  Bitcoin / Development & Technical Discussion / Re: Plans of attack for bitcoin? on: November 22, 2018, 03:44:51 PM
Optical recognition software will take a stream of 1s and 0s and can tell you if the picture they represent includes a face or a car (or whatever).  You give it enough data and it can find patterns. 
You can't find any pattern in Bitcoin (specifically address generation). The only reason why AI can figure out images is because they have a distinct pattern; human faces has specific features and cars has a standard look to it. Unfortunately, Bitcoin addresses is completely random so you can't use patterns to decipher anything.
3495  Economy / Goods / Re: Looking for someone with US address on: November 22, 2018, 03:14:25 PM
No need to be dependent, use reship.com .
Are you blind?
no PO boxes or freight forwarders
3496  Bitcoin / Development & Technical Discussion / Re: checking timestamp on bitcoin on: November 22, 2018, 03:09:04 PM
You don't have to have a synchronized time with others to use Bitcoin. Accuracy of the time is not a part of Bitcoin, it is usually wildly inaccurate. The network uses a network-adjusted time system. This means that the whole network can be up to 2 hours inaccurate (in unix time). If you are looking to adjust your clock, Bitcoin is not a good choice.
3497  Economy / Goods / Looking for someone with US address on: November 21, 2018, 01:03:42 PM
I'm looking for someone with an US address, no PO boxes or freight forwarders, to help me reship some stuff.

I'll provide you with the items (shoes) and you would have to send them to me overseas. I need someone who is relatively trustable.
3498  Bitcoin / Development & Technical Discussion / Re: In case of a 51% attack, can the damage be reverted? on: November 20, 2018, 02:09:35 PM
When I mentioned "hackers" I meant hackers that would be able to get in control of the largest mining farms in the world without having to rent rigs or pay for electricity etc in order to attack the network. Wouldn't it be possible? I'm kinda newbie to the mining part so I might be talking nonsense.
It's possible. The firmwares that the ASICs are on is definitely exploitable. The main reason is the motivation. I doubt anyone would just ruin the coin just like that. Most ASIC farms are actually fairly small and it isn't that big to be able to ruin a mid-sized coin.

I might have talked about a story that never happened. ranochigo gave the right link to the case I was talking about. Here's one to the wikipedia, it's about the same incident: https://en.bitcoin.it/wiki/Value_overflow_incident
It has. Bugs in the client could cause the client to accept and relay transactions that are otherwise invalid. If not, 51% attack can't do that much.

So the two cases you mentioned are 51% attacks too, right?
Its not. The 1st was due to the bug in the client. The second was due to the miners mining incompatible block (no 51% attacks whatsoever) that resulted in the splitting of the chain. The older clients were following one and the newer clients were following the other. While 51% can result in forks, the new fork must still follow the consensus rules, no matter how much hashrate they own. A block can only have that many Bitcoins and block rewards and signatures must be valid, etc. If not, the blocks wouldn't even be accepted and the 51% attack would be as if it has never happened.
3499  Bitcoin / Development & Technical Discussion / Re: In case of a 51% attack, can the damage be reverted? on: November 20, 2018, 09:15:29 AM

IIRC, something similar happened way back when Bitcoin was in its first years and someone got in control of some Bitcoins they shouldn't have been in control of, and this was reversed through a Bitcoin Client update or something like that.


Can you give us the whole story of that "something similar"? It would be incorrect to assume that a successful 51% attack would give someone the power to steal. Because, anyone correct me if this is a mistake, if an attacker can control 100% of the hashing power, it still cannot turn invalid transactions into valid transactions. The nodes will not relay them. It can only censor transactions.


It has never happened. The only time anything like this happened was with the bug[1] that resulted in block rewards that was over the limit. It was forked off and everyone switched. And you're right, you can't make transactions that are invalid into a valid one.
[1] https://nvd.nist.gov/vuln/detail/CVE-2010-5139
3500  Bitcoin / Development & Technical Discussion / Re: Semi-Full Bitcoin Node. Downloading from ONLY pruned nodes. on: October 08, 2018, 01:57:33 PM
If a Semi-Full Bitcoin node only stored the complete UTXO, the last months worth of Blocks in full,  and the rest ONLY as block headers, how bad could it be ? You'd still have a complete record of the POW & User Balances, and the last months of data complete.
Not very useful. The inability of the client to independently validate every aspect of the purpose of trustless in Bitcoin and it is no different from a SPV client.
I know - if you don't have the whole chain, haven't verified every transaction since genesis - you cannot independently be sure that the whole chain is valid.  But is this actually a serious threat ?
Yes. If you are not 100% sure of the information that you're fed, the only thing you can do is to trust the person who provided you the information, which is risky.
A 51% attack could in theory print money - but that would need to go on for over a month (much more than a month actually at 51% only) and is easily recogniseable. I just don't see it.
51% attacks can't print money out of thin air. They still need UTXO to spend and follow the network rules regarding the block rewards. You simply have to overtake another chain and that wouldn't be noticable at all, until the attack is over. 51% attacks uses long block reorgs to evade detection.
Are we saying there is even the remotest chance that a block from a month ago has any txn errors ? With all the users that are currently running bitcoin having somehow _missed_ it ? So why do I need to download and verify it ?
Because you can't be sure that whoever you are connected to is not malicious.
Connecting to a network of these kinds of nodes absolutely does not have the _same_ security as a full blown Bitcoin node, but it's not far off. And if it meant that many more people ran semi-full nodes, I think it could be a bonus.

A user would only need to log on once a month minimum to catch up - before data was discarded. Seems squarely within the realms of possibility.

(I know you can do this already with Bitcoin - I am wondering if pruned nodes was the default install, and the majority of the nodes on the network used this, could the network  still thrive)

It will definitely not thrive. It is simply not possible for the network to only run on pruned nodes. Without full nodes that keeps all the data, it would be impossible for any node to retrieve the exact transaction data about any transaction back in time. If this continues on, then the problem would only get worse. It would be inherently difficult for anyone to prove that they have made a transaction 2 years ago, should a contract last that long.


Unless, as Bob said, it is possible if there is enough redundancy with the historical nodes but it is simply impossible for those nodes to have sufficient redundancy because no one wants to run them and if they do, there will be a high cost to it.
Pages: « 1 ... 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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 [175] 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 ... 463 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!