MemoryStoreConfig Issue #2305
-
I am facing one issue. Please help me for that In Libp2p I am putting data to DHT. When I am sharing any transaction object like this
I can store one transaction under one key. But I want to store the multiple txn data under one key. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This may be less of a problem with the DHT and the rust-libp2p specific implementation and more with how you are designing your data structures. A DHT is by definition a key-value store. There can only be one value per key. You need to design your keys in a way such that each has only one value. |
Beta Was this translation helpful? Give feedback.
This may be less of a problem with the DHT and the rust-libp2p specific implementation and more with how you are designing your data structures.
A DHT is by definition a key-value store. There can only be one value per key. You need to design your keys in a way such that each has only one value.