Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
On Understanding Saito's Proof of Routing Work Consensus Mechanism Much like Christopher Nolan's film about nested dreams, Inception, from which Saito's namesake is inspired, wrapping one's head around the motivation behind Saito's many differences to standard Proof of Work/Stake (PoW & PoS) blockchain consensus can be a difficult intellectual exercise. In the same way that understanding more deeply someone's waking life will give you better insight into their dreams, understanding PoW & PoS more completely than commonly taught will make clear why Saito is designed the way it is. In PoW/PoS systems the incentive dictates that if you can author a new, valid, block for the chain, and the rest of the network agrees to publish it, you get a reward. In order for an authored block to be considered valid by the rest of the network, the transaction data must be accurate, and the authored block must contain proof that a certain challenge was met, either by giving the result to a difficult number crunching problem (proving work), or verifying proof that the author of the new block won a lottery with their own tokens in the system increasing their odds (proving stake). There is mining/staking to produce blocks, and there are "nodes" responsible for sharing, receiving and judging information from new blocks and transactions. And this is commonly how far classical blockchains are considered in a macro sense; what's missing from this description are specifics on how the nodes, rather than the miners/stakers might behave. After all, miners/stakers cannot earn rewards without first receiving information about transactions and sharing information about their proposed blocks. But are there good reasons why miners/stakers should always share all their transaction data, or propagate blocks which reward a competing miner/staker, or even to quickly share blocks which reward themselves? The answer is that since these network activities related to sharing information are not explicitly incentivized, strategic miners/stakers with certain advantages will abuse their ownership of this information in ways that harm the openness and decentralization of the network, but increase their rewards. The first issue this causes is expressed by "The Free Rider Problem" of economics. If a profit driven miner/staker can always get new block date and transaction information from a generous node, it may decide that running a node itself is not necessary, depending on how costly that is. Currently in Bitcoin, the cost of running a node is not very prohibitive, but in chains which need to store more data in the interests of increased functionality (smart contracts, storage, etc.), increased data throughput (transactions per second), or simply because they have a long history, the costs of being a node start becoming appearant. That data which must be stored somewhere for the blockchain to function becomes an ever increasing burden, and rational actors maximizing profits are not interested in hosting all that data for free. [double check infura numbers and add bit about aws and sources] Ethereum's network already reveals what happens to a late stage network when node hosting costs become prohibitive and the network fails to subsidize it - because hosting nodes is expensive and not directly incentivized, the miners on Ethereum raking in most of the rewards do not host public facing nodes.Today a centralized organization, Infura, founded by Ethereum co-founders hosts over 80% of Ethereum nodes used for its transaction data. The only way this is profitable is by controlling data on the network or by charging extra fees on transactions for going through Infura (this is where a portion of your Metamask fees go). Either way, the fact a single entity acts as a gateway for the majority of Ethereum should be a massive red flag to anyone interested in decentralization. This is not a problem that is solved by proof of stake, which relieves transaction time and fees - in fact, if PoS allows data on the Ethereum Blockchain to flow in more quickly, it exacerbates the issue. The second oversight which PoW/PoS harbor comes from the games rational miners can play with information to be more competitive. [Bitcoin whitepaper says nodes should be open? Check and add if true] A simple one is hoarding transaction information, keeping lucrative transactions to yourself so others can't earn the fees associated. The data may still reach other miners, but if it reaches less miners and takes longer its more opportunity for the hoarding party to earn the fees as compared to someone else. A more insidious tactic, called "selfish mining", involves groups of miners conspiring together to both get a head-start on mining a fresh block and undermine the rest of the network's work so far on what was thought would be the next block. 1(https://www.investopedia.com/terms/s/selfish-mining.asp, https://www.cs.cornell.edu/~ie53/publications/btcProcFC.pdf) These tactics are just part of the game of maximizing profits in Proof of Work derived incentive mechanisms, and although some Proof of Stake systems attempt to explicitly solve these issues, they do not address the underlying issues regarding what the network has incentive to reward, and while more complicated, simply end up shuffling the problem around rather than outright addressing it. These exploits in the system allow those with the power to abuse them, usually coming from the collusion of multiple large groups pooling their power in the system together, will not outright destroy it, rather they can use their power to earn more fees than they otherwise might, or other hash/stake power would earn (proportionally) - the most effective groups would be the most centralized, and it would be hard to notice unless they decided to attempt a high profile transaction reversal or one went investigating into how the nodes behaved. [Richard Parris has a blog post which could be linked here] So the "waking life" of classical PoW/PoS blockchains is that mining/staking is given resources explicitly by the system, but sharing of transaction data and up to date blocks is not, and hosting the data on the network is not, meaning that in order for nodes to make money, they must either act in service of a miner/staker owned by the same party (and with no incentive to share outside that party), or monetize their services which requires centralization like Infura. Much like Inception, Saito is not interested in playing whack-a-mole addressing all of these issue separately in the top layer; instead it delves into the most fundamental aspects of the system to make changes which flourish into a system which explicitly funds the entire network infrastructure solves these issues from the incentive layer. One big change this brings to the practical functioning of Saito is that efficiency is rewarded by the system. This means high data throughput which does not compromise security - in fact, the more data flowing through the network, the more expensive it becomes to attack. To understand, consider a high level overview of how a new block is created, then added to Saito: The first qualification to produce a new block is that the node proposing it must have accumulated a certain amount of "work" to be considered valid. Think of the work needed as a score. A proposed block increases its score by accepting transaction data from other nodes, or straight from an end user composing a transaction. The routing work is calculated based on the fee included in the transaction - the first node to receive the fee gets work equal to the fee, and secondary nodes receive one half of what the first node received in terms of work, and on and on with work received being cut in half each time its shared. It's helpful to skip ahead for a second and say that the rewards a node receives for its work will on average and across time will be proportional to the amount of work it contributed to whichever block gets accepted. Nodes have an incentive to accept transactions to increase their "work score," but they also have an incentive to share that same transaction data in order to increase the odds that the new block contains transactions they helped route, since their work doesn't count if it wasn't included in the block. All of the sudden, spreading transactions as far and wide as quickly as possible is the work which subsidizes the network. So nodes acting strategically to maximize work will optimize for collecting transaction data straight from users. But even if a node cannot source a large volume of lucrative fees straight from users, if they can collect transactions and fees from nodes which are broadcasting many high value transactions, even though they only receive half, they could still easily accumulate those fees simply by accepting and sharing them. Despite the fact that some nodes may be in situations where they are too far behind to win the race of accumulating enough work to author the next block, the network still incentivizes them to collect the work as it increases their chances of receiving the block rewards in proportion to that work.
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Untitled
52 sec ago | 0.20 KB
Untitled
1 min ago | 0.47 KB
Untitled
3 min ago | 0.36 KB
Untitled
4 min ago | 0.37 KB
Untitled
5 min ago | 0.98 KB
Untitled
6 min ago | 0.20 KB
Untitled
7 min ago | 0.31 KB
Untitled
9 min ago | 0.31 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!