krunch3r76 / gc__filterms Goto Github PK
View Code? Open in Web Editor NEWa package that facilitates whitelisting or blacklisting on golem from the command line
a package that facilitates whitelisting or blacklisting on golem from the command line
instead of whitelisting against names it would be useful to whitelist for certain provider features without fussing with the logic in the requestor code itself by invoking with an environment variable, which could be a json string.
an additional environment variable could be used to blacklist in the same way as whitelist
although this is underlying issue, the provider name is not unique, provider id is, so it should be used for filtering
if a custom strategy is being used by the l-user then this would replace it (by virtue of being passed in as the strategy to Golem( in lieue). this should be addressed by wrapping (or subclassing) a strategy upon construction if desired.
currently a white/blacklist prioritizes names over addresses. a bad actor could create a name that is an address and try to get blacklisted. however, once the actor leaves this identity, the address may remain in the white/blacklist and subsequently and unintentionally the eponymous address would be filtered.
one solution would be to define separate environment variables depending on whether names or addresses shall be filtered. this is the most simple but detracts from the simplicity of the tool a bit. alternatives are swimming in the tank.
ideally hashes are case insensitive
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.