thor icon indicating copy to clipboard operation
thor copied to clipboard

是否有抵抗长程攻击的机制

Open IkarosCoCo opened this issue 5 years ago • 4 comments

想请教下唯链是否有抵抗长程攻击的相应机制,比如时间惩罚或者检查点之类的?

IkarosCoCo avatar Jun 06 '19 10:06 IkarosCoCo

为了应对长程攻击,唯链在区块头里面加入了totalScore字段。在产生分叉时,totalScore作为主链选择的依据,类似以太坊的totalDifficulty。

在一个去中心化的p2p网络里,很多时候无法区分某个节点是恶意的,还是由于网络不通畅,因此,on-chain的惩罚机制被认为是不合适的或者说很难实现。当前的设想是通过链下审计 + 链上投票结合的方式来惩罚认定的恶意节点。

qianbin avatar Jun 08 '19 06:06 qianbin

如果是在dag中,这种链下审计+😂链上投票模式就死翘翘了

Qian Bin [email protected] 于2019年6月8日周六 下午2:01写道:

为了应对长程攻击,唯链在区块头里面加入了totalScore字段。在产生分叉时,totalScore作为主链选择的依据,类似以太坊的totalDifficulty。

在一个去中心化的p2p网络里,很多时候无法区分某个节点是恶意的,还是由于网络不通畅,因此,on-chain的惩罚机制被认为是不合适的或者说很难实现。当前的设想是通过链下审计

  • 链上投票结合的方式来惩罚认定的恶意节点。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vechain/thor/issues/263?email_source=notifications&email_token=ABD74TE4BZGARVSGFMRTHEDPZNDLBA5CNFSM4HU764MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHOOZQ#issuecomment-500098918, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD74TARF3OPZCNA5IFHGMDPZNDLBANCNFSM4HU764MA .

laohanlinux avatar Jun 08 '19 16:06 laohanlinux

对dag不熟悉😂

如果是在dag中,这种链下审计+😂链上投票模式就死翘翘了 Qian Bin [email protected] 于2019年6月8日周六 下午2:01写道:

qianbin avatar Jun 08 '19 16:06 qianbin

只要审计+投票过程够快,个人也觉得挺好的

Qian Bin [email protected] 于2019年6月9日周日 上午12:57写道:

对dag不熟悉😂

如果是在dag中,这种链下审计+😂链上投票模式就死翘翘了 Qian Bin [email protected] 于2019年6月8日周六 下午2:01写道: … <#m_-6728488732362818328_>

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vechain/thor/issues/263?email_source=notifications&email_token=ABD74THCN5MDICGOD3TTK63PZPQHZA5CNFSM4HU764MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHYUIA#issuecomment-500140576, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD74TEJJPGKBSNX5PCRRDTPZPQHZANCNFSM4HU764MA .

laohanlinux avatar Jun 08 '19 17:06 laohanlinux