stable-structures icon indicating copy to clipboard operation
stable-structures copied to clipboard

A collection of data structures for fearless canister upgrades.

Results 35 stable-structures issues
Sort by recently updated
recently updated
newest added

It would be very useful to support the following: ``` #[derive(CandidType, Deserialize, Storable, BoundedStorable)] struct UserProfile { token0_balance: u64, token1_balance: u64, } ```

This change introduces a new stable structure, `CertifiedSeq`. Clients cannot access this type directly; it will serve as a basis for implementing a certified log data structure.

The `init` APIs of `StableBTreeMap` and `StableVec` returns inconsistent results: 1. `StableBTreeMap::init` returns `StableBTreeMap` 2. `StableVec::init` returns `Result` Actually `MinHeap` also returns a `Result`. Looks like `StableVec` uses the `safe_write`...

Is it possible to determine the size in bytes used by a BTreeMap with unbounded data types? I have a use case where I need to remove items from the...

Hi, Man. Nice to meet you. I am an ICP developer and I am here for an issue on my side. If you can spare time for me, Please contact...

Hello, I was wondering about the expected performance overheads when I am using the stable BTreeMap structure. I wanted to split a buffer of 100Mb into small 4K chunks and...