core: add senders' fees monitor to mempool

In order to simplify maintainance of overall current senders` fees
in the mempool we are to keep them in a separate map.
This commit is contained in:
Anna Shaleva 2020-05-18 11:20:41 +03:00
parent c3e08afe34
commit 1afd630169
6 changed files with 160 additions and 20 deletions

View file

@ -71,3 +71,7 @@ func (fs *FeerStub) IsLowPriority(util.Fixed8) bool {
func (fs *FeerStub) FeePerByte() util.Fixed8 {
return 0
}
func (fs *FeerStub) GetUtilityTokenBalance(acc util.Uint160) util.Fixed8 {
return util.Fixed8FromInt64(1000000)
}