[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance

Search:


View post   

>> No.26219212 [View]
File: 17 KB, 780x202, applayerpartitionexrd.png [View same] [iqdb] [saucenao] [google]
26219212

>>26218525
>writing a smart contract which requires all the infinite shards
Again, constraints at the app layer. From the whitepaper:
> the implementer must define the following pure functions for the application layer:
>INIT defines the initial state of the application. PARTITION yields the shards a command must be synchronized with to maintain correct partial ordering. When a command is to be executed, it is first mapped to per-shard intermediate results via MAP. The intermediate results are then reduced to a global result and applied across all shards of the command via REDUCE.

Navigation
View posts[+24][+48][+96]