This commit is contained in:
Raven Scott
2026-05-20 21:02:45 -04:00
parent 1f3f4b24a2
commit 14d0980b4f
734 changed files with 682 additions and 746 deletions
@@ -0,0 +1,9 @@
require('bare-process/global')
const { HyperP2PPheromoneTrail } = require('../index.js')
async function main () {
const p = new HyperP2PPheromoneTrail()
p.deposit('path-a', 1, 'peer-z')
console.log('best', p.bestPath('peer-z'))
await p.close()
}
main().catch(console.error)