Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(backend): remove payment balance accounts #197

Merged
merged 21 commits into from
Dec 20, 2021
Merged

Commits on Dec 3, 2021

  1. chore(backend): send/receive payments from/to settlement account

    Outgoing payments and invoices have accounts for tracking the amounts
    sent and received, but they do not represent (withdraw-able) balances.
    
    Add sendOutgoingPayment mutation resolver. Wallet operators will be
    notified when quote is complete (TODO) and call sendOutgoingPayment
    after payment is approved (if necessary) and funds are reserved in
    the sender's wallet account.
    wilsonianb committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    32cd5fd View commit details
    Browse the repository at this point in the history
  2. chore(backend): make incoming and outgoing accounts distinct types

    Rename transferFunds to sendAndReceive
    wilsonianb committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    7d65fa0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9edf1bb View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Configuration menu
    Copy the full SHA
    55da10b View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. Configuration menu
    Copy the full SHA
    344014c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fbc595 View commit details
    Browse the repository at this point in the history
  3. chore(backend): remove web monetization service

    Add SPSP fallback tigerbeetle account to Open Payments accounts.
    wilsonianb committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    65a5b00 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9144037 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0578c64 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cc0000f View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. Configuration menu
    Copy the full SHA
    51266ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34052dd View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. Configuration menu
    Copy the full SHA
    741924f View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. chore(backend): add send and receive account types

    Send and receive accounts have their own tigerbeetle account units,
    preventing transfers between them or with liquidity accounts
    (asset liquidity, settlement, and peer accounts).
    
    Fix same account error for same asset intra-rafiki transfers.
    wilsonianb committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    b3d554e View commit details
    Browse the repository at this point in the history
  2. chore(backend): add OutgoingPaymentError

    Return 400 for unknown or wrong state payments.
    wilsonianb committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    6b20485 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2021

  1. Configuration menu
    Copy the full SHA
    161dbcc View commit details
    Browse the repository at this point in the history
  2. chore(backend): remove send and receive accounts

    Payments have a single liquidity account (no extra limit balances).
    Balances are no longer adjusted for unfulfillable rate probe packets.
    wilsonianb committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    808f912 View commit details
    Browse the repository at this point in the history
  3. feat(backend): add fundOutgoingPayment

    Transition to Sending if funding provides adequate balance.
    Quoting transitions to Sending if balance is already sufficient.
    
    Remove sendOutgoingPayment.
    Rename Ready state to Funding.
    wilsonianb committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    c9ae748 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3be8230 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. Configuration menu
    Copy the full SHA
    88ba6d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6478831 View commit details
    Browse the repository at this point in the history