MCPcopy Create free account

hub / github.com/Gelembjuk/oursql / functions

Functions1,260 in github.com/Gelembjuk/oursql

↓ 162 callersMethodSend
Send money . This adds a transaction directly to the DB. Can be executed when a node server is not running This creates currency transfer transaction
node/nodemanager/node.go:323
↓ 98 callersMethodGetID
Return ID of transaction
node/structures/transaction.go:42
↓ 81 callersMethodError
()
node/database/errors.go:22
↓ 61 callersMethodGetKind
()
node/dbquery/sqlparser/interface.go:17
↓ 58 callersMethodError
()
lib/net/errors.go:19
↓ 37 callersMethodExecuteSQL
(sql string)
node/database/interface.go:36
↓ 37 callersMethodWrite
data posted from client to server
lib/dbproxy/mysqlproxy.go:259
↓ 34 callersMethodCreateWallet
CreateWallet adds a Wallet to Wallets
lib/remoteclient/wallets.go:42
↓ 33 callersMethodNodeAddrToString
Convert to string in format host:port
lib/net/network.go:39
↓ 32 callersMethodError
()
node/transactions/error.go:48
↓ 31 callersMethodGetNodes
()
lib/net/nodesnetwork.go:13
↓ 28 callersMethodDB
()
node/nodemanager/database.go:18
↓ 25 callersMethodClose
()
node/database/interface.go:66
↓ 25 callersMethodGetTransactionsManager
Build transaction manager structure
node/nodemanager/node.go:108
↓ 24 callersMethodgetUnapprovedTransactionsManager
Create unapproved tx manage object to use in this package
node/transactions/manager.go:47
↓ 23 callersMethodIsCoinbaseTransfer
check if TX is coin base
node/structures/transaction.go:74
↓ 21 callersMethodBuildCommandData
Builds a command data. It prepares a slice of bytes from given data
lib/nodeclient/nodeclient.go:717
↓ 21 callersMethodNext
Next returns next block starting from the tip
node/blockchain/iterator.go:41
↓ 20 callersMethodGetTable
()
node/dbquery/sqlparser/interface.go:21
↓ 20 callersMethodIsSQLCommand
IsCoinbase checks whether the transaction is coinbase
node/structures/transaction.go:69
↓ 20 callersMethodparseRequestData
Reads and parses request from network data
node/server/handle.go:38
↓ 18 callersMethodGetBlockchainObject
()
node/database/interface.go:25
↓ 16 callersFunctionNewMerkleNode
NewMerkleNode creates a new Merkle tree node
lib/utils/merkle_tree.go:54
↓ 16 callersMethodSendDataWaitResponse
Send data to a node and wait for response
lib/nodeclient/nodeclient.go:794
↓ 15 callersMethodQM
()
node/database/interface.go:10
↓ 14 callersMethodCloseConnection
()
node/database/interface.go:22
↓ 14 callersMethodCompareToAddress
Compare to other node address if is same
lib/net/network.go:73
↓ 13 callersMethodGetLocationInChain
(hash []byte)
node/database/interface.go:84
↓ 12 callersMethodDeserializeTransaction
DeserializeTransaction deserializes a transaction
node/structures/transaction.go:254
↓ 12 callersMethodParse
(sqlquery string)
node/dbquery/sqlparser/interface.go:14
↓ 12 callersMethodValidateAddress
ValidateAddress check if address is valid, has valid format
lib/remoteclient/wallet.go:139
↓ 12 callersFunctioncopyConfig
(datadir, destfile,minter, port, port2, port3)
tests/_complex.py:519
↓ 12 callersMethodgetConnection
returns DB connection, creates it if needed .
node/database/manager.go:286
↓ 11 callersMethodAddToChain
(hash, prevHash []byte)
node/database/interface.go:87
↓ 11 callersMethodError
()
lib/dbproxy/errors.go:14
↓ 11 callersFunctionGetNodes
(datadir)
tests/managenodes.py:195
↓ 11 callersMethodGetState
Returns info about the top block. Hash and Height
node/blockchain/manager.go:366
↓ 11 callersMethodSerialize
Serialize serializes the block
node/structures/block.go:189
↓ 11 callersMethodgetUnspentOutputsManager
Create unspent outputx manage object to use in this package
node/transactions/manager.go:63
↓ 10 callersMethodCheckAddressKnown
Check if the address is known . If not then add to known and send list of all addresses to that node
node/nodemanager/node.go:290
↓ 10 callersMethodCopy
Creates copy of a block
node/structures/block.go:120
↓ 10 callersMethodGetBlock
GetBlock finds a block by its hash and returns i
node/blockchain/manager.go:401
↓ 10 callersMethodPut
Put record in DB
node/database/connection.go:138
↓ 10 callersMethodforwardCommandToWallet
Forwards a command to wallet object. This is needed for cases when a node does some operation with local wallets
node/nodecli.go:409
↓ 10 callersMethodgetServerPidFile
Build a pid file path
node/server/daemon.go:42
↓ 9 callersMethodBlockInChain
(hash []byte)
node/database/interface.go:85
↓ 9 callersMethodDelete
Delete record from DB
node/database/connection.go:147
↓ 9 callersMethodExecuteQuery
(sql string)
node/dbquery/interface.go:11
↓ 9 callersMethodGet
Get record from DB
node/database/connection.go:83
↓ 9 callersMethodGetIfExists
(txid []byte)
node/transactions/interface.go:20
↓ 9 callersMethodGetUnspentOutputsObject
()
node/database/interface.go:28
↓ 9 callersMethodSendData
Sends prepared command to a node. This doesn't wait any response
lib/nodeclient/nodeclient.go:759
↓ 9 callersMethodforEachTransaction
(callback foreachFunction)
node/transactions/pending.go:107
↓ 8 callersMethodCreateTable
create key value table
node/database/connection.go:161
↓ 8 callersFunctionExit
()
tests/_lib.py:234
↓ 8 callersMethodGetBCManager
()
node/nodemanager/blockchain.go:22
↓ 8 callersMethodGetBlock
(hash []byte)
node/database/interface.go:74
↓ 8 callersMethodGetCommunicationManager
Create communication object to do requests to othernodes
node/nodemanager/node.go:133
↓ 8 callersMethodGetPublicKey
Returns public key of a wallet
lib/remoteclient/wallet.go:97
↓ 8 callersMethodGetSQLBaseTX
returns base TX for this SQL update TX
node/structures/transaction.go:51
↓ 8 callersMethodGetSQLQuery
returns SQL command as string
node/structures/transaction.go:363
↓ 8 callersMethodGetUnapprovedTransactionsObject
()
node/database/interface.go:27
↓ 8 callersMethodLock
Lock signs the output
node/structures/transaction_output.go:36
↓ 8 callersFunctionNewBlockchainIteratorFrom
Creates new Blockchain Iterator from given block hash. Can be used to do something with blockchain from outside
node/blockchain/iterator.go:36
↓ 8 callersMethodgetBlocksTable
()
node/database/blockchain.go:16
↓ 8 callersMethodgetLengEncStr
Returns length encoded string for MySQL protocol
lib/dbproxy/encoder.go:143
↓ 8 callersMethodgetTableName
()
node/database/unapprovedtransactions.go:10
↓ 8 callersMethodgetWalletsCLI
Creates wallet object for operation related to wallets list management
node/nodecli.go:376
↓ 8 callersMethodunlockCache
Unlock transactions cache access
node/transactions/pending.go:39
↓ 7 callersMethodAddNodeToKnown
(addr NodeAddr)
lib/net/nodesnetwork.go:14
↓ 7 callersMethodGetCanonicalQuery
()
node/dbquery/sqlparser/interface.go:16
↓ 7 callersMethodGetUpdateColumns
()
node/dbquery/sqlparser/interface.go:24
↓ 7 callersMethodGetWallet
GetWallet returns a Wallet by its address
lib/remoteclient/wallets.go:144
↓ 7 callersMethodIsLockedWithKey
IsLockedWithKey checks if the output can be used by the owner of the pubkey
node/structures/transaction_output.go:52
↓ 7 callersMethodUpdateConfig
()
node/config/config.go:388
↓ 7 callersMethodgetDataRowsAndTransacionsManager
Create unspent outputx manage object to use in this package
node/transactions/manager.go:68
↓ 7 callersMethodgetTableName
Get table name
node/database/unspentoutputs.go:11
↓ 7 callersMethodloadPIDFile
Laads PID file.
node/server/daemon.go:413
↓ 6 callersMethodForEach
(callback ForEachKeyIteratorInterface)
node/database/interface.go:136
↓ 6 callersMethodGetBCManager
Build BC manager structure
node/nodemanager/node.go:113
↓ 6 callersMethodGetBlocksCount
(fromaddr net.NodeAddr)
node/server/transit.go:47
↓ 6 callersFunctionGetDBConnection
(testdatadir = "", usedb = False, proxy = False)
tests/_lib.py:139
↓ 6 callersMethodGetPrivateKey
Reurns private key of a wallet
lib/remoteclient/wallet.go:102
↓ 6 callersMethodGetShortCopy
Returns short copy of a block. It is just hash + prevhash
node/structures/block.go:94
↓ 6 callersFunctionGetUnapprovedTransactions
(datadir)
tests/transactions.py:137
↓ 6 callersMethodInitDB
()
node/database/interface.go:135
↓ 6 callersMethodParseQuery
(sqlquery string, flags int)
node/dbquery/interface.go:10
↓ 6 callersMethodcompletePacket
make a data to be a packet in a sequence
lib/dbproxy/encoder.go:103
↓ 6 callersMethoddeserializeOutputs
* * Deserialize data from bytes loaded fom DB */
node/transactions/unspent.go:44
↓ 6 callersMethodgetBlockchainManager
Blockchain DB manager.
node/consensus/blockmaker.go:46
↓ 6 callersFunctiongetCurrentDir
()
tests/_lib.py:19
↓ 6 callersMethodgetIndexManager
Create tx index object to use in this package
node/transactions/manager.go:42
↓ 6 callersMethodgetTableName
()
node/database/nodes.go:11
↓ 6 callersMethodlockCache
Lock Transactions Cache access
node/transactions/pending.go:31
↓ 6 callersFunctionreadPacket
ReadPacket ...
lib/dbproxy/packet.go:175
↓ 5 callersMethodBlockAdded
new block was created in blockchain DB. It must not be on top of primary blockchain
node/transactions/interface.go:36
↓ 5 callersMethodCancelTransaction
* * Cancels unapproved transaction. * NOTE this can work only for local node. it a transaction was already sent to other nodes, it will not be cancele
node/transactions/manager.go:237
↓ 5 callersMethodCheckBlockState
* * Checks state of a block by hashes * returns * -1 BCBState_error * 0 BCBState_canAdd if block doesn't exist and prev block exists * 1 BCBState_exis
node/nodemanager/blockchain.go:147
↓ 5 callersMethodCompleteTransaction
Sets signatures for inputs. Signatures were created separately for data set prepared before in the function PrepareSignData
node/structures/transaction.go:151
↓ 5 callersFunctionDumpBCDB
(datadir, dumpfile)
tests/_complex.py:544
next →1–100 of 1,260, ranked by callers