MCPcopy Create free account

hub / github.com/Gelembjuk/oursql / functions

Functions1,260 in github.com/Gelembjuk/oursql

↓ 3 callersMethodStartServerInteractive
Runs a node server without a daemon. This can help to debug a node
node/server/daemon.go:207
↓ 3 callersMethodString
String returns a human-readable representation of a transaction
node/structures/transaction.go:371
↓ 3 callersMethodTruncateDB
()
node/database/interface.go:92
↓ 3 callersMethodVerify
Verify verifies signatures of Transaction inputs And total amount of inputs and outputs TODO in future to replace coinstoadd with some Config structur
node/structures/transaction.go:162
↓ 3 callersFunctionVerifySignature
(signature []byte, message []byte, PubKey []byte)
lib/utils/crypt.go:74
↓ 3 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:297
↓ 3 callersFunctioncheckPacketLength
checkPacketLength checks if packet length meets expected value
lib/dbproxy/decoder.go:602
↓ 3 callersMethodcleanSQLColumnName
Clean column name. remove quotes, trim spaces etc
node/dbquery/sqlparser/parser.go:600
↓ 3 callersMethodcompleteSettings
set default settingf if not provided from outside
node/consensus/proofofwork.go:158
↓ 3 callersMethodcreateDaemonManager
* * Creates node server daemon manager */
node/nodecli.go:315
↓ 3 callersMethoddecodeValue
decode value from string
node/database/connection.go:184
↓ 3 callersFunctiondestroyTestDB
(man *BoltDBManager)
node/database/blockchain_test.go:59
↓ 3 callersMethodencodeKey
encode bytes to string
node/database/connection.go:167
↓ 3 callersMethodforEachInTable
execute callback function for each record in a table
node/database/connection.go:31
↓ 3 callersMethodgetBlockMakeManager
Init block maker object. It is used to make new blocks
node/nodemanager/node.go:123
↓ 3 callersMethodgetCountInTable
get number of rows in a table
node/database/connection.go:68
↓ 3 callersMethodgetTransactionNumbersLimits
Get minimum and maximum number of transaction allowed in block for current chain
node/consensus/blockmaker.go:458
↓ 3 callersMethodgetTransactionsManager
Transactions manager object
node/nodemanager/blockchain_create.go:40
↓ 3 callersMethodinitNewTX
execute when new tranaction object is created
node/structures/transaction.go:32
↓ 3 callersFunctionnewTransactionIndex
(DB database.DBManager, Logger *utils.LoggerMan)
node/transactions/index.go:26
↓ 3 callersMethodparseKeyValueSet
parse update columns and values
node/dbquery/sqlparser/parser.go:297
↓ 3 callersFunctionproxyPacket
ProxyPacket ...
lib/dbproxy/packet.go:207
↓ 3 callersMethodsavePIDFile
Save PID file for a process
node/server/daemon.go:380
↓ 3 callersMethodsaveRecordToChain
Save record to chain table
node/database/blockchain.go:135
↓ 3 callersMethodsendErrorBack
response error to a client
node/server/server.go:208
↓ 3 callersMethodsendTransactionToAll
Send transaction to all known nodes. This wil send only hash and node hash to check if hash exists or no
node/nodemanager/communication.go:41
↓ 3 callersMethodsetNodeProxyKeys
Check if there is internal keys pair to sign DB proxy transactions. Attach if it is set
node/nodecli.go:178
↓ 2 callersMethodAdd
Add new transaction for the list of unapproved Before to call this function we checked that transaction is valid Now we need to check if there are no
node/transactions/pending.go:546
↓ 2 callersMethodAddBlocks
(fromaddr net.NodeAddr, blocks [][]byte)
node/server/transit.go:25
↓ 2 callersFunctionBase58Decode
Base58Decode decodes Base58-encoded data
lib/utils/base58.go:15
↓ 2 callersMethodBlockAdded
Block added. We need to update index of transactions
node/transactions/index.go:47
↓ 2 callersMethodBlockRemoved
block was removed from blockchain DB from top
node/transactions/interface.go:38
↓ 2 callersMethodCheckBlockExists
(hash []byte)
node/database/interface.go:77
↓ 2 callersMethodCheckConnection
()
node/database/interface.go:20
↓ 2 callersMethodCheckConnectionIsOpen
check if connection was opened
node/nodemanager/database.go:162
↓ 2 callersMethodCheckExecutePermissions
check if this pubkey can execute this query
node/consensus/verifier.go:21
↓ 2 callersMethodCheckForChangesOnOtherNodes
Check for updates on other nodes
node/nodemanager/communication.go:169
↓ 2 callersMethodCheckNodeAddress
Check if node address looks fine
lib/nodeclient/nodeclient.go:255
↓ 2 callersMethodCheckQueryNeedsPayment
check if this query requires payment for execution. return number
node/consensus/verifier.go:108
↓ 2 callersFunctionChecksum
Checksum generates a checksum for a public key
lib/utils/utils.go:239
↓ 2 callersMethodCleanBlocks
(fromaddr net.NodeAddr)
node/server/transit.go:39
↓ 2 callersMethodCleanConnection
clean connection object
node/nodemanager/database.go:142
↓ 2 callersMethodCleanUnapprovedCache
()
node/transactions/interface.go:46
↓ 2 callersMethodCommandNeedsConfig
check if this commands really needs a config file
node/config/config.go:344
↓ 2 callersFunctionCopyBlockchainWithBlocks
(suffix = "")
tests/_complex.py:561
↓ 2 callersMethodCountUnspentOutputs
Returns toal number of transactions outputs in a cache
node/transactions/unspent.go:290
↓ 2 callersFunctionCreateWallet
(datadir)
tests/transactions.py:111
↓ 2 callersMethodCreatedByPubKeyHash
UsesKey checks whether the address initiated the transaction
node/structures/transaction.go:341
↓ 2 callersMethodDaemonizeServer
Makes a daemon process. It starts node server and waits for interrupt signal when to exit.
node/server/daemon.go:283
↓ 2 callersMethodDelete
* * Delete transaction from a cache. When transaction becomes part ofa block */
node/transactions/pending.go:594
↓ 2 callersMethodDeleteBlock
(hash []byte)
node/database/interface.go:78
↓ 2 callersMethodDeleteRefID
(RefID []byte)
node/database/interface.go:108
↓ 2 callersMethodDetectConflictsForNew
Check if this new transaction conflicts with any other transaction in the cache It is not allowed 2 prepared transactions have same inputs we return f
node/transactions/pending.go:696
↓ 2 callersMethodEnableLogs
change enabled logs state
lib/utils/utils.go:70
↓ 2 callersMethodExecuteCommand
Executes the client command in interactive mode
node/nodecli.go:214
↓ 2 callersMethodExecuteRollbackQueryFromTX
(sql structures.SQLUpdate)
node/dbquery/interface.go:14
↓ 2 callersMethodExport
Exports config to JSON string
node/consensus/config.go:184
↓ 2 callersMethodExtendInsert
(column string, value string, coltype string)
node/dbquery/sqlparser/interface.go:15
↓ 2 callersMethodForEachUnspentOutput
(address string, callback UnspentTransactionOutputCallbackInterface)
node/transactions/interface.go:25
↓ 2 callersMethodGetAddress
GetAddress returns wallet address
lib/remoteclient/wallet.go:126
↓ 2 callersMethodGetAddressHistory
Returns history of transactions for given address
node/nodemanager/blockchain.go:70
↓ 2 callersMethodGetAll
()
node/database/interface.go:116
↓ 2 callersMethodGetBestHeight
Returns height of the chain. Index of top block
node/nodemanager/blockchain.go:44
↓ 2 callersMethodGetBestHeight
GetBestHeight returns the height of the latest block
node/blockchain/manager.go:343
↓ 2 callersMethodGetBlock
Get block data by hash. It returns just []byte and and must be deserialised on ther place
node/database/blockchain.go:79
↓ 2 callersMethodGetBlockChainIterator
Creates iterator to go over blockchain
node/nodemanager/node.go:118
↓ 2 callersMethodGetBlockchainObject
returns BlockChain Database structure. does all init
node/database/manager.go:203
↓ 2 callersMethodGetBlocksShortInfo
Returns a list of blocks short info stating from given block or from a top
node/blockchain/manager.go:431
↓ 2 callersMethodGetComments
()
node/dbquery/sqlparser/interface.go:28
↓ 2 callersMethodGetConfig
()
node/config/config.go:350
↓ 2 callersMethodGetCurrencyTXsPreparedBy
Returns pending transations info prepared by address Return contains: List of all inputs used by this PubKeyHash in his pending TXs List of Outputs th
node/transactions/pending.go:254
↓ 2 callersMethodGetCurrencyTransactionAllInfo
Get full TX, spending status and block hash for TX by ID
node/transactions/index.go:428
↓ 2 callersMethodGetDataForTransaction
(txID []byte)
node/database/interface.go:129
↓ 2 callersMethodGetIDString
()
node/structures/transaction.go:46
↓ 2 callersMethodGetIfExists
Check if transaction exists in a cache of unapproved
node/transactions/pending.go:361
↓ 2 callersMethodGetIfUnapprovedExists
(txid []byte)
node/transactions/interface.go:21
↓ 2 callersMethodGetLockerObject
()
node/database/interface.go:14
↓ 2 callersMethodGetMySQLConnString
()
node/database/config.go:31
↓ 2 callersMethodGetNextBlocks
returns a list of hashes of all the blocks in the chain
node/blockchain/manager.go:544
↓ 2 callersMethodGetNodeState
Get node state
node/nodemanager/node.go:655
↓ 2 callersMethodGetOneColumnCondition
()
node/dbquery/sqlparser/interface.go:27
↓ 2 callersMethodGetPrivateKeyEncoded
Encode PrivateKey to string.
lib/remoteclient/wallet.go:113
↓ 2 callersMethodGetPublicKeyEncoded
Encode PubKey to string. We will use this for easy storing in a file
lib/remoteclient/wallet.go:108
↓ 2 callersMethodGetSimpler
Returns simpler copy of a block. This is the version for easy print TODO . not sure we really need this
node/structures/block.go:105
↓ 2 callersMethodGetTranactionOutputsSpent
Get list of spent outputs for TX It uses the block and top block hashes to find a range of blocks where a spending can be This index can contains spen
node/transactions/index.go:368
↓ 2 callersFunctionGetUnapprovedTransactionsEmpty
(datadir)
tests/transactions.py:131
↓ 2 callersMethodInit
Init node. Init interfaces of all DBs, blockchain, unspent transactions, unapproved transactions
node/nodemanager/node.go:49
↓ 2 callersMethodInitClient
Init network client object. It is used to communicate with other nodes
node/nodemanager/node.go:154
↓ 2 callersMethodInitNodes
Load list of other nodes addresses
node/nodemanager/node.go:170
↓ 2 callersMethodIsEmpty
()
node/structures/sqlpart.go:11
↓ 2 callersMethodIsKind
(kind string)
node/database/errors.go:30
↓ 2 callersMethodLogToFiles
Changes logging to files
lib/utils/utils.go:108
↓ 2 callersFunctionMakeWalletFromEncoded
(pubkeyenc, prikeyenc string)
lib/remoteclient/wallet.go:30
↓ 2 callersFunctionNewConfigDBProxyError
(err string)
lib/dbproxy/errors.go:33
↓ 2 callersFunctionNewHashDBError
(err string)
node/database/errors.go:69
↓ 2 callersFunctionNewMerkleTree
NewMerkleTree creates a new Merkle tree from a sequence of data
lib/utils/merkle_tree.go:20
↓ 2 callersFunctionNewNotFoundDBError
(kind string)
node/database/errors.go:46
↓ 2 callersFunctionNewTXNoEnoughFundsdError
(err string)
node/transactions/error.go:88
↓ 2 callersFunctionNewTXVerifyError
(err string, kind string, TX []byte)
node/transactions/error.go:74
↓ 2 callersFunctionNewTXVerifySQLBaseError
(err string, TX []byte)
node/transactions/error.go:78
← previousnext →201–300 of 1,260, ranked by callers