Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gelembjuk/oursql
/ functions
Functions
1,260 in github.com/Gelembjuk/oursql
⨍
Functions
1,260
◇
Types & classes
172
↓ 1 callers
Method
CheckDBExists
()
node/database/interface.go:18
↓ 1 callers
Method
CheckInputsArePrepared
Check if transaction inputs are pointed to some prepared transactions. Check conflicts too. Same output can not be repeated twice
node/transactions/pending.go:161
↓ 1 callers
Method
CheckIsKnown
Check if node address is known
lib/net/nodesnetwork.go:97
↓ 1 callers
Method
CheckNeedsHelp
()
node/config/config.go:374
↓ 1 callers
Method
ChooseSpendableOutputs
Choose inputs for new transaction
node/transactions/unspent.go:120
↓ 1 callers
Method
CloseConnection
()
node/database/manager.go:80
↓ 1 callers
Method
Copy
TrimmedCopy creates a trimmed copy of Transaction to be used in signing
node/structures/transaction.go:103
↓ 1 callers
Function
CopyBlockchainWithBlocks
()
tests/walletsbasic.py:253
↓ 1 callers
Method
CreateBlockchain
Create new blockchain, add genesis block witha given text
node/nodemanager/node.go:204
↓ 1 callers
Method
CreateCurrencyTransaction
Create transaction methods
node/transactions/interface.go:29
↓ 1 callers
Function
CreateLogger
Creates logger object. sets all logging to STDOUT
lib/utils/utils.go:35
↓ 1 callers
Method
DeleteNode
(nodeID []byte)
node/database/interface.go:140
↓ 1 callers
Method
DeleteTXSpentData
(txID []byte)
node/database/interface.go:98
↓ 1 callers
Method
DeleteTXToBlockLink
(txID []byte)
node/database/interface.go:95
↓ 1 callers
Method
DeleteTransaction
(txID []byte)
node/database/interface.go:120
↓ 1 callers
Method
DeserializeBlock
Deserialize BlockShort from bytes
node/structures/block.go:81
↓ 1 callers
Method
DeserializeBlock
DeserializeBlock deserializes a block
node/structures/block.go:205
↓ 1 callers
Function
DeserializeTransaction
Serialize Transaction
node/structures/manager.go:78
↓ 1 callers
Method
DetectConflicts
The function detects conflicts in unconfirmed transactions list This is for case when some transaction output was used for 2 or more transactions inpu
node/transactions/pending.go:746
↓ 1 callers
Method
DisableLogging
disable all logging
lib/utils/utils.go:92
↓ 1 callers
Method
DropBlock
* * Drop block from the top of blockchain * This will not check if there are other branch that can now be longest and becomes main branch */
node/nodemanager/node.go:547
↓ 1 callers
Method
DumpBlockchain
Dump DB to file
node/nodemanager/node.go:244
↓ 1 callers
Method
ErrorOrig
()
node/transactions/error.go:52
↓ 1 callers
Method
ExecuteCommand
Executes command based on input arguments
lib/remoteclient/cli.go:98
↓ 1 callers
Function
ExecuteHang
(command, folder, verbose = False)
tests/_lib.py:171
↓ 1 callers
Method
ExecuteManageCommand
Execute server management command
node/nodecli.go:337
↓ 1 callers
Function
ExecuteNode
(args,verbose=False)
tests/_lib.py:187
↓ 1 callers
Method
ExecuteParsedQuery
execute query from QueryParsed data.
node/dbquery/queryprocessing.go:204
↓ 1 callers
Method
ExecuteQueryFromTX
(sql structures.SQLUpdate)
node/dbquery/interface.go:13
↓ 1 callers
Method
ExecuteSQLCountInTable
(table string)
node/database/interface.go:43
↓ 1 callers
Method
ExecuteSQLExplain
(sql string)
node/database/interface.go:37
↓ 1 callers
Method
ExecuteSQLNextKeyValue
(table string)
node/database/interface.go:39
↓ 1 callers
Function
ExecuteSQLOnProxySign
(datadir,sqlcommand, pub_key, pri_key, success = True)
tests/_sql.py:59
↓ 1 callers
Method
ExecuteSQLSelectRow
(sqlcommand string)
node/database/interface.go:40
↓ 1 callers
Method
ExecuteSQLSelectRows
(sqlcommand string)
node/database/interface.go:41
↓ 1 callers
Method
ExecuteSQLTableDump
(table string, limit int, offset int)
node/database/interface.go:42
↓ 1 callers
Method
ExportToFile
Exports config to file
node/consensus/config.go:171
↓ 1 callers
Method
ExportWallet
Export wallets to external file. It is just a copy of wallets file
lib/remoteclient/wallets.go:95
↓ 1 callers
Method
ExtendNewTransactionInputs
Returns previous transactions. It later will be used to prepare data to sign
node/transactions/unspent.go:704
↓ 1 callers
Method
ExtendRulesApplyStartHeigh
Increase rule start block heigh for all rules It is used for initial DB import and create BC on existent data
node/consensus/config.go:341
↓ 1 callers
Function
FatalAssertSubstr
(s1,s2,comment)
tests/_lib.py:313
↓ 1 callers
Method
FindSQLBasedOnTransaction
Find SQL TX based on specific TX
node/transactions/pending.go:912
↓ 1 callers
Method
FindSQLReferenceTransaction
Find if there is transaction in a pool that updates given Reference can be used for some operations. INSERT can be based on a table create operation f
node/transactions/pending.go:843
↓ 1 callers
Method
FindunspentTransactions
Returns full list of unspent transactions outputs Iterates over full blockchain TODO this will not work for big blockchain. It keeps data in memory
node/transactions/unspent.go:373
↓ 1 callers
Method
ForEachUnapprovedTransaction
(callback UnApprovedTransactionCallbackInterface)
node/transactions/interface.go:26
↓ 1 callers
Method
GetAddressHistory
Returns history of transactions for given address
node/blockchain/iterator.go:68
↓ 1 callers
Method
GetAllTables
check if connection to DB can be set
node/nodemanager/database.go:72
↓ 1 callers
Function
GetAppInput
()
remoteclient/config.go:13
↓ 1 callers
Method
GetBCTopState
Get BC top info, height and last N block hashes
node/nodemanager/blockchain.go:189
↓ 1 callers
Function
GetBlocks
(datadir)
tests/_blocks.py:5
↓ 1 callers
Method
GetBlocksAfter
Get next blocks uppper then given
node/nodemanager/blockchain.go:171
↓ 1 callers
Method
GetBlocksShortInfoCreatedAfter
Returns a list of blocks short info stating from given block or from a top and created aftr given time
node/blockchain/manager.go:468
↓ 1 callers
Method
GetBlocksSince
Get updates since hash and time If we can find a hash form a list in current blockchain, we will return "maxcount" of hashes upper or all hashes. if w
node/blockchain/manager.go:510
↓ 1 callers
Method
GetBranchesReplacement
returns two branches of a block starting from their common block. One of branches is primary at this time
node/nodemanager/blockchain.go:130
↓ 1 callers
Method
GetClient
()
node/server/server.go:44
↓ 1 callers
Function
GetConfigFile
(datadir)
tests/_lib.py:228
↓ 1 callers
Method
GetConnecttionVerifiedNodeAddresses
Same as GetConnecttionVerifiedNodeAddr but returns all verified nodes or limited list if requested
lib/net/nodesnetwork.go:214
↓ 1 callers
Method
GetCount
Get number of unapproved transactions in a cache
node/transactions/pending.go:509
↓ 1 callers
Method
GetCountFiltered
Get number of unapproved transactions in a cache, but ignoring given list of transactions
node/transactions/pending.go:520
↓ 1 callers
Function
GetDBProxyCredentials
(testdatadir = "")
tests/_lib.py:100
↓ 1 callers
Method
GetDataReferencesObject
()
node/database/manager.go:216
↓ 1 callers
Method
GetFirstBlocks
Returns first blocks in block chain
node/blockchain/manager.go:596
↓ 1 callers
Method
GetFirstHash
()
node/database/interface.go:82
↓ 1 callers
Method
GetGenesisBlockHash
Returns genesis block hash First block is saved in sperate record in DB
node/blockchain/manager.go:796
↓ 1 callers
Method
GetIfExists
check if transaction exists. it checks in all places. in approved and pending
node/transactions/manager.go:933
↓ 1 callers
Method
GetInputValue
Get input value. Input is unspent TX output
node/transactions/unspent.go:85
↓ 1 callers
Method
GetKind
()
node/dbquery/sqlparser/parser.go:610
↓ 1 callers
Method
GetLockedTransactions
Returns list of transactions that are currently locked by block building process this are transaction taht are still ina pool but we already started t
node/server/blocksmaker.go:108
↓ 1 callers
Method
GetNewTransactionInputs
Find inputs for new structures. Receives list of pending inputs used in other not yet confirmed transactions Returns list of inputs prepared. Even if
node/transactions/unspent.go:660
↓ 1 callers
Method
GetNodesObject
returns Nodes Database structure. does al init
node/database/manager.go:272
↓ 1 callers
Method
GetNodesToExport
Get list of nodes in short format
lib/net/nodesnetwork.go:134
↓ 1 callers
Method
GetPaidTransactionsWallet
Returns wallet where to send money spent on paid transactions
node/consensus/config.go:284
↓ 1 callers
Method
GetPaidTransactionsWalletPubKeyHash
Returns wallet where to send money spent on paid transactions
node/consensus/config.go:304
↓ 1 callers
Method
GetPreparedBlockTransactionsIDs
()
node/consensus/interface.go:45
↓ 1 callers
Method
GetRandomInitialAddress
Returns one of addresses listed in initial addresses
node/consensus/config.go:233
↓ 1 callers
Method
GetRunningProcessInfo
Returns port and auth string of currently running process
node/server/daemon.go:494
↓ 1 callers
Method
GetServerAddress
()
node/database/config.go:24
↓ 1 callers
Method
GetServerState
* * Returns state of a server. Detects if it is running */
node/server/daemon.go:460
↓ 1 callers
Method
GetShortFormat
Get short format of the node
lib/net/network.go:54
↓ 1 callers
Method
GetSideBranch
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 empty l
node/blockchain/manager.go:656
↓ 1 callers
Method
GetTXForRefIDByTIP
Finds a base TX in blockchain by full read. It is only for side branches
node/transactions/rowsreferences.go:144
↓ 1 callers
Method
GetTable
()
node/dbquery/sqlparser/parser.go:622
↓ 1 callers
Method
GetTopBlockHash
Return top hash
node/nodemanager/blockchain.go:57
↓ 1 callers
Method
GetTopHash
Get top level block hash
node/database/blockchain.go:99
↓ 1 callers
Method
GetTransactionLimitsPerBlock
(h int)
node/consensus/proofofwork.go:145
↓ 1 callers
Method
GetTransactions
Get all unapproved transactions
node/transactions/pending.go:407
↓ 1 callers
Method
GetTransactionsFilteredByList
Get all unapproved transactions filtered by list of Txs to skip
node/transactions/pending.go:436
↓ 1 callers
Method
GetTransactionsFilteredByTime
Get all unapproved transactions filtered by create time and list to skip. Return only more recent
node/transactions/pending.go:470
↓ 1 callers
Method
GetTransactionsObject
returns Transaction Index Database structure. does al init
node/database/manager.go:230
↓ 1 callers
Function
GetUnapprovedTransactions
(datadir, skiperroronempty = False)
tests/_transfers.py:102
↓ 1 callers
Method
GetUnapprovedTransactionsFiltered
Returns list of transactions from the pool. Filters by time or maxcount, it total is lexx maxcount, returns all
node/transactions/interface.go:19
↓ 1 callers
Method
GetUnapprovedTransactionsForNewBlock
(number int)
node/transactions/interface.go:17
↓ 1 callers
Method
GetUnapprovedTransactionsObject
returns Unapproved Transaction Database structure. does al init
node/database/manager.go:244
↓ 1 callers
Method
GetUnspentCount
()
node/transactions/interface.go:16
↓ 1 callers
Method
GetUnspentOutputsObject
returns Unspent Transactions Database structure. does al init
node/database/manager.go:258
↓ 1 callers
Method
GetunspentTransactionsOutputs
Returns list of unspent transactions outputs for address
node/transactions/unspent.go:233
↓ 1 callers
Method
HasMinimum
()
node/database/config.go:17
↓ 1 callers
Function
HashPubKey
HashPubKey hashes public key
lib/utils/utils.go:247
↓ 1 callers
Method
HashTransactions
HashTransactions returns a hash of the transactions in the block
node/structures/block.go:170
↓ 1 callers
Method
HookNeworkOperationResultForNode
Same as HookNeworkOperationResult but finds a node by address, not by index
lib/net/nodesnetwork.go:260
← previous
next →
401–500 of 1,260, ranked by callers