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

Feat/tx fees #42

Merged
merged 10 commits into from
Sep 6, 2021
Merged

Feat/tx fees #42

merged 10 commits into from
Sep 6, 2021

Commits on Sep 1, 2021

  1. refactoring fee calculations into the tx.go file, updating change to …

    …cater for dust limits and adding more tests
    theflyingcodr committed Sep 1, 2021
    Configuration menu
    Copy the full SHA
    1a1d755 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. further refactor of change handling, taking into consideration dust a…

    …nd adjusting calcs to avoid an overflow
    theflyingcodr committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    b5201c9 View commit details
    Browse the repository at this point in the history
  2. splitting calculate fees and size breakdown so Size can be used separ…

    …atly, fees now call this to get tx bytes breakdown
    theflyingcodr committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    7e2f36b View commit details
    Browse the repository at this point in the history
  3. wrapping size func in two parent funcs so the user doesn't need to wo…

    …rry about the size bool, instead they can call SizeUnsigned and Size
    theflyingcodr committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    bd85f06 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b75fe6 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2021

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

Commits on Sep 5, 2021

  1. separate out estimation into its own thing

    removed unneccesarily returnederrors
    Jad Wahab committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    055df41 View commit details
    Browse the repository at this point in the history
  2. refactor: put size before fees for clarity

    Jad Wahab committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    bd6107c View commit details
    Browse the repository at this point in the history
  3. refactor!: separate size from fees

    Jad Wahab committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    a6be96a View commit details
    Browse the repository at this point in the history
  4. change! FeesPaid -> IsFeePaidEnough

    this is to be used on the receiving end of a tx/payment
    Jad Wahab committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    bd71290 View commit details
    Browse the repository at this point in the history