ঢ়ଶػցͱͯ͠ͷΠʔαϦΞϜ ͋Δ࣌Uͷঢ়ଶМ U ͔Βɺ࣍ͷঢ়ଶМ U ɺτϥϯβΫγϣϯʹΑͬͯભҠ͢Δ Ethereum, taken as a whole, can be viewed as a transaction-based state machine [Ethereum Yellow Paper]
ঢ়ଶػցͱͯ͠ͷΠʔαϦΞϜϒϩοΫੜʹΑΔঢ়ଶભҠͷੵΈॏͶ τϥϯβΫγϣϯରԠ͢ΔݸʑͷΞΧϯτͷঢ়ଶΛมԽͤ͞Δ ωοτϫʔΫτϥϯβΫγϣϯΛूΊɺঝೝͯ͠ϒϩοΫΛੜ͢Δ Ethereum, taken as a whole, can be viewed as a transaction-based state machine [Ethereum Yellow Paper] ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ ʜʜʜ
The world state (state), is a mapping between addresses (160-bit identifiers) and account states (a data structure serialised as RLP,..) [Ethereum Yellow Paper Chapter 4] XPSMETUBUFΞυϨεͱঢ়ଶͷϚοϐϯάͰද͞ΕΔ ΞυϨε͕Ωʔ ঢ়ଶ͕ 3-1Τϯίʔυ͞Ε͍ͯΔ ߴ /PODF $PEFIBTI 4UBUF3PPU Y%%"&#G&#$$#'EBD% YCEDCCDEECD YFDEFDBEFGBDFG
Though not stored on the blockchain, it is assumed that the implementation will maintain this mapping in a modified Merkle Patricia tree [Ethereum Yellow Paper Chapter 4] ϚοϐϯάϚʔΫϧύτϦγΞͱͯ͠อଘ͞ΕΔ LFZWBMVFͰঢ়ଶΛอଘ͢ΔͨΊͷσʔλߏ ޮతͳΩʔ୳ࡧ CJUDPJOͰ͓ͳ͡ΈͷϚʔΫϧπϦʔ .FSLMF5SFF.FSLMF1SPPG %& %&" '$
Though not stored on the blockchain, it is assumed that the implementation will maintain this mapping in a modified Merkle Patricia tree [Ethereum Yellow Paper Chapter 4] ϚοϐϯάϚʔΫϧύτϦγΞͱͯ͠อଘ͞ΕΔ LFZWBMVFͰঢ়ଶΛอଘ͢ΔͨΊͷσʔλߏ ޮతͳΩʔ୳ࡧ CJUDPJOͰ͓ͳ͡ΈͷϚʔΫϧπϦʔ .FSLMF5SFF.FSLMF1SPPG W W W W I W I W I W
I W
I I W I W
I I W I W
I ʜ
/ W W W I W I W I W
I O
I I O I W
I I W I W
I ʜ @OFX ϦʔϑϊʔυͷϋογϡΛͤࠜ͞ϊʔυͷϋογϡΛ࡞Δ ༿ͷΛมߋ͢Δͱࠜϊʔυͷϋογϡ͕มΘΔ શମΛΒͳͯ͘༿ͷͷଘࡏΛ͔֬ΊΒΕΔ
Though not stored on the blockchain, it is assumed that the implementation will maintain this mapping in a modified Merkle Patricia tree [Ethereum Yellow Paper Chapter 4] ϚοϐϯάϚʔΫϧύτϦγΞͱͯ͠อଘ͞ΕΔ LFZWBMVFͰঢ়ଶΛอଘ͢ΔͨΊͷσʔλߏ ޮతͳΩʔ୳ࡧ CJUDPJOͰ͓ͳ͡ΈͷϚʔΫϧπϦʔ .FSLMF5SFF.FSLMF1SPPG W W W W I W I W I W
I W
I I W I W
I I W I W
I ʜ
/ W W W I W I W I W
I O
I I O I W
I I W I W
I ʜ @OFX ϦʔϑϊʔυͷϋογϡΛͤࠜ͞ϊʔυͷϋογϡΛ࡞Δ ༿ͷΛมߋ͢Δͱࠜϊʔυͷϋογϡ͕มΘΔ શମΛΒͳͯ͘༿ͷͷଘࡏΛ͔֬ΊΒΕΔ
5SJF͔Β1BUSJDJB5SJF 5SJFͷϝϞϦফඅྔͷʹରॲ ࢠϊʔυ͕͔ͭ͠ͳ͍ϊʔυΛࢠͱϚʔδ 1SBDUJDBM"MHPSJUINUP3FUSJFWF*OGPSNBUJPO$PEFEJO"MQIBOVNFSJDΒ͍͠ σʔλͷૢ࡞ίετͳͲτϥΠͱಉ͡Φʔμ E D P H F O F B U Q EP DB H F O F U Q EP DB HF OF U Q τϥΠ ύτϦγΞ
LFZʹର͢ΔWBMVFͷγϦΞϥΠζํࣜ3-1&ODPEJOH The purpose of RLP is to encode arbitrarily nested arrays of binary data, and RLP is the main encoding method used to serialize objects in Ethereum. [Ethereum Wiki] ܕΛѻΘͳ͍γϯϓϧͳγϦΞϥΠζख๏ ϦετߏΛऔΓѻ͑Δ LFZWBMVFͷϚοϓαϙʔτ͍ͯ͠ͳ͍ ఆٛ ΤϯίʔυͰ͖ΔͷΞΠςϜ จࣈྻΞΠςϜ ΞΠςϜͷϦετΞΠςϜ όΠτྻΛѻ͏ lEPHz