Support the chronik functionality introduced in D16696 in chronik-client
Details
Details
- Reviewers
tobias_ruck - Group Reviewers
Restricted Project - Commits
- rABC87174b963d77: [chronik-client] Support websocket subscriptions to plugins
CI for chronik-client integration tests
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cc-plugin-ws-subs
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Event Timeline
Comment Actions
correct test script to match resolved mempool bugs, add validation for plugin subs, test plugin subs and unsubs, clean up logs
modules/chronik-client/src/validation.ts | ||
---|---|---|
75 | In this case, the user only sees this error msg by calling subscribeToPlugin(pluginName, group) case to be made that all subscription functions should be more like subscribeTo<Thing>(objectOfExpectedShape), e.g. in this case subscribeToPlugin({pluginName: <name>, group: <group>}) -- that is not currently the API tho (subscribeToScript is like this as well). That said ... yeah I don't think "first parameter" is really helping. If we do truly need it, good sign the API needs to be changed. |