elective-stereophonic
elective-stereophonic
Any improvement in the Ardor forging protocol to avoid attacks with false chains? singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Author Topic: Any improvement in the Ardor forging protocol to avoid attacks with false chains?  (Read 578 times)

sirpask

  • Jr. Member
  • **
  • Karma: +9/-0
  • Offline Offline
  • Posts: 93
    • View Profile

if my node is connected to 8 nodes, seven of which are trying to trick me by presenting me with a fake blockchain, but one presents a legitimate string.

Is there any way for my node (automatically) to detect the only good node and ban the other 7 false nodes?

The power of forged and what decides that Blockchain would be the correct one is the amount of NXT or Ardors that the attackers have?




Logged

petko

  • Jr. Member
  • **
  • Karma: +24/-0
  • Offline Offline
  • Posts: 94
    • View Profile
    • My blog

Yes, your node should automatically blacklist the 7 rogue peers. The code for that is in BlockchainProcessorImpl.java line 655

What is used to decide the "true" chain is the cumulative difficulty of the chain, which is proportional to the amount of forging power used to build that chain.
Logged

sirpask

  • Jr. Member
  • **
  • Karma: +9/-0
  • Offline Offline
  • Posts: 93
    • View Profile

thanks petko!! doubt solved!!
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly