No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
243 | 243 | this.add('sendrawairdrop', this.sendRawAirdrop); |
|
244 | 244 | this.add('validateresource', this.validateResource); |
|
245 | 245 | ||
246 | + | this.add('resetrootcache', this.resetRootCache); |
|
247 | + | ||
246 | 248 | // Compat |
|
247 | 249 | // this.add('getnameinfo', this.getNameInfo); |
|
248 | 250 | // this.add('getnameresource', this.getNameResource); |
2499 | 2501 | return resource.toJSON(); |
|
2500 | 2502 | } |
|
2501 | 2503 | ||
2504 | + | async resetRootCache(args, help) { |
|
2505 | + | if (help || args.length !== 0) |
|
2506 | + | throw new RPCError(errs.MISC_ERROR, 'resetrootcache'); |
|
2507 | + | ||
2508 | + | if (!this.node.ns) |
|
2509 | + | return null; |
|
2510 | + | ||
2511 | + | this.node.ns.cache.reset(); |
|
2512 | + | ||
2513 | + | return null; |
|
2514 | + | } |
|
2515 | + | ||
2502 | 2516 | /* |
|
2503 | 2517 | * Helpers |
|
2504 | 2518 | */ |
Learn more Showing 3 files with coverage changes found.
lib/utils/binary.js
lib/protocol/consensus.js
lib/covenants/rules.js
Files | Coverage |
---|---|
lib | -0.02% 62.45% |
Project Totals (129 files) | 62.45% |
#451
cdc73fd
932e193
#451
837ecb0
a0dd812
1d72519