Talentica / simpleblockchain

Modular framework to develop blockchain applications
Apache License 2.0
10 stars 4 forks source link

Messages Drop in P2P layer #109

Open gauravagarwaltal opened 4 years ago

gauravagarwaltal commented 4 years ago

Peers are not able to receive Consensus and Node messages.

To Reproduce Steps to reproduce the behavior:

  1. Use setup on ampool machines (172.29.8.14, 172.29.8.15, 172.29.8.16, 172.29.8.17)
  2. cd rust_project/simpleblockchain
  3. cargo build --all-targets
  4. cd target/debug
  5. TO run peer, ENTER ./node -C aura.toml
  6. Use machine 172.29.8.17 to send dummy transactions
  7. Enter cmd to run client ./wallet_app_client
  8. Enter 8 to start the process

The Client will send transactions initially with 1TPS and then increase till 5TPS.

Expected behavior Peer should broadcast incoming transactions to other peer successfully. Peers should create blocks and other peers able to receive it and respond accordingly.

What is happening When the client sends transactions with higher TPS, suddenly Consensus messages are not delivered to other peers, and rarely transaction broadcast also not happening.