Anoma.Node.Examples.EIntentPool (Anoma v0.25.0)

I contain several examples on how to run the intent pool.

Summary

Functions

I check that when an intent is added to the pool, is is present in the mapset.

I check that the intent pool returns an empty map of intents when its started.

I add and remove an intent from the pool and ensure that it's actually gone.

Functions

Link to this function

add_intent(enode \\ ENode.start_node())

I check that when an intent is added to the pool, is is present in the mapset.

Link to this function

list_intents(enode \\ ENode.start_node())

I check that the intent pool returns an empty map of intents when its started.

Link to this function

remove_intent(enode \\ ENode.start_node())

I add and remove an intent from the pool and ensure that it's actually gone.