storj/testsuite/storjscan
Márton Elek 97a89c3476 satellite: switch to use nodefilters instead of old placement.AllowedCountry
placement.AllowedCountry is the old way to specify placement, with the new approach we can use a more generic (dynamic method), which can check full node information instead of just the country code.

The 90% of this patch is just search and replace:

 * we need to use NodeFilters instead of placement.AllowedCountry
 * which means, we need an initialized PlacementRules available everywhere
 * which means we need to configure the placement rules

The remaining 10% is the placement.go, where we introduced a new type of configuration (lightweight expression language) to define any kind of placement without code change.

Change-Id: Ie644b0b1840871b0e6bbcf80c6b50a947503d7df
2023-07-07 16:55:45 +00:00
..
storjscantest all: fix math/rand deprecations 2023-02-17 15:05:54 +02:00
backfill_test.go testsuite/storjscan: add backfill payments test 2022-10-04 18:56:48 +00:00
chore_test.go satellite/payments/storjscan: use currency.Ammount for token and usd values 2022-09-14 15:15:26 +02:00
client_test.go satellite/payments/storjscan: use currency.Ammount for token and usd values 2022-09-14 15:15:26 +02:00
go.mod satellite: switch to use nodefilters instead of old placement.AllowedCountry 2023-07-07 16:55:45 +00:00
go.sum satellite: switch to use nodefilters instead of old placement.AllowedCountry 2023-07-07 16:55:45 +00:00