EndlessVanguard / bitcoin-remunerate-api

A scheme for trustless, decentralized, anonymous, remuneration for content creators.
1 stars 0 forks source link

Data records #6

Closed mattgstevens closed 8 years ago

mattgstevens commented 8 years ago

Currently we are using Redis as our data store, and we have one record type (the ContentBitcoinPayable). When we calculating our transactions, we need to scan through all keys in redis to determine the paymentTimestamps that should be considered during the current payout.

We should move to postgres for more record type / use an evented store for the payments.

NOTE: ContentBitcoinPayable This is currently represented by the saveKeyPair and looks like:

{
contentId: <string>,
publicKey: <bitcoin publicKey: string>,
privateKey: <bitcoin privateKey: string> ,
paymentTimestamp: < Datenow() > 
}
fromheten commented 8 years ago

Duplicate of #7. We also spoke and decided to stay with Redis