三罷
2021-02-16 16:14:52
P-chain 你當係store 所有subnet metadata 既主鏈
subnet 之間主要既connection 靠佢
C-chain 係行smart contract 用既chain
P / C chain 用既叫「snowman consensus」,data structure 似blockchain (linear)
X-chain 用既係「avalanche consensus」,data structure 係DAG。主要用於transfer (因為DAG allow more parallelism -> increase throughput)
Smart contract 要求absolutle txn orders 所以一定要用C-chain