Yahya Hassanzadeh
|
8866ca88a1
|
Enables non-atomic validation for peer scoring parameters (#499)
* decouples topic scoring parameters
* adds skiping atomic validation for topic parameters
* cleans up
* adds skip atomic validation to peer score threshold
* adds skip atomic validation for peer parameters
* adds test for non-atomic validation
* adds tests for peer score
* adds tests for peer score thresholds
* refactors tests
|
2022-09-08 08:20:23 +03:00 |
|
Marten Seemann
|
4f56e8f0a7
|
update go-libp2p to v0.22.0 (#498)
* update go-libp2p to v0.22.0
* skip TestGossipsubConnTagMessageDeliveries
|
2022-08-26 02:45:41 -07:00 |
|
protolambda
|
566fdfa6fc
|
fix unused GossipSubHistoryGossip, make seenMessages ttl configurable, make score params SeenMsgTTL configurable
|
2022-05-24 22:20:42 +03:00 |
|
nisdas
|
eda69749ab
|
fix bug
|
2021-03-31 18:27:14 +03:00 |
|
nisdas
|
7644a650ff
|
add last amount of validation
|
2021-03-31 18:27:14 +03:00 |
|
nisdas
|
3ea6751619
|
add threshold validation
|
2021-03-31 18:27:14 +03:00 |
|
nisdas
|
5cd1316efc
|
strengthen validation
|
2021-03-31 18:27:14 +03:00 |
|
vyzo
|
69868db8cf
|
remove obsolete explicit IP whitelisting in favor of subnets
|
2021-02-12 21:47:58 +02:00 |
|
vyzo
|
84f577bdd1
|
add subnet whitelisting for IPColocation
|
2021-02-12 21:47:58 +02:00 |
|
vyzo
|
b7c28b504d
|
add behaviour penalty threshold
|
2020-08-20 18:03:32 +03:00 |
|
vyzo
|
1c85190323
|
make p4 quadratic
|
2020-05-08 21:20:04 +03:00 |
|
vyzo
|
41f0c2fa96
|
update godoc for P7
|
2020-05-08 16:45:31 +03:00 |
|
vyzo
|
53c2662613
|
godoc
|
2020-05-07 01:45:04 +03:00 |
|
vyzo
|
6323982964
|
fix test for behaviour penalty validation
|
2020-05-06 19:41:53 +03:00 |
|
vyzo
|
972505c7b8
|
fix typo
|
2020-05-06 19:41:53 +03:00 |
|
vyzo
|
3cc169362f
|
incorporate p7 into score
|
2020-05-06 19:41:53 +03:00 |
|
vyzo
|
ee0aef578c
|
add p7 configuration to score parameters
|
2020-05-06 19:41:53 +03:00 |
|
vyzo
|
27b987071d
|
add defaults for DecayInterval and DecayToZero
|
2020-04-29 22:40:44 +03:00 |
|
vyzo
|
d9788290f3
|
add utility function for computing score parameter decays
|
2020-04-29 22:40:44 +03:00 |
|
vyzo
|
61a13a3ed7
|
validate that TimeInMeshQuantum is non-zero
otherwise we get a division by zero
|
2020-04-22 21:52:10 +03:00 |
|
vyzo
|
2fdf6cdaed
|
opportunistic grafting
|
2020-04-18 11:09:06 +03:00 |
|
Raúl Kripalani
|
fc38f556a3
|
comments and nits.
|
2020-04-18 11:09:06 +03:00 |
|
vyzo
|
ea7305245d
|
add IP whitelist for colocation factor penalty
|
2020-04-18 11:09:06 +03:00 |
|
vyzo
|
c65a520799
|
topic score cap
|
2020-04-18 11:09:06 +03:00 |
|
vyzo
|
65cff1b421
|
godoc nits for parameter weights.
|
2020-04-18 11:09:06 +03:00 |
|
vyzo
|
bb279e3126
|
wrap topic param validation error
|
2020-04-18 11:09:06 +03:00 |
|
vyzo
|
71ab9c1d73
|
use a struct for aggregating score thresholds
|
2020-04-18 11:09:06 +03:00 |
|
vyzo
|
375b66b0c1
|
move score parameter types to their own file
|
2020-04-18 11:09:06 +03:00 |
|