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
2024-03-04 23:49:11 -06:00
parent 847c1a789d
commit 6de0615cd5
3 changed files with 25 additions and 25 deletions

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