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
Method
SetPreparedBlock
(block *structures.Block)
node/consensus/blockmaker.go:121
Method
SetTXForRefID
Save link between TX and block hash
node/database/datareferences.go:28
Function
SignDataByPubKey
(PubKey []byte, privKey ecdsa.PrivateKey, dataToSign []byte)
lib/utils/crypt.go:105
Function
SignDataSet
(PubKey []byte, privKey ecdsa.PrivateKey, dataSetsToSign [][]byte)
lib/utils/crypt.go:127
Method
StartNewSessionForInputConnects
Sets input connects marker to false to check if there will be new input connects
lib/net/nodesnetwork.go:124
Function
StartNodeAndImport
(port, importport, title, dbproxyport, suffix = "", host = "localhost")
tests/pulllongbc.py:89
Function
StartNodeConfig
(datadir, comment = "")
tests/startnode.py:84
Function
StartNodeInteractive
(datadir, address, port,comment = "")
tests/_node.py:5
Method
StartServer
Starts a server for node. It listens TPC port and communicates with other nodes and lite clients
node/server/server.go:229
Function
StartTest
(title)
tests/_lib.py:215
Function
StartTestGroup
(title)
tests/_lib.py:212
Method
Stop
()
lib/dbproxy/mysqlproxy.go:140
Method
Stop
Stop the routine
node/server/blocksmaker.go:113
Method
Stop
()
node/server/changeschecker.go:80
Method
Stop
()
node/server/queryfilter.go:144
Method
String
()
node/structures/transaction_input.go:16
Method
String
()
node/structures/transaction_output.go:111
Function
StringInSlice
TO check if a string is in slice
lib/utils/utils.go:280
Method
Swap
(i, j int)
node/structures/manager.go:118
Method
Swap
(i, j int)
node/structures/transaction_output.go:136
Function
TestAddBlockSimple
(t *testing.T)
node/server/transit_test.go:9
Function
TestBase58Decode
(t *testing.T)
lib/utils/base58_test.go:27
Function
TestBase58Encode
(t *testing.T)
lib/utils/base58_test.go:16
Function
TestBasic
(t *testing.T)
node/dbquery/sqlparser/parser_test.go:9
Function
TestBlockChainAdd
(t *testing.T)
node/database/blockchain_test.go:70
Function
TestBlockChainRemove
(t *testing.T)
node/database/blockchain_test.go:147
Function
TestCases
(t *testing.T)
lib/utils/merkle_tree_test.go:79
Function
TestComments
(t *testing.T)
node/dbquery/sqlparser/parser_test.go:51
Function
TestCondition
(t *testing.T)
node/dbquery/sqlparser/parser_test.go:101
Function
TestConditionString
(t *testing.T)
node/dbquery/sqlparser/parser_test.go:130
Function
TestCopyBlock
(t *testing.T)
node/structures/block_test.go:7
Function
TestDecodeComStmtExecuteRequest
(t *testing.T)
lib/dbproxy/decoder_test.go:150
Function
TestDecodeComStmtPrepareOkResponse
(t *testing.T)
lib/dbproxy/decoder_test.go:325
Function
TestDecodeHandshakeV10
(t *testing.T)
lib/dbproxy/decoder_test.go:61
Function
TestDecodeOkResponse
(t *testing.T)
lib/dbproxy/decoder_test.go:13
Function
TestDecodeQueryRequest
(t *testing.T)
lib/dbproxy/decoder_test.go:275
Function
TestInsert
(t *testing.T)
node/dbquery/sqlparser/parser_test.go:159
Function
TestKeysEncoding
(t *testing.T)
lib/remoteclient/wallet_test.go:9
Function
TestNewMerkleNode
(t *testing.T)
lib/utils/merkle_tree_test.go:13
Function
TestNewMerkleTree
(t *testing.T)
lib/utils/merkle_tree_test.go:54
Function
TestParsingUpdate
(t *testing.T)
node/dbquery/queryprocessing_test.go:10
Function
TestReadEOFLengthString
func TestReadLenEncodedString(t *testing.T) { expected := "ABCDEFGHIKLMONPQRSTYW" packet := []byte{ 0x15, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47
lib/dbproxy/decoder_test.go:380
Function
TestReadNullTerminatedString
(t *testing.T)
lib/dbproxy/decoder_test.go:392
Function
TestSaveAndLoad
(t *testing.T)
lib/remoteclient/wallets_test.go:10
Function
TestSerialize
* func TestHash(t *testing.T) { newTX := makeTestTX() _, err := newTX.Hash() if err != nil { t.Fatalf("Hash error %s", err.Error()) } expect
node/structures/transaction_test.go:53
Function
TestServerStart
(t *testing.T)
node/server/server_test.go:7
Function
TestSignature
(t *testing.T)
node/structures/transaction_test.go:98
Function
TestSignatureFormat
(t *testing.T)
lib/utils/crypt_test.go:13
Function
TestToBytes
(t *testing.T)
node/structures/transaction_test.go:79
Function
TestUpdateColumns
(t *testing.T)
node/dbquery/sqlparser/parser_test.go:73
Function
TestVerify
(t *testing.T)
lib/utils/crypt_test.go:61
Method
ToBytes
()
node/structures/transaction_input.go:25
Method
ToBytes
()
node/structures/transaction_output.go:120
Method
TruncateDB
()
node/database/unspentoutputs.go:33
Method
TruncateDB
()
node/database/interface.go:105
Method
TruncateDB
()
node/database/interface.go:113
Method
TruncateDB
()
node/database/interface.go:125
Method
TruncateDB
transacet tables
node/database/transactions.go:37
Method
TruncateDB
()
node/database/unapprovedtransactions.go:37
Method
TruncateDB
transacet tables
node/database/datareferences.go:23
Method
TryToMakeNewBlock
* * Sends signal to routine where we make blocks. This makes the routine to check transactions in unapproved cache * And try to make a block if there
node/server/server.go:333
Method
UpdateConfig
Replace consensus config file . It checks if a config is correct, if can be parsed
node/consensus/config.go:259
Method
UpdateOnBlockAdd
Block Added To Main branch We change index of row references and transactions
node/transactions/rowsreferences.go:98
Method
UpdateOnBlockCancel
Block Removed Fom Main branch We change index of row references and transactions
node/transactions/rowsreferences.go:30
Method
VerifyBlock
Verify the block. We check if it is correct agains previous block Verify a block against blockchain RULES 0. Verification is done agains blockchain br
node/consensus/blockmaker.go:278
Function
WaitBlocks
(datadir, explen, maxtime = 10)
tests/_blocks.py:36
Function
WaitBlocksInState
(datadir, explen, maxtime = 10)
tests/_node.py:60
Function
WaitNodes
(datadir, explen, maxtime = 10)
tests/managenodes.py:212
Method
WaitStop
()
lib/dbproxy/interface.go:14
Method
WaitStop
()
lib/dbproxy/mysqlproxy.go:168
Function
WaitUnapprovedTransactions
(datadir, count, maxseconds = 10)
tests/_transfers.py:152
Function
WaitUnapprovedTransactionsEmpty
(datadir, maxseconds = 10)
tests/_transfers.py:133
Method
Write
Data received from server and it is time to send it to client
lib/dbproxy/mysqlproxy.go:374
Function
aftertest
(testfilter)
tests/pullsync.py:21
Function
aftertest
(testfilter)
tests/sqlproxysync.py:15
Function
aftertest
(testfilter)
tests/consensussql.py:18
Function
aftertest
(testfilter)
tests/sqlproxysyncoffline.py:15
Function
aftertest
(testfilter)
tests/sqlbasic.py:12
Function
aftertest
(testfilter)
tests/highloadsingle.py:19
Function
aftertest
(testfilter)
tests/sqlproxybasic.py:13
Function
aftertest
(testfilter)
tests/balancebasic.py:13
Function
aftertest
(testfilter)
tests/walletsbasic.py:16
Function
aftertest
(testfilter)
tests/consensusconfig.py:17
Function
aftertest
(testfilter)
tests/mixedproxysync.py:18
Function
aftertest
(testfilter)
tests/pullsynclongmint.py:21
Function
aftertest
(testfilter)
tests/blockscommon.py:10
Function
aftertest
(testfilter)
tests/blocksnodessql.py:21
Function
aftertest
(testfilter)
tests/importblockchain.py:20
Function
aftertest
(testfilter)
tests/sqlonnonemptybig.py:17
Function
aftertest
(testfilter)
tests/sqlbasicsync.py:14
Function
aftertest
(testfilter)
tests/sqllaterlimits.py:13
Function
aftertest
(testfilter)
tests/managenodes.py:16
Function
aftertest
(testfilter)
tests/blocksnodes.py:19
Function
aftertest
(testfilter)
tests/sqlproxybasicexternal.py:16
Function
aftertest
(testfilter)
tests/sqlpaid.py:13
Function
aftertest
(testfilter)
tests/consensus.py:17
Function
aftertest
(testfilter)
tests/pulllongbc.py:24
Function
aftertest
(testfilter)
tests/sqlonnonempty.py:13
Function
aftertest
(testfilter)
tests/consensusext.py:20
Function
allowgrouprun
()
tests/highloadsingle.py:16
← previous
next →
1,101–1,200 of 1,260, ranked by callers