Closed robertkiel closed 3 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.
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.