Bitcoin Forum
May 06, 2024, 07:03:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Raspberry Pis Full node and Double spending problem  (Read 202 times)
CryptopieceOfficial (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 2


View Profile
November 24, 2018, 09:20:38 PM
 #1

How can Nodes protect me from Double spending? What if i have like 10000 and ever more of Raspberry Pis at my home and therefore the maxm. no. of nodes in the network wid all of them saying DOUBLE SPENDED transcation is the real one??? Would it mean, if i as i miner, successfully double spended my coins?
1714979012
Hero Member
*
Offline Offline

Posts: 1714979012

View Profile Personal Message (Offline)

Ignore
1714979012
Reply with quote  #2

1714979012
Report to moderator
1714979012
Hero Member
*
Offline Offline

Posts: 1714979012

View Profile Personal Message (Offline)

Ignore
1714979012
Reply with quote  #2

1714979012
Report to moderator
1714979012
Hero Member
*
Offline Offline

Posts: 1714979012

View Profile Personal Message (Offline)

Ignore
1714979012
Reply with quote  #2

1714979012
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714979012
Hero Member
*
Offline Offline

Posts: 1714979012

View Profile Personal Message (Offline)

Ignore
1714979012
Reply with quote  #2

1714979012
Report to moderator
1714979012
Hero Member
*
Offline Offline

Posts: 1714979012

View Profile Personal Message (Offline)

Ignore
1714979012
Reply with quote  #2

1714979012
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
November 24, 2018, 09:25:53 PM
Merited by Foxpup (4), suchmoon (4), ABCbits (1)
 #2

How can Nodes protect me from Double spending?
They don't really.

What if i have like 10000 and ever more of Raspberry Pis at my home and therefore the maxm. no. of nodes in the network
There is no maximum number of nodes on the network. There is not and cannot be a maximum.

wid all of them saying DOUBLE SPENDED transcation is the real one???
It doesn't matter. Double spends are resolved by miners, not non-mining nodes. The number of nodes doesn't matter.

Would it mean, if i as i miner, successfully double spended my coins?
If you are a miner, you could double spend your own coins. Note that it isn't really a true double spend. You are not actually spending the same coin twice; rather you are simply spending the same coin in two transactions and only one of those transactions becomes final when it is included in the blockchain, presumably by you. However. double spending as a miner requires a significant amount of hashrate so the initial investment in mining hardware is very large and infeasible for most people.

HeRetiK
Legendary
*
Offline Offline

Activity: 2926
Merit: 2091


Cashback 15%


View Profile
November 26, 2018, 04:20:38 PM
 #3

How can Nodes protect me from Double spending? What if i have like 10000 and ever more of Raspberry Pis at my home and therefore the maxm. no. of nodes in the network wid all of them saying DOUBLE SPENDED transcation is the real one??? Would it mean, if i as i miner, successfully double spended my coins?

To extend on achow101's comment: The attack scenario you describe is also known as a Sybil attack. It's one of the reasons why Proof of Work was introduced as a consensus mechanism -- it's relatively easy to fake being multiple peers (e.g. by using thousands of Raspis), but it's impossible to fake Proof of Work.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
mixoftix
Full Member
***
Offline Offline

Activity: 135
Merit: 178

..


View Profile WWW
November 27, 2018, 10:24:23 PM
 #4

this note about Sybil attack (which you try to do with you raspi-army) is coming from https://en.bitcoin.it/wiki/Weaknesses that means your raspi-army could still be harmful to the entire network:

===================

Sybil attack

If an attacker attempts to fill the network with clients that they control, you would then be very likely to connect only to attacker nodes. Although Bitcoin never uses a count of nodes for anything, completely isolating a node from the honest network can be helpful in the execution of other attacks.

This state can be exploited in (at least) the following ways:

- the attacker can refuse to relay blocks and transactions from everyone, effectively disconnecting you from the network
- the attacker can relay only blocks that they create, effectively putting you on a separate network and then also leaving you open to double-spending attacks
- if you rely on transactions with 0 confirmations, the attacker can just filter out certain transactions to execute double-spending attacks
- low-latency encryption/anonymization of Bitcoin's transmissions (with Tor, JAP, etc.) can be defeated relatively easily with a timing attack if you're connected to several of the attacker's nodes and the attacker is watching your transmissions at your ISP

Bitcoin makes these attacks more difficult by only making an outbound connection to one IP address per /16 (x.y.0.0). Incoming connections are unlimited and unregulated, but this is generally only a problem in the anonymity case where you're probably already unable to accept incoming connections.

Looking for suspiciously-low network hash-rates may help prevent the second one.

Development of "Azim Blockchain" is in progress..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!