This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
Release 42
Changes
- Rewritten API hosting inside Miningcore, making the API a first-class citizen. This change greatly improves security and reliability of the API
- A websocket endpoint has been implemented that streams real-time notifications at
ws://localhost:4000/notifications
. The following notifications get published:- Block found
- Block unlock progress
- Block unlocked (includes blockchain explorer link)
- Payments (includes blockchain explorer link(s) for transactions(s))
- Blockchain block-height
- Added nextBits and nextTarget to pool.networkStats API #443
- Fixed missing await for miner performance API endpoint. Fixes #441.
- API requests are now logged. To redirect API request logging to its own dedicated log file, use the new
apiLogFile
property of the logging configuration.
Breaking Changes
- All API requests are now rate-limited. The default is 5 requests/sec per IP. This can be changed through configuration.