The Pour command allows us to migrate tokens from a parent token bucket to a child token bucket, en mass. This is to permit users to immediately use a new token bucket which might have a very slow fill rate.
We currently have a pour function stubbed out in TokenGraph.hs, but it does not pour from a bucket, and it does not respect the capacity of the receiving bucket.
The Pour command allows us to migrate tokens from a parent token bucket to a child token bucket, en mass. This is to permit users to immediately use a new token bucket which might have a very slow fill rate.
We currently have a pour function stubbed out in TokenGraph.hs, but it does not pour from a bucket, and it does not respect the capacity of the receiving bucket.
Test cases are also required.