Skip to content

Commit

Permalink
adds rate limit to reduce power of bots
Browse files Browse the repository at this point in the history
* adds actions_per_block to Adventurer which is stored via 4 bits (0-15)
* rate limit is dynamic based on starknet block speed
* target is two actions per minute
  • Loading branch information
loothero committed Oct 2, 2023
1 parent 51d2226 commit d65f5cf
Show file tree
Hide file tree
Showing 11 changed files with 277 additions and 145 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ contracts/beasts/target/CACHEDIR.TAG

keys
account
loot-survivor.pem
loot-survivor.pem
contracts/game_entropy/target/CACHEDIR.TAG
contracts/game_entropy/target/dev/game_entropy.sierra
Loading

0 comments on commit d65f5cf

Please sign in to comment.