Commit Graph

22 Commits

Author SHA1 Message Date
vyzo 7d862e2ee6 double check delivery to aboid duplicate counts 2020-04-18 11:09:06 +03:00
vyzo 48b7d01113 finetune sticky mesh failure penalty parameter 2020-04-18 11:09:06 +03:00
vyzo f40b06e515 sticky mesh failure penalty parameter 2020-04-18 11:09:06 +03:00
vyzo b7a49b2708 clean up the logic of mesh delivery window 2020-04-18 11:09:06 +03:00
vyzo 5fa0f9ed6a more logical code ordering 2020-04-18 11:09:06 +03:00
vyzo ca6778bc83 simplify duplicate mesh delivery tracking 2020-04-18 11:09:06 +03:00
vyzo 9c0b96f4e7 comment cosmetics 2020-04-18 11:09:06 +03:00
vyzo e17e266aa9 track message delivery time within the validation pipeline 2020-04-18 11:09:06 +03:00
vyzo 3610b05538 peer tracking 2020-04-18 11:09:06 +03:00
vyzo 283593fbc0 mesh tracking 2020-04-18 11:09:06 +03:00
vyzo 535c04481e minimize hash table accesses 2020-04-18 11:09:06 +03:00
vyzo 16eeacd798 message delivery tracking 2020-04-18 11:09:06 +03:00
vyzo dd3ce7760c respect the time in mesh cap 2020-04-18 11:09:06 +03:00
vyzo 8c0deb877d respec decay to zero parameter in counter decay 2020-04-18 11:09:06 +03:00
vyzo b1aff8d752 add nil check in Score function
necessary for when the score is not specified in gossipsub router.
2020-04-18 11:09:06 +03:00
vyzo 398fb82e5f fix peer IP tracking structure 2020-04-18 11:09:06 +03:00
vyzo 20e3cf02b1 peer score refresh: counter decay and mesh activation 2020-04-18 11:09:06 +03:00
vyzo 38883df429 peer score calculation 2020-04-18 11:09:06 +03:00
vyzo 8d82c2bdec explicit Start for peer scoring to inject the router
so that we can unit test without a router.
2020-04-18 11:09:06 +03:00
vyzo a02c4136b1 peer score parameters 2020-04-18 11:09:06 +03:00
vyzo c13e9c07e4 hook peer score into control message handlers 2020-04-18 11:09:06 +03:00
vyzo 7d928697a2 peer score scaffolding 2020-04-18 11:09:06 +03:00