monero-ecosystem / monero-python

A comprehensive Python module for handling Monero cryptocurrency
BSD 3-Clause "New" or "Revised" License
246 stars 80 forks source link

Naming clarification: transaction/payment/transfer #5

Closed emesik closed 6 years ago

emesik commented 6 years ago

Entries returned by wallet in get_payments(), get_transactions_in() and get_transactions_out() are payments (or transfers), each of them meaning "Amount X moved from address A to address B".

Transactions may contain multiple payments/transfers. Therefore, Transfer or Payment classes should not inherit from Transaction. Set membership is not inheritance.

Proposal:

TBA