-
- Downloads
Feat: Add PoW for messages (#511)
* add pow and nonce to the message
* add pow plugin
* fix pow tests
* fix linter warnings
* fix typo
* fix panic when messagelayer is disabled
* improve logging
* fix typo
* make the pow check a byte filter
* decrease the test PoW difficulty even further
* expose the pow filter and use it in the pow plugin
* Apply suggestions from code review
* make length of nonce a const
Co-authored-by:
Luca Moser <moser.luca@gmail.com>
Showing
- plugins/pow/pow.go 81 additions, 0 deletionsplugins/pow/pow.go
- tools/docker-network/config.docker.json 5 additions, 0 deletionstools/docker-network/config.docker.json
- tools/docker-network/docker-compose.yml 1 addition, 1 deletiontools/docker-network/docker-compose.yml
- tools/integration-tests/tester/framework/parameters.go 1 addition, 1 deletiontools/integration-tests/tester/framework/parameters.go
Loading
Please register or sign in to comment