Neptune-Crypto / neptune-core

anonymous peer-to-peer cash
Apache License 2.0
23 stars 7 forks source link

Add test that verifies that peer refuses a transaction with a timestamp too far into the future #152

Open Sword-Smith opened 1 month ago

Sword-Smith commented 1 month ago

We used to have a check in the mempool that would reject such transactions from entering the mempool, but with the addition of the timelock typescript that was removed. This check happens in peer_loop.rs but there is no test for it.

Please add one.