dckc / madmode-blog

my tinkering notebook (blog)
https://www.madmode.com
0 stars 2 forks source link

nkn - study whitepaper; run node? #124

Open dckc opened 3 years ago

dckc commented 3 years ago

NKN | Network Infrastructure for Decentralized Internet

jimscarver commented 3 years ago

NKN might serve off rchain p2p transactions. I see a future where most transactions are off chain. NKM does have a chain for proofs but privacy respecting afaik. It should not be too hard to integrate rust-rholang with the NKN golang. https://github.com/search?q=topic%3Ap2p+org%3Anknorg&type=Repositories I suppose all the p2p content could include rholang

jimscarver commented 3 years ago

We might start by adding NKN capability to our rchain clients https://github.com/nknorg/nkn-sdk-js

jimscarver commented 3 years ago

NKN might act like an oracle connecting among external channels employing capTP erights with support for external channel proxies on rchain,

dckc commented 3 years ago

I read https://nkn.org/wp-content/uploads/2020/10/NKN_Whitepaper.pdf March 13, 2018 Version: 1.0

The cellular automata consensus stuff looks plausible, though I'm not yet clear on what they are getting consensus on.

NKN designed a highly scalable consensus algorithm called Major Vote Cellular Automata (MOCA) which is based on a Cellular Automata and Ising model

It refers to a separate document on economics...

dckc commented 3 years ago

I'm packing for a road trip, verifying access to my home office via reverse ssh tunnel and to code-server on my colo node... it reminds me of nConnect. Hm... $3.99/month. I expected to pay with sysadmin effort, not $. But it's a good sign that NKN h as actual revenue. And perhaps the money is a good trade for my time.

Meanwhile, perhaps I'll try out nMobile | Messaging without borders, especially since I failed to sync signal messenger.

dckc commented 3 years ago

I got my node started. id e37c79b209564e078bf0525033b2e407feb1397d5ca325de8cd7f9bc0103dda6. todo: write up generate ID fee story... ERC20 swap

it's down while I grab a recent copy of the ChainDB.

see also: nkn bookmarks

http://nstatus.org/

tab dump: Getting Started · tmux/tmux Wiki: https://github.com/tmux/tmux/wiki/Getting-Started nknorg/tuna: A free market to use service by paying NKN or host service to earn NKN: https://github.com/nknorg/tuna nknorg/nkn-shell-daemon: NKN shell daemon: https://github.com/nknorg/nkn-shell-daemon nknorg/nkn: Official Go implementation of NKN full node.: https://github.com/nknorg/nkn Setting up a NKN Miner in 5 Minutes and run it free for 2 months with DigitalOcean - Nodes & Mining / Tutorials - forum.nkn.org: https://forum.nkn.org/t/setting-up-a-nkn-miner-in-5-minutes-and-run-it-free-for-2-months-with-digitalocean/90 Frustrating : nknblockchain: https://www.reddit.com/r/nknblockchain/comments/nm06lr/frustrating/ nStatus: http://nstatus.org/ Home | nScan.io - the official NKN explorer: https://nscan.io/ FAQ · tmux/tmux Wiki: https://github.com/tmux/tmux/wiki/FAQ

dckc commented 3 years ago

It keeps failing:

2021/06/13 21:59:13.435788 [ERROR] GID 11242, Sync blocks error with batch size 4: all workers failed
2021/06/13 21:59:13.436516 [WARN ] GID 117979, Get blocks error: Remote node has stopped
2021/06/13 21:59:13.436702 [WARN ] GID 117979, Get blocks error: Remote node has stopped
2021/06/13 21:59:13.436820 [WARN ] GID 117979, Get blocks error: Remote node has stopped
...
2021/06/13 21:59:14.478784 [FATAL] GID 11242, [consensus.go:L341 func2()] Error syncing blocks: sync blocks error: all workers failed