mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
core: Add comment about Wallet.states
This commit is contained in:
@ -24,6 +24,10 @@ val TOPIC_DEFAULT_POSTFIX = ".0"
|
|||||||
* about new transactions from our peers and generate new transactions that consume states ourselves.
|
* about new transactions from our peers and generate new transactions that consume states ourselves.
|
||||||
*
|
*
|
||||||
* This abstract class has no references to Cash contracts.
|
* This abstract class has no references to Cash contracts.
|
||||||
|
*
|
||||||
|
* [states] Holds the list of states that are *active* and *relevant*.
|
||||||
|
* Active means they haven't been consumed yet (or we don't know about it).
|
||||||
|
* Relevant means they contain at least one of our pubkeys
|
||||||
*/
|
*/
|
||||||
class Wallet(val states: List<StateAndRef<ContractState>>) {
|
class Wallet(val states: List<StateAndRef<ContractState>>) {
|
||||||
@Suppress("UNCHECKED_CAST")
|
@Suppress("UNCHECKED_CAST")
|
||||||
|
Reference in New Issue
Block a user