hoprnet / hopr-core

Main repository of HOPR - this is all you need to run a node on the HOPR network!
https://hoprnet.org
GNU General Public License v3.0
14 stars 5 forks source link

Redeem tickets #79

Closed robertkiel closed 3 years ago

robertkiel commented 4 years ago

Whenever a node receives a packet, it stores the unacknowledged packets in the database and replaces these entries by acknowledged packets once it receives the acknowledgement.

Winning tickets should be redeemed.

nionis commented 4 years ago

@robertkiel When we were discussing on who should be storing tickets (hopr-core vs hopr-core-ethereum), the conclusion was to go for hopr-core. To do that I implemented this so it can be used by hopr-core.

Doesn't it make more sense for hopr-core-ethereum to store tickets and only use hopr-core store unacknowledged / acknowledged packets? I also see that this issue was created for hopr-core-ethereum which makes me think that we are on the same page here.