You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PseudoNode has been re-factored into a library:
- The PseudoNode API is provided in pseudo_node.h
- The PseudoNode library implementation is in pseudo_node.c
- A basic "reference" PseudoNode implementation is in main.c
The API is hopefully reasonably basic:
- A PseudoNode can be created with the PN_create() call.
- Various events are reported via "callbacks". Events include:
* New block
* New transaction
* New INV message
* (low level) any kind of message
* log and warning messages.
- Messages can be changed/manipulated by the application, e.g. it is
possible to block or insert inv messages.
- The API is incomplete (PN_destroy is NYI).
The aim is to make it easy to insert arbtiray code into cryptocurrecy
networks (i.e. no long "sync" times). There are lots of applications
for this...
In addition, several bugs were fixed & improvements made, e.g.
- Now uses BIP34 to find the height.
- TXs are cleaned based on block inclusion or a timeout.a
- Bug fixes...
0 commit comments