From b18ac40bd4316be542099043b7500d92aa74bce4 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Mon, 28 Oct 2024 17:35:49 -0400 Subject: [PATCH] update --- ...centralized, Firewall-Resistant Peer-to-Peer DNS System.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown/Decentralized, Firewall-Resistant Peer-to-Peer DNS System.md b/markdown/Decentralized, Firewall-Resistant Peer-to-Peer DNS System.md index 7886faa..fb29ecb 100644 --- a/markdown/Decentralized, Firewall-Resistant Peer-to-Peer DNS System.md +++ b/markdown/Decentralized, Firewall-Resistant Peer-to-Peer DNS System.md @@ -101,7 +101,7 @@ In this system, **Hyperdrive** integrated with `dnsCore` presents a theoretical ```javascript // Hypothetical TX record for the example.p2p domain - const txDrive = new Hyperdrive(store, { name: 'example.p2p' }); + const txDrive = new Hyperdrive(store, { name: 'account.example.p2p' }); await txDrive.ready(); await txDrive.put('/tx/wallet123.json', Buffer.from(JSON.stringify({ type: "TX", @@ -118,7 +118,7 @@ In this system, **Hyperdrive** integrated with `dnsCore` presents a theoretical ```javascript // Hypothetical PEER record for the service.peer domain - const peerDrive = new Hyperdrive(store, { name: 'service.peer' }); + const peerDrive = new Hyperdrive(store, { name: 'node.service.peer' }); await peerDrive.ready(); await peerDrive.put('/peers/node456.json', Buffer.from(JSON.stringify({ type: "PEER",