Skip to content

Tags: ORIGYN-SA/ic

Tags

rosetta-api-1.4.0

Toggle rosetta-api-1.4.0's commit message
Merge branch 'ielashi/populate_network_topology' into 'master'

Populate ECDSA subnets and bitcoin testnet subnets in NetworkTopology

This PR stores the SubnetFeatures in the NetworkTopology and adds methods
to return the ECDSA and bitcoin testnet subnets. This is relevant information
to be able to route ECDSA and bitcoin requests to the appropriate subnets.

Closes EXC-976 

Closes EXC-976

See merge request dfinity-lab/public/ic!3476

ledger-archive-rc-20220214

Toggle ledger-archive-rc-20220214's commit message
Merge branch 'roman-ledger-archive-upgrade' into 'master'

[ROSETTA1-215] speedup ledger archive upgrades

This change reduces cycle consumption on ledger archive canister upgrades.

Summary of changes:

1. Use `ByteBuf` instead of `Box<[u8]>` for representing encoded blocks.
   This reduces cycle consumption on upgrades by an order of magnitude.

       Before (pre_upgrade):    56245588903
       After (pre_upgrade):       878985739
       Before (post_upgrade): 1128908356060
       After (post_upgrade):    13708370599

2. Copy stable memory into a vector on post_upgrade instead of using StableReader.
   This reduces the cycle consumption by a factor of 2. 

See merge request dfinity-lab/public/ic!3131