Comments (3)
I suggest file pattern (glob) matching to avoid redos attacks
from rchip-proposals.
According to @nzpr we need to consider how this interacts with cost accounting. i.e. can we cost account for this easily ?
from rchip-proposals.
I think it is not that difficult to account.
If we do it the first way "abcD".test(["a-z", "A-Z"])
then the cost could be [cost proportionnal to length] * [number of validations]. In this case their are 2 regexp validations to perform.
If we do it the second way "abcD".containsUppercases()
then their is a cost proportionnal to string length each time the function is called.
How about that ?
from rchip-proposals.
Related Issues (20)
- how to estimate cost of a deploy?
- registry insert without bundle+ is a footgun; add insertBundled
- RChain light client? Merkle tree to transactions? (IBC for RChain?) HOT 6
- Create a standard procedure for external development HOT 1
- Add string functions HOT 3
- Prepaid rholang execution PRE
- binary attachments on an enhanced DeployData message HOT 6
- provide for data retention and storage payment HOT 6
- Export of REV vault state (REV balances)
- Hard Fork 1
- Soft-fork Mechanism HOT 1
- Hard Fork 1 - bonded REVs minted twice
- remote channels and deploys for cross-shard interaction HOT 2
- rapid rotation of validators, staking longevity rewards and open/flexible enrollment
- REV price stabilization and minting for validator rewards and coop treasury
- rholang 1.1 -> 1.0 dev tool a la babel HOT 9
- Parser/interpreter access within rholang HOT 2
- transparent proxy support HOT 1
- BigInt and Float support HOT 3
- String explode HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rchip-proposals.