MCPcopy Create free account

hub / github.com/Gelembjuk/oursql / functions

Functions1,260 in github.com/Gelembjuk/oursql

↓ 2 callersMethodOpenConnection
set status of connection to open
node/database/manager.go:68
↓ 2 callersMethodPrepareNewBlock
Fills a block with transactions. But without signatures
node/structures/block.go:148
↓ 2 callersMethodPrepareNewBlock
()
node/consensus/interface.go:42
↓ 2 callersMethodPrintUsage
()
node/config/config.go:514
↓ 2 callersMethodPutTXSpentOutputs
(txID []byte, outputs []byte)
node/database/interface.go:96
↓ 2 callersMethodPutTXToBlockLink
(txID []byte, blockHash []byte)
node/database/interface.go:93
↓ 2 callersMethodReceivedBlockFromOtherNode
New block info received from oher node. It is only Hash and PrevHash, not full block Check if this is new block and if previous block is fine returns
node/nodemanager/node.go:562
↓ 2 callersMethodReceivedFullBlockFromOtherNode
* * New block info received from oher node * Check if this is new block and if previous block is fine * returns state of processing. if a block data w
node/nodemanager/node.go:589
↓ 2 callersMethodReindex
Reindex cach of trsnactions pointers to block
node/transactions/index.go:236
↓ 2 callersFunctionRemoveNode
(datadir, nodehost,nodeport)
tests/managenodes.py:225
↓ 2 callersMethodRequiresBaseTransation
()
node/dbquery/interface.go:22
↓ 2 callersMethodResponseCallback
(sessionID string, err error)
lib/dbproxy/interface.go:42
↓ 2 callersMethodRestore
(file string)
node/database/interface.go:35
↓ 2 callersMethodRun
()
lib/dbproxy/interface.go:12
↓ 2 callersMethodSaveToFile
SaveToFile saves wallets to a file
lib/remoteclient/wallets.go:193
↓ 2 callersMethodSaveTopHash
(hash []byte)
node/database/interface.go:79
↓ 2 callersMethodSendBlock
Send block to other node
lib/nodeclient/nodeclient.go:318
↓ 2 callersMethodSendBlockToAll
Send block to all known nodes This is used in case when new block was received from other node or created by this node. We will notify our network abo
node/nodemanager/communication.go:96
↓ 2 callersMethodSendGetBalance
Request for list of unspent transactions outputs It can be used by wallet to see a state of balance
lib/nodeclient/nodeclient.go:611
↓ 2 callersMethodSendGetBlocks
Sedn request to get list of blocks on other node.
lib/nodeclient/nodeclient.go:343
↓ 2 callersMethodSendGetData
Request for a transaction or a block to get full info by ID or Hash
lib/nodeclient/nodeclient.go:407
↓ 2 callersMethodSendNewTransactionData
Send new transaction from a wallet to a node
lib/nodeclient/nodeclient.go:513
↓ 2 callersMethodSendTx
Send Transaction to other node
lib/nodeclient/nodeclient.go:467
↓ 2 callersMethodSendVersion
Send own version and blockchain state to other node
lib/nodeclient/nodeclient.go:479
↓ 2 callersMethodSerializeHashes
Serialise list of hashes
node/transactions/index.go:311
↓ 2 callersMethodSerializeOutputs
Serialize. We need this to store data in DB in bytes
node/transactions/index.go:285
↓ 2 callersMethodSetLockerObject
(lockerobj DatabaseLocker)
node/database/interface.go:15
↓ 2 callersMethodSetNodeAddress
Set currrent node address , to include itin requests to other nodes
lib/nodeclient/nodeclient.go:269
↓ 2 callersMethodSetNodes
Set nodes list. This can be used to do initial nodes loading from config or so
lib/net/nodesnetwork.go:67
↓ 2 callersMethodSetSQLPreviousTX
set ID of previous TX where SQL item was updated
node/structures/transaction.go:358
↓ 2 callersMethodSetTXForRefID
(RefID []byte, txID []byte)
node/database/interface.go:106
↓ 2 callersMethodShiftNextBlock
(fromaddr net.NodeAddr)
node/server/transit.go:54
↓ 2 callersMethodStart
Run function to request other nodes for changes regularly
node/server/blocksmaker.go:33
↓ 2 callersFunctionStartNodeAndImport
(port, importport, title, dbproxyport, suffix = "", host = "localhost")
tests/pullsync.py:140
↓ 2 callersFunctionStartNodeAndImport
(port, importport, title, dbproxyport, suffix = "")
tests/blocksnodes.py:84
↓ 2 callersMethodStartServer
Starts a node in daemon mode. Creates new process and this process exists
node/server/daemon.go:145
↓ 2 callersMethodToBytes
converts transaction to slice of bytes this will be used to do a hash of transactions
node/structures/transaction.go:267
↓ 2 callersMethodToBytes
()
node/structures/sqlpart.go:18
↓ 2 callersMethodTryToMakeBlock
Try to make a block. If no enough transactions, send new transaction to all other nodes
node/nodemanager/node.go:368
↓ 2 callersMethodVerifyTransaction
Verify transaction against all rules
node/consensus/blockmaker.go:358
↓ 2 callersMethodaddFirstBlock
Create new blockchain from given genesis block
node/nodemanager/blockchain_create.go:230
↓ 2 callersMethodaddNonceToPrepared
(data []byte, nonce int)
node/consensus/proofofwork.go:87
↓ 2 callersMethodcheckArgumentsAreFine
Help function to ferify input arguments on start
node/server/daemon.go:113
↓ 2 callersMethodcheckPIDFile
Check state of pid file. To know if a node server is running or not
node/server/daemon.go:80
↓ 2 callersMethodcheckProcessExists
(pid int)
node/server/daemon.go:477
↓ 2 callersMethodcommandImportBlockchain
To init blockchain loaded from other node. Is executed for new nodes if blockchain already exists
node/nodecli.go:454
↓ 2 callersMethodcommandInitBlockchain
To create new blockchain from scratch
node/nodecli.go:429
↓ 2 callersMethodcompleteNewTX
execute when new TX is ready. all is set. do last action
node/structures/transaction.go:37
↓ 2 callersFunctiondecodeHandshakeResponse41
DecodeHandshakeResponse41 decodes handshake response packet send by client. TODO: Add packet struct comment TODO: Add packet length check
lib/dbproxy/decoder.go:226
↓ 2 callersFunctiondecodeHandshakeV10
DecodeHandshakeV10 decodes initial handshake request from server. Basic packet structure shown below. See http://imysql.com/mysql-internal-manual/conn
lib/dbproxy/decoder.go:128
↓ 2 callersMethoddecodeKey
decode bytes from string
node/database/connection.go:172
↓ 2 callersMethoddeprecateEOFSet
====================================================== Protocol detection functions
lib/dbproxy/encoder.go:175
↓ 2 callersMethoddoBuildCommandData
Builds a command data. It prepares a slice of bytes from given data
lib/nodeclient/nodeclient.go:722
↓ 2 callersMethodgetBaseTransaction
Finds a transaction where a refID was last updated or which can be used as a base Firstly looks in a pool of transactions ,if not found, looks in an i
node/transactions/manager.go:1011
↓ 2 callersMethodgetBaseTransactionInChain
Finds a transaction where a refID was last updated or which can be used as a base Looks in current blockchain, not in a pool. Also starts from given T
node/transactions/manager.go:1078
↓ 2 callersMethodgetColumnDefPacket
(schema, table, column string)
lib/dbproxy/encoder.go:116
↓ 2 callersMethodgetCreateManager
Init block maker object. It is used to make new blocks
node/nodemanager/node.go:143
↓ 2 callersMethodgetPacket
()
lib/dbproxy/interface.go:19
↓ 2 callersMethodgetTableCustomConfig
check custom rule for the table about permissions
node/consensus/config.go:318
↓ 2 callersFunctiongetTestDBManagerInited
()
node/database/blockchain_test.go:13
↓ 2 callersFunctiongetTextCases
()
lib/utils/base58_test.go:9
↓ 2 callersMethodgetTransactionsManager
()
node/consensus/querymanager.go:39
↓ 2 callersMethodgetVerifyManager
(prevBlockNumber int)
node/consensus/blockmaker.go:51
↓ 2 callersMethodgetVerifyManager
(prevBlockNumber int)
node/consensus/querymanager.go:52
↓ 2 callersMethodhasAnyNonDefaut
Returns trus if a Const structure has any values more 0. False if no any payments required
node/consensus/config.go:371
↓ 2 callersMethodhelperCheckTXInList
helper function to check if a TX is in the list of TXs
node/transactions/pending.go:937
↓ 2 callersMethodinitNodeClient
Inits nodeclient object. It is used to communicate with a node
lib/remoteclient/cli.go:72
↓ 2 callersMethodloadFromFile
Load consensus config JSON from file and parse
node/consensus/config.go:104
↓ 2 callersMethodmakeNewInitialBlock
Make new initial block from prepared SQLs
node/nodemanager/blockchain_create.go:384
↓ 2 callersFunctionmakeTestTX
()
node/structures/transaction_test.go:11
↓ 2 callersMethodparseConditionDetails
parse condition details
node/dbquery/sqlparser/parser.go:405
↓ 2 callersMethodparseConditionString
parse condition details to columns. NOTE we don't care about logic if there are AND,OR,NOT . We don't need it at this place NOTE this function can not
node/dbquery/sqlparser/parser.go:460
↓ 2 callersFunctionparseConfig
Parses input
node/config/config.go:113
↓ 2 callersMethodparseQueryFromTX
(tx *structures.Transaction, flags int)
node/consensus/blockmaker.go:480
↓ 2 callersFunctionparseWalletBalance
(res, address)
tests/_wallet.py:4
↓ 2 callersMethodprepareData
Prepares data for next iteration of PoW this will be hashed
node/consensus/proofofwork.go:67
↓ 2 callersMethodprepareNewCurrencyTransactionComplete
(PubKey []byte, to string, amount float64, inputs []structures.TXCurrencyInput, totalamount float64, prevTXs
node/transactions/manager.go:895
↓ 2 callersMethodprepareNewCurrencyTransactionStart
(PubKey []byte, to string, amount float64)
node/transactions/manager.go:844
↓ 2 callersFunctionreadNullTerminatedString
ReadNullTerminatedString reads bytes from reader until 0x00 byte See https://mariadb.com/kb/en/mariadb/protocol-data-types/#null-terminated-strings
lib/dbproxy/decoder.go:579
↓ 2 callersMethodrenewCache
Loads all Txs from DB to memory
node/transactions/pending.go:60
↓ 2 callersMethodserialize
Serialize returns a serialized Transaction
node/structures/transaction.go:239
↓ 2 callersMethodstopAllSubroutines
Stop all sub routines on server stop
node/server/server.go:375
↓ 2 callersMethodtransactionsFromAddedBlock
check every TX from a block if SQL should be executed when block added to top of chain
node/transactions/manager.go:441
↓ 1 callersMethodAddFromCanceled
Is used for case when a block canceled. all transactions from a block are back to unapproved cache
node/transactions/pending.go:797
↓ 1 callersFunctionAddInternalKeyToConfig
(datadir, address)
tests/_complex.py:558
↓ 1 callersMethodAddNewTransaction
(tx *structures.Transaction, flags int)
node/transactions/interface.go:31
↓ 1 callersMethodAddNewTransaction
New transaction reveived from other node. There is no verify. We presume it was verified before this separately
node/transactions/manager.go:521
↓ 1 callersFunctionAddNode
(datadir, nodehost,nodeport)
tests/managenodes.py:230
↓ 1 callersFunctionAddProxyToConfig
(datadir, proxhost)
tests/_complex.py:555
↓ 1 callersFunctionAddresBToPubKeyHash
(address []byte)
lib/utils/utils.go:194
↓ 1 callersMethodAnyChangesPulled
Detects if there were any changes pulled
node/nodemanager/communication.go:416
↓ 1 callersFunctionAssert
(cond,comment)
tests/_lib.py:323
↓ 1 callersFunctionAssertStr
(s1,s2,comment)
tests/_lib.py:295
↓ 1 callersFunctionAssertSubstr
(s1,s2,comment)
tests/_lib.py:306
↓ 1 callersMethodBlockAddedToPrimaryChain
block was not in primary chain and now is
node/transactions/interface.go:40
↓ 1 callersMethodBlockRemoved
(block *structures.Block)
node/transactions/index.go:140
↓ 1 callersMethodBlockRemovedFromPrimaryChain
block was in primary chain and now is not
node/transactions/interface.go:42
↓ 1 callersMethodCheckBlockIsInRange
Receive ist of hashes and return a hash that is in the chain defined by top hash
node/blockchain/manager.go:947
↓ 1 callersMethodCheckConfigUpdateNeeded
()
node/config/config.go:381
↓ 1 callersMethodCheckCurrencyInputsWereBefore
Check if transaction inputs are pointed to some non approved transactions. That are listed in a block before this transactions Receives list of inputs
node/transactions/pending.go:202
← previousnext →301–400 of 1,260, ranked by callers