mostly-minimal-spanning-tree
Version:
MMST is used to create spanning trees in P2P networks while minimizing connections per node
21 lines (13 loc) • 370 B
JavaScript
const test = require('tape')
module.exports = (harness) => {
test('happy path', async (t) => {
// Initialize
// Create a bunch of peers
})
test('fewer peers than sample size')
test('more peers than sample size')
test('unable to connect to peer')
test('able to connect to second peer')
test('large sample size')
test('small sample size')
}