node
node copied to clipboard
The core of Po.et
Flagging this so we don't forget, but I don't know whether this is/leads to an error or what it means at all. Reported by @WesleyCharlesBlake originally, who caught this log:...
Currently if EthereumRegistryWriter is restarted after an `addCid` transaction has been sent to geth but before the associated `cidAdded` event is picked up, that event will never be picked up,...
TODO: mongodb driver will throw an error if the result of the filter is an empty array
[PR Process](https://github.com/poetapp/documentation/blob/master/process/pr-review.md#pr-process) - [PR Review Checklist](https://github.com/poetapp/documentation/blob/master/process/pr-review.md#pr-review-checklist) ### Release Semantic release is enabled for this repository. Make sure you follow the right commit message convention. We're using semantic-release's default — [Angular...
We need to eventually add a maximum count to the pagination limit, as discussed [here](https://github.com/poetapp/node/pull/300#issuecomment-411324210).
https://github.com/poetapp/node/blob/b07b875e2cd6aa1474f5ae99e1b0a2feed4839a2/src/API/WorkController.ts#L59-L70 Update `.find(filters, { projection: { _id: false } })` to something like ```ts .find({ ...filters, id: { $exists: true } }, { projection: { _id: false } }) ```
Po.et currently listens to new blocks only, which means there will always lag ~10 behind. Data from new transactions should be tagged as not-confirmed, and later, after it has been...
RDD: [Po.et Node Microservices Refactor](https://github.com/poetapp/documentation/blob/master/rdd/node-microservices.md) Rest of issues in epic TBD.
Running multiple instances of the node behind a load balancer could lead to race conditions. https://github.com/poetapp/node/blob/b1ffa5e6ec7a0de6951c13794f5421dcd68920c1/src/Storage/ClaimController.ts#L111-L117 To ensure there are no race conditions we need to use [findAndModify](https://docs.mongodb.com/manual/reference/method/db.collection.findAndModify) and ensure...