Skip to content

Commit

Permalink
Added caution comment to dataset classes
Browse files Browse the repository at this point in the history
  • Loading branch information
cschuchardt88 committed Dec 4, 2024
1 parent 29d244c commit 7840ecc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Plugins/LevelDBStore/IO/Data/LevelDB/DB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ namespace Neo.IO.Storage.LevelDB
/// <summary>
/// A DB is a persistent ordered map from keys to values.
/// A DB is safe for concurrent access from multiple threads without any external synchronization.
/// <code>Iterating over the whole dataset can be time-consuming. Depending upon how large the dataset is.</code>
/// </summary>
public class DB : LevelDBHandle, IEnumerable<KeyValuePair<byte[], byte[]>>
{
Expand Down
3 changes: 3 additions & 0 deletions src/Plugins/LevelDBStore/Plugins/Storage/Snapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

namespace Neo.Plugins.Storage
{
/// <summary>
/// <code>Iterating over the whole dataset can be time-consuming. Depending upon how large the dataset is.</code>
/// </summary>
internal class Snapshot : ISnapshot, IEnumerable<KeyValuePair<byte[], byte[]>>
{
private readonly DB _db;
Expand Down
3 changes: 3 additions & 0 deletions src/Plugins/LevelDBStore/Plugins/Storage/Store.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

namespace Neo.Plugins.Storage
{
/// <summary>
/// <code>Iterating over the whole dataset can be time-consuming. Depending upon how large the dataset is.</code>
/// </summary>
internal class Store : IStore, IEnumerable<KeyValuePair<byte[], byte[]>>
{
private readonly DB _db;
Expand Down

0 comments on commit 7840ecc

Please sign in to comment.