diff --git a/CryptoExchange.Net/CryptoExchange.Net.csproj b/CryptoExchange.Net/CryptoExchange.Net.csproj
index 62bb836..dab827b 100644
--- a/CryptoExchange.Net/CryptoExchange.Net.csproj
+++ b/CryptoExchange.Net/CryptoExchange.Net.csproj
@@ -6,12 +6,12 @@
CryptoExchange.NetJKorfA base package for implementing cryptocurrency exchange API's
- 3.0.10
+ 3.0.11falsehttps://github.com/JKorf/CryptoExchange.Netentrue
- 3.0.10 - Fix for order book synchronization
+ 3.0.11 - Added support for checksum in SymbolOrderBookenable8.0MIT
diff --git a/CryptoExchange.Net/CryptoExchange.Net.xml b/CryptoExchange.Net/CryptoExchange.Net.xml
index 7dffbb5..5415b61 100644
--- a/CryptoExchange.Net/CryptoExchange.Net.xml
+++ b/CryptoExchange.Net/CryptoExchange.Net.xml
@@ -1333,6 +1333,11 @@
Connecting
+
+
+ Reconnecting
+
+
Syncing data
@@ -1858,6 +1863,13 @@
+
+
+ Validate a checksum with the current order book
+
+
+
+
Set the initial data for the order book
@@ -1874,6 +1886,12 @@
+
+
+ Add a checksum to the process queue
+
+
+
Update the order book using a first/last update id
@@ -2931,6 +2949,149 @@
+
+
+ Specifies that is allowed as an input even if the
+ corresponding type disallows it.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Specifies that is disallowed as an input even if the
+ corresponding type allows it.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Specifies that a method that will never return under any circumstance.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Specifies that the method will not return if the associated
+ parameter is passed the specified value.
+
+
+
+
+ Gets the condition parameter value.
+ Code after the method is considered unreachable by diagnostics if the argument
+ to the associated parameter matches this value.
+
+
+
+
+ Initializes a new instance of the
+ class with the specified parameter value.
+
+
+ The condition parameter value.
+ Code after the method is considered unreachable by diagnostics if the argument
+ to the associated parameter matches this value.
+
+
+
+
+ Specifies that an output may be even if the
+ corresponding type disallows it.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Specifies that when a method returns ,
+ the parameter may be even if the corresponding type disallows it.
+
+
+
+
+ Gets the return value condition.
+ If the method returns this value, the associated parameter may be .
+
+
+
+
+ Initializes the attribute with the specified return value condition.
+
+
+ The return value condition.
+ If the method returns this value, the associated parameter may be .
+
+
+
+
+ Specifies that an output is not even if the
+ corresponding type allows it.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Specifies that the output will be non- if the
+ named parameter is non-.
+
+
+
+
+ Gets the associated parameter name.
+ The output will be non- if the argument to the
+ parameter specified is non-.
+
+
+
+
+ Initializes the attribute with the associated parameter name.
+
+
+ The associated parameter name.
+ The output will be non- if the argument to the
+ parameter specified is non-.
+
+
+
+
+ Specifies that when a method returns ,
+ the parameter will not be even if the corresponding type allows it.
+
+
+
+
+ Gets the return value condition.
+ If the method returns this value, the associated parameter will not be .
+
+
+
+
+ Initializes the attribute with the specified return value condition.
+
+
+ The return value condition.
+ If the method returns this value, the associated parameter will not be .
+
+
System.Diagnostics.CodeAnalysis.AllowNullAttribute">
diff --git a/CryptoExchange.Net/Objects/Enums.cs b/CryptoExchange.Net/Objects/Enums.cs
index 3af3694..785b8ff 100644
--- a/CryptoExchange.Net/Objects/Enums.cs
+++ b/CryptoExchange.Net/Objects/Enums.cs
@@ -59,6 +59,10 @@
///
Connecting,
///
+ /// Reconnecting
+ ///
+ Reconnecting,
+ ///
/// Syncing data
///
Syncing,
diff --git a/CryptoExchange.Net/OrderBook/ProcessQueueItem.cs b/CryptoExchange.Net/OrderBook/ProcessQueueItem.cs
index 996e6d4..14832a0 100644
--- a/CryptoExchange.Net/OrderBook/ProcessQueueItem.cs
+++ b/CryptoExchange.Net/OrderBook/ProcessQueueItem.cs
@@ -10,4 +10,17 @@ namespace CryptoExchange.Net.OrderBook
public IEnumerable Bids { get; set; } = new List();
public IEnumerable Asks { get; set; } = new List();
}
+
+ internal class InitialOrderBookItem
+ {
+ public long StartUpdateId { get; set; }
+ public long EndUpdateId { get; set; }
+ public IEnumerable Bids { get; set; } = new List();
+ public IEnumerable Asks { get; set; } = new List();
+ }
+
+ internal class ChecksumItem
+ {
+ public int Checksum { get; set; }
+ }
}
diff --git a/CryptoExchange.Net/OrderBook/SymbolOrderBook.cs b/CryptoExchange.Net/OrderBook/SymbolOrderBook.cs
index 471dc45..8f4e32f 100644
--- a/CryptoExchange.Net/OrderBook/SymbolOrderBook.cs
+++ b/CryptoExchange.Net/OrderBook/SymbolOrderBook.cs
@@ -40,7 +40,7 @@ namespace CryptoExchange.Net.OrderBook
private Task _processTask;
private AutoResetEvent _queueEvent;
- private ConcurrentQueue _processQueue;
+ private ConcurrentQueue