0xB10C / bademeister-go

Implementation of Bademeister, a mempool watcher and recorder, in Golang.
0 stars 3 forks source link

Add bitcoind zmq backend #5

Open OttoAllmendinger opened 5 years ago

OttoAllmendinger commented 5 years ago

we could have multiple concurrent backends in the future (multiple nodes, other instances of bademeister)

0xB10C commented 5 years ago

I'd propose to do deserialization with the wire package from btcd. Have been using this without problems for the last few month.

0xB10C commented 5 years ago

I'd use defined types for the channels. Transaction and Block similar to:

OttoAllmendinger commented 5 years ago

Implemented in https://github.com/0xB10C/bademeister-go/pull/14

TODO:

0xB10C commented 5 years ago
  • receive, parse extended notification containing vsize

19 implements parsing of the raw transactions and writes the tx weight (not vsize) to the database