erigon-pulse/cmd/puppeth
Mudit Gupta 0c2992922f cmd/faucet: use Twitter API instead of scraping webpage (#21850)
This PR adds support for using Twitter API to query the tweet and author details. There are two reasons behind this change:

- Twitter will be deprecating the legacy website on 15th December. The current method is expected to stop working then.
- More importantly, the current system uses Twitter handle for spam protection but the Twitter handle can be changed via automated calls. This allows bots to use the same tweet to withdraw funds infinite times as long as they keep changing their handle between every request. The Rinkeby as well as the Goerli faucet are being actively drained via this method. This PR changes the spam protection to be based on Twitter IDs instead of usernames. A user can not change their Twitter ID.

# Conflicts:
#	cmd/faucet/faucet.go
2021-03-08 14:31:14 +01:00
..
testdata cmd/puppeth: update chain spec of parity (#20241) 2019-12-03 13:45:56 +01:00
genesis_test.go cmd/puppeth: update chain spec of parity (#20241) 2019-12-03 13:45:56 +01:00
genesis.go all: remove redundant conversions and import names (#21903) 2021-03-08 12:43:02 +01:00
module_dashboard.go all: fix typos in comments (#21118) 2020-06-15 19:38:13 +03:00
module_ethstats.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
module_explorer.go cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs (#21317) 2020-08-07 12:54:50 +02:00
module_faucet.go cmd/faucet: use Twitter API instead of scraping webpage (#21850) 2021-03-08 14:31:14 +01:00
module_nginx.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
module_node.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
module_wallet.go cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs (#21317) 2020-08-07 12:54:50 +02:00
module.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
puppeth.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
ssh.go apply post-rebase fixups 2019-12-03 16:27:57 +01:00
wizard_dashboard.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_ethstats.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_explorer.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_faucet.go cmd/faucet: use Twitter API instead of scraping webpage (#21850) 2021-03-08 14:31:14 +01:00
wizard_genesis.go all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-12-03 17:37:38 +01:00
wizard_intro.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_netstats.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_network.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_nginx.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_node.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard_wallet.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
wizard.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00