Skip to content

move to config / redis / db #2

@todo

Description

@todo

// 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');


This issue was generated by todo based on a TODO comment in 10f7cc3. It's been assigned to @hzz780 because they committed the code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions