From 6fdda0f15d0b544099c630720e6bec904bf07d47 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 29 Nov 2023 13:53:45 +0300 Subject: [PATCH] rpcclient: add doc link to notifications ordering guarantees Signed-off-by: Anna Shaleva --- pkg/rpcclient/wsclient.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/rpcclient/wsclient.go b/pkg/rpcclient/wsclient.go index f86b9e9f7..b9e03f0f2 100644 --- a/pkg/rpcclient/wsclient.go +++ b/pkg/rpcclient/wsclient.go @@ -43,6 +43,10 @@ import ( // unblocking in this mode. No unsubscription is performed in this case, so it's // still the user responsibility to unsubscribe. // +// All Receive* methods provide notifications ordering and persistence guarantees. +// See https://github.com/nspcc-dev/neo-go/blob/master/docs/notifications.md#ordering-and-persistence-guarantees +// for more details on this topic. +// // Any received subscription items (blocks/transactions/nofitications) are passed // via pointers for efficiency, but the actual structures MUST NOT be changed, as // it may affect the functionality of other notification receivers. If multiple