protofsm: allow multiple internal events to be emitted

In this commit, we update the execution logic to allow multiple internal
events to be emitted. This is useful to handle potential out of order
state transitions, as they can be cached, then emitted once the relevant
pre-conditions have been met.
This commit is contained in:
Olaoluwa Osuntokun committed 2024-11-18 20:49:00 -08:00
1 parent 847c1a789d
commit 6de0615cd5
3 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ var log btclog.Logger
// The default amount of logging is none.
func init() {
UseLogger(build.NewSubLogger("PRCL", nil))
UseLogger(build.NewSubLogger("PFSM", nil))
}
// DisableLog disables all library log output. Logging output is disabled