Post
Topic
Board Development & Technical Discussion
Re: Where are functions: Add transaction, Sign transaction, Check transaction ...
by
skylord56
on 22/05/2018, 19:39:11 UTC
By Add Transaction i mean: Create a new transaction.
Follow the code for createrawtransaction. If you are interested in how the wallet works, then follow the code for sendtoaddress

Transaction is checked first and added to Mempool waiting for miners no ?
Yes. However the checking and adding to mempool are done as part of the same function. The AddToMemoryPool function will call the various checking functions for checking a transaction and then add it to the mempool at the end. It also performs its own checks for the additional conditions of adding a transaction to the mempool (e.g. conflicts, replacement, transaction fee, etc.).

First thank you for the explaignation, really appreciated Smiley

SignSignature is the one that sign a transaction with private key no ?