MCPcopy Create free account

hub / github.com/Gelembjuk/oursql / functions

Functions1,260 in github.com/Gelembjuk/oursql

MethodCompleteBlock
finalise a block. in this place we do MIMING Block was prepared. Now do final work for this block. In our case it is PoW process
node/consensus/blockmaker.go:193
FunctionCopy6Nodes
()
tests/_complex.py:567
FunctionCopy6NodesSQL
()
tests/_complex.py:589
FunctionCopyBytes
(source []byte)
lib/utils/utils.go:268
FunctionCopyTestConsensusConfig
(todir,consconfname, walletaddr)
tests/_lib.py:237
FunctionCopyTestData
(todir,testset)
tests/_lib.py:255
MethodCountTransactions
Returns total number of unspent transactions in a cache.
node/transactions/unspent.go:278
MethodCreateBlockchain
Create new blockchain, add genesis block witha given text
node/nodemanager/blockchain_create.go:50
MethodCreateCurrencyTransaction
Send amount of money if a node is not running. This function only adds a transaction to queue Attempt to send the transaction to other nodes will be d
node/transactions/manager.go:478
FunctionCreateLoggerStdout
()
lib/utils/utils.go:63
FunctionCreateTestFolder
(suffix = "")
tests/_lib.py:63
FunctionCreateWallet
(datadir)
tests/_wallet.py:84
FunctionDBExecute
(datadir, sql, proxy = False)
tests/_lib.py:129
FunctionDBGetRow
(datadir, sql, proxy = False)
tests/_lib.py:115
FunctionDBGetRows
(datadir, sql, proxy = False)
tests/_lib.py:122
FunctionDBQuote
Enquotes a string to build safe SQL This should be equivalent to PHP mysql_real_escape_string function
lib/utils/utils.go:291
MethodDeleteBlock
Delete block record
node/database/blockchain.go:89
MethodDeleteBlock
* * DeleteBlock deletes the top block (last added) * The function extracts the last block, deletes it and sets the tip to point to * previous block. *
node/blockchain/manager.go:253
MethodDeleteDataForTransaction
(txID []byte)
node/database/unspentoutputs.go:41
MethodDeleteFromBlocks
* * Remove given blocks transavtions from unapproved . For case when list of blocks are added to primary blockchain branch */
node/transactions/pending.go:637
MethodDeleteNode
(nodeID []byte)
node/database/nodes.go:44
MethodDeleteRefID
Delete link between TX and a block hash
node/database/datareferences.go:38
MethodDeleteTXSpentData
Delete info about spent outputs for TX
node/database/transactions.go:72
MethodDeleteTXToBlockLink
Delete link between TX and a block hash
node/database/transactions.go:57
MethodDeleteTransaction
delete transation from DB
node/database/unapprovedtransactions.go:52
FunctionDeserializeOutputs
DeserializeOutputs deserializes TXOutputs
node/structures/transaction_output.go:99
MethodDropBlock
Drop block from a top of blockchain
node/nodemanager/blockchain.go:91
MethodDump
(file string)
node/database/mocks.go:68
MethodDump
(file string)
node/database/manager.go:316
MethodDump
dump DB to file
node/nodemanager/database.go:170
FunctionEndTestGroupSuccess
()
tests/_lib.py:220
FunctionEndTestSuccess
()
tests/_lib.py:217
MethodError
()
lib/dbproxy/encoder.go:58
MethodError
()
node/transactions/error.go:36
MethodError
()
node/transactions/error.go:40
MethodError
()
node/transactions/error.go:44
FunctionExecuteHangNode
(args, folder, verbose=False)
tests/_lib.py:195
MethodExecuteQuery
execute query against a DB, returns SQLUpdate. Detects RefID and builds rollback
node/dbquery/queryprocessing.go:194
MethodExecuteQueryFromTX
Execute query from TX
node/dbquery/queryprocessing.go:221
MethodExecuteRollbackQueryFromTX
Execute rollback query from TX
node/dbquery/queryprocessing.go:226
FunctionExecuteSQL
(datadir,fromaddr,sqlcommand)
tests/_sql.py:7
MethodExecuteSQL
(sql string)
node/database/mocks.go:74
MethodExecuteSQL
execute query.
node/database/manager.go:368
MethodExecuteSQLCountInTable
(table string)
node/database/mocks.go:109
MethodExecuteSQLCountInTable
Get count of rows in table
node/database/manager.go:621
MethodExecuteSQLExplain
(sql string)
node/database/mocks.go:82
MethodExecuteSQLExplain
execute EXPLAIN query to check if sql query is correct and what is type and which table it affects
node/database/manager.go:379
FunctionExecuteSQLFailure
(datadir,fromaddr,sqlcommand)
tests/_sql.py:24
MethodExecuteSQLNextKeyValue
(table string)
node/database/mocks.go:101
MethodExecuteSQLNextKeyValue
Return next auto_increment before query executed
node/database/manager.go:525
FunctionExecuteSQLOnProxy
(datadir,sqlcommand)
tests/_sql.py:41
FunctionExecuteSQLOnProxyFail
(datadir,sqlcommand)
tests/_sql.py:50
FunctionExecuteSQLOnProxySignFail
(datadir,sqlcommand, pub_key, pri_key)
tests/_sql.py:90
MethodExecuteSQLPrimaryKey
(table string)
node/database/mocks.go:88
MethodExecuteSQLPrimaryKey
get primary key column name for a table
node/database/manager.go:402
MethodExecuteSQLRowByKey
get row by table name and primary key value
node/database/manager.go:413
MethodExecuteSQLSelectRow
(sqlcommand string)
node/database/mocks.go:93
MethodExecuteSQLSelectRows
(sqlcommand string)
node/database/mocks.go:97
MethodExecuteSQLSelectRows
get all rows as array of maps
node/database/manager.go:471
MethodExecuteSQLTableDump
(table string, limit int, offset int)
node/database/mocks.go:105
MethodExecuteSQLTableDump
Return list of SQL queries as part of dump If offset is 0 we retrn table create SQL comand too
node/database/manager.go:536
FunctionExecuteWallet
(args,verbose=False)
tests/_lib.py:191
MethodExtendInsert
updates already parsed query if it is insert adds one more column to a query
node/dbquery/sqlparser/parser.go:75
FunctionExtractCommand
Get command part from request string
lib/net/network.go:130
FunctionFatal
(comment)
tests/_lib.py:291
FunctionFatalAssert
(cond,comment)
tests/_lib.py:329
FunctionFatalAssertFloat
(f1,f2,comment)
tests/_lib.py:317
FunctionFatalAssertPIDNotRunning
Check For the existence of a unix pid.
tests/_lib.py:341
FunctionFatalAssertPIDRunning
Check For the existence of a unix pid.
tests/_lib.py:333
FunctionFatalAssertStr
(s1,s2,comment)
tests/_lib.py:302
FunctionFatalRegex
(expr,text,comment)
tests/_lib.py:351
MethodForEach
execute functon for each key/value in the bucket
node/database/unspentoutputs.go:24
MethodForEach
retrns nodes list iterator
node/database/nodes.go:24
MethodForEach
(callback ForEachKeyIteratorInterface)
node/database/interface.go:114
MethodForEach
(callback ForEachKeyIteratorInterface)
node/database/interface.go:126
MethodForEach
execute functon for each key/value in the bucket
node/database/unapprovedtransactions.go:28
MethodForEachUnapprovedTransaction
Iterate over unapproved transactions, for example to display them . Accepts callback as argument
node/transactions/manager.go:277
MethodForEachUnspentOutput
Iterate over unspent transactions outputs, for example to display them . Accepts callback as argument
node/transactions/manager.go:282
MethodGetAddressBalance
* * Calculates address balance using the cache of unspent transactions outputs */
node/transactions/unspent.go:60
MethodGetAddressBalance
Calculates balance of address. Uses DB of unspent trasaction outputs and cache of pending transactions
node/transactions/manager.go:93
MethodGetAll
Get all records as single request
node/database/unapprovedtransactions.go:23
MethodGetAll
Get all records from DB. There is max limit maxPossibleRowsToReturn returns list of 2 dimensional slices with key and pair
node/database/connection.go:104
MethodGetAlternativeRefID
()
node/dbquery/sqlupdatemanager.go:125
FunctionGetAppInput
Parses input and config file. Command line arguments ovverride config file options
node/config/config.go:104
FunctionGetAppInputFromDir
(dirpath string)
node/config/config.go:108
FunctionGetBalance
(datadir, address)
tests/_transfers.py:5
FunctionGetBalanceWallet
(datadir, address, host, port)
tests/_wallet.py:40
FunctionGetBalanceWalletNoNode
(datadir, address)
tests/_wallet.py:47
MethodGetBlock
Get block objet by hash
node/nodemanager/blockchain.go:37
MethodGetBlockAtHeight
Returns a block with specified height in current blockchain TODO can be optimized using blocks index
node/blockchain/manager.go:314
MethodGetBlockHashForTX
Get block hash for TX
node/database/transactions.go:52
MethodGetBlockchainObject
()
node/database/mocks.go:43
FunctionGetBlocksExt
(datadir)
tests/_blocks.py:16
MethodGetBranchesReplacement
* * Returns a chain of blocks starting from a hash and till * end of blockchain or block from main chain found * if already in main chain then returns
node/blockchain/manager.go:767
MethodGetCanonicalQuery
================== END PARSERS =============================
node/dbquery/sqlparser/parser.go:607
MethodGetComments
()
node/dbquery/sqlparser/parser.go:663
MethodGetConnecttionVerifiedNodeAddr
Checks nodes rendomly and returns first found node that is accesible It check if a node was ever connected from this place
lib/net/nodesnetwork.go:192
MethodGetCount
get count of records in the table
node/database/unspentoutputs.go:29
MethodGetCount
get count of records in the table
node/database/nodes.go:29
MethodGetCount
()
node/database/interface.go:115
← previousnext →801–900 of 1,260, ranked by callers