blockbook
blockbook copied to clipboard
Security fix for potential DoS issue
Tested with avalanche archive coin. Testing curls:
curl -vk "https://localhost:9199/api/address/0x779A2e26d925b64C04B50A9c40a334Cc4b218835?details=txs&page=9223372036854775807&pageSize=1000"
curl -vk "https://localhost:9199/api/address/0x779A2e26d925b64C04B50A9c40a334Cc4b218835?details=txs&page=-100&pageSize=1000"
curl -vk "https://localhost:9199/api/address/0x779A2e26d925b64C04B50A9c40a334Cc4b218835?details=txs&page=0&pageSize=9223372036854775807"
curl -vk "https://localhost:9199/api/blocks?page=9223372036854775807"