Priority queue/buffer with capacity limits and custom comparator. Methods push/shift/length match the Array API.
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.
PriorityBuffer is a JavaScript library that implements a fixed-length priority queue with custom comparator functionality, designed for use with iterable queues like Await-For-It. It's ideal for developers who need to maintain a buffer of prioritized items with automatic eviction of lower-priority elements when capacity is reached, while maintaining the familiar Array API methods (push/shift/length) for easy integration.