-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
aelf-block-api/app/core/baseService.js
Lines 19 to 24 in 10f7cc3
| // TODO: move to config / redis / db | |
| const rollbackCount = 60; | |
| const unConfirmedList = ['transactions', 'blocks', 'resources']; | |
| // demo: ['from transactions_0 '], ['from blocks_0 '], ['from resource_0 '] | |
| const matchUnconfirmedReg | |
| = new RegExp(`from\\s*(${unConfirmedList.join('|')})_\\d*\\s*`, 'g'); |