|
@ -26,14 +26,14 @@ options.forEach(options => { |
|
|
|
|
|
|
|
|
const vain = new Vain(options); |
|
|
const vain = new Vain(options); |
|
|
|
|
|
|
|
|
if (!isCI) { |
|
|
if (!isCI) { |
|
|
vain.on('update', data => { |
|
|
vain.on('update', data => { |
|
|
const duration = prettyMs(data.duration); |
|
|
const duration = prettyMs(data.duration); |
|
|
const {attempts} = data; |
|
|
const {attempts} = data; |
|
|
const speed = `${data.addressesPerSecond} addr/s`; |
|
|
const speed = `${data.addressesPerSecond} addr/s`; |
|
|
console.log(`Duration: ${duration} | Attempts: ${attempts} | Speed: ${speed}`); |
|
|
console.log(`Duration: ${duration} | Attempts: ${attempts} | Speed: ${speed}`); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
vain.on('found', data => { |
|
|
vain.on('found', data => { |
|
|
console.log(); |
|
|
console.log(); |
|
|