Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Molecular-Future/MOS
/ functions
Functions
654 in github.com/Molecular-Future/MOS
⨍
Functions
654
◇
Types & classes
109
↓ 2 callers
Method
flushToFile
()
src/main/java/org/mos/mcore/tools/queue/FilePendingQueue.java:168
↓ 2 callers
Method
getChild
获取子节点 @param idx 子节点索引 @param storage 存储 @return 子节点
src/main/java/org/mos/mcore/trie/StateTrieNode.java:280
↓ 2 callers
Method
getDao
()
src/main/java/org/mos/mcore/datasource/AccountDataAccess.java:35
↓ 2 callers
Method
getKeyByte
()
src/main/java/org/mos/mcore/handler/AccountHandler.java:224
↓ 2 callers
Method
getLastConnectedBlock
()
src/main/java/org/mos/mcore/handler/ChainHandler.java:346
↓ 2 callers
Method
getStorableKey
()
src/main/java/org/mos/mcore/tools/queue/IStorable.java:13
↓ 2 callers
Method
getStorageValue
(AccountInfo.Builder oAccount, byte[] key)
src/main/java/org/mos/mcore/handler/AccountHandler.java:329
↓ 2 callers
Method
getType
执行器类型 @return
src/main/java/org/mos/mcore/actuator/IActuator.java:55
↓ 2 callers
Method
getValueByte
()
src/main/java/org/mos/mcore/handler/AccountHandler.java:228
↓ 2 callers
Method
isDone
(TransactionInfoOrBuilder mtx)
src/main/java/org/mos/mcore/bean/TransactionExecutorResult.java:11
↓ 2 callers
Method
isNullNode
()
src/main/java/org/mos/mcore/trie/StateTrieNode.java:85
↓ 2 callers
Method
keyIndexAt
(byte[] key, int deep)
src/main/java/org/mos/mcore/trie/StorageTrieNode.java:118
↓ 2 callers
Method
keyIndexAt
(byte[] key, int deep)
src/main/java/org/mos/mcore/trie/StateTrieNode.java:319
↓ 2 callers
Method
keySize
(byte[] key)
src/main/java/org/mos/mcore/trie/StorageTrieNode.java:113
↓ 2 callers
Method
keySize
(byte[] key)
src/main/java/org/mos/mcore/trie/StateTrieNode.java:314
↓ 2 callers
Method
list
(List<byte[]> key)
src/main/java/org/mos/mcore/api/ODBSupport.java:26
↓ 2 callers
Method
loadBuffer
()
src/main/java/org/mos/mcore/tools/queue/FilePendingQueue.java:195
↓ 2 callers
Method
merge
@param arrays - arrays to merge @return - merged array
src/main/java/org/mos/mcore/tools/bytes/BytesHelper.java:464
↓ 2 callers
Method
overrideChildNode
(int idx, byte[] v)
src/main/java/org/mos/mcore/trie/StateTrieNode.java:422
↓ 2 callers
Method
parseBytes
Parses fixed number of bytes starting from {@code offset} in {@code input} array. If {@code input} has not enough bytes return array will be right pad
src/main/java/org/mos/mcore/tools/bytes/BytesHelper.java:662
↓ 2 callers
Method
pollFirst
()
src/main/java/org/mos/mcore/tools/queue/IPendingQueue.java:11
↓ 2 callers
Method
processBlock
Process one block of data. @param data the data block
src/main/java/org/mos/mcore/crypto/hash/DigestEngine.java:60
↓ 2 callers
Method
processBlock
(BlockInfo.Builder currentBlock, BlockInfo parentBlock, List<TransactionInfo> createdtxs)
src/main/java/org/mos/mcore/handler/BlockHandler.java:624
↓ 2 callers
Method
put
(byte[] key, byte[] v)
src/main/java/org/mos/mcore/trie/StorageTrie.java:86
↓ 2 callers
Method
removeWaitingBlockTx
(byte[] txHash, long rmtime)
src/main/java/org/mos/mcore/handler/TransactionHandler.java:277
↓ 2 callers
Method
reset
@see org.mos.core.crypto.fok.cryptohash.Digest
src/main/java/org/mos/mcore/crypto/hash/DigestEngine.java:142
↓ 2 callers
Method
shutdown
()
src/main/java/org/mos/mcore/tools/queue/IPendingQueue.java:6
↓ 2 callers
Method
signatureToAddress
(byte[] content, byte[] signature)
src/main/java/org/mos/mcore/api/ICryptoHandler.java:32
↓ 2 callers
Method
signatureToKey
(byte[] content, byte[] signature)
src/main/java/org/mos/mcore/api/ICryptoHandler.java:34
↓ 2 callers
Method
size
()
src/main/java/org/mos/mcore/tools/bytes/BytesSet.java:19
↓ 2 callers
Method
syncPutCache
()
src/main/java/org/mos/mcore/service/StateTrie.java:67
↓ 2 callers
Method
toJsonString
()
src/main/java/org/mos/mcore/trie/StateTrieTree.java:46
↓ 2 callers
Method
tryStableBlock
(BlockInfo block)
src/main/java/org/mos/mcore/handler/ChainHandler.java:659
↓ 2 callers
Method
verify
(byte[] publicKey, byte[] content, byte[] signature)
src/main/java/org/mos/mcore/api/ICryptoHandler.java:36
↓ 1 callers
Method
add
(E e)
src/main/java/org/mos/mcore/tools/bytes/BytesSetAdapter.java:46
↓ 1 callers
Method
addChildBlock
(BlockMessage child)
src/main/java/org/mos/mcore/bean/BlockMessageMark.java:20
↓ 1 callers
Method
addElement
(IStorable hp)
src/main/java/org/mos/mcore/tools/queue/FilePendingQueue.java:143
↓ 1 callers
Method
addElement
(T hp)
src/main/java/org/mos/mcore/tools/queue/IPendingQueue.java:7
↓ 1 callers
Method
asString
(Object decoded)
src/main/java/org/mos/mcore/tools/bytes/BytesDecodeResult.java:31
↓ 1 callers
Method
batchDelete
(List<byte[]> key)
src/main/java/org/mos/mcore/api/ODBSupport.java:40
↓ 1 callers
Method
batchPutAccounts
(long blockheight, ConcurrentHashMap<ByteString, AccountInfoWrapper> accountValues)
src/main/java/org/mos/mcore/handler/AccountHandler.java:259
↓ 1 callers
Method
bitSet
(byte[] d, int index)
src/main/java/org/mos/mcore/trie/StorageTrieNode.java:242
↓ 1 callers
Method
bitSet
(byte[] d, int index)
src/main/java/org/mos/mcore/trie/StateTrieNode.java:471
↓ 1 callers
Method
bitTest
(byte[] d, int index)
src/main/java/org/mos/mcore/trie/StorageTrieNode.java:233
↓ 1 callers
Method
bitTest
(byte[] d, int index)
src/main/java/org/mos/mcore/trie/StateTrieNode.java:462
↓ 1 callers
Method
borrowSet
(ByteString keybs, ConcurrentHashMap<ByteString, AccountInfoWrapper> accountValues, long blocknumber)
src/main/java/org/mos/mcore/handler/AccountHandler.java:243
↓ 1 callers
Method
build
(long blocknumber)
src/main/java/org/mos/mcore/concurrent/AccountInfoWrapper.java:88
↓ 1 callers
Method
bytesToBase64Str
(byte[] bytes)
src/main/java/org/mos/mcore/api/ICryptoHandler.java:6
↓ 1 callers
Method
calcSize
()
src/main/java/org/mos/mcore/tools/queue/IStorable.java:15
↓ 1 callers
Method
checkAvailableClockSource
()
src/main/java/org/mos/mcore/tools/time/JodaTimeHelper.java:44
↓ 1 callers
Method
clearQueue
()
src/main/java/org/mos/mcore/service/TransactionConfirmQueue.java:309
↓ 1 callers
Method
clearRemoveQueue
()
src/main/java/org/mos/mcore/service/TransactionConfirmQueue.java:336
↓ 1 callers
Method
clearStorage
()
src/main/java/org/mos/mcore/service/TransactionConfirmQueue.java:356
↓ 1 callers
Method
close
()
src/main/java/org/mos/mcore/api/ODBSupport.java:46
↓ 1 callers
Method
compare
(TransactionInfo o1, TransactionInfo o2)
src/main/java/org/mos/mcore/handler/BlockHandler.java:195
↓ 1 callers
Method
compareSortable
(SortableSet former, SortableSet latter)
src/main/java/org/mos/mcore/handler/AccountHandler.java:154
↓ 1 callers
Method
containsHash
(byte[] hash)
src/main/java/org/mos/mcore/service/BlockMessageBuffer.java:26
↓ 1 callers
Method
containsHeight
(Long height)
src/main/java/org/mos/mcore/service/BlockMessageBuffer.java:30
↓ 1 callers
Method
createBlock
(List<TransactionInfo> txs, byte[] extraData, String term, String bits)
src/main/java/org/mos/mcore/handler/BlockHandler.java:121
↓ 1 callers
Method
createInitTransaction
(TransactionInfo.Builder oTransactionInfo)
src/main/java/org/mos/mcore/handler/TransactionHandler.java:142
↓ 1 callers
Method
current
()
src/main/java/org/mos/mcore/tools/time/JodaTimeHelper.java:60
↓ 1 callers
Method
currentMills
ref to http://pzemtsov.github.io/2017/07/23/the-slow-currenttimemillis.html @return
src/main/java/org/mos/mcore/tools/time/JodaTimeHelper.java:24
↓ 1 callers
Method
decodeLELong
Decode a 64-bit little-endian word from the array {@code buf} at offset {@code off}. @param buf the source buffer @param off the source offset @r
src/main/java/org/mos/mcore/crypto/hash/KeccakCore.java:91
↓ 1 callers
Method
decrypt
(byte[] privateKey, byte[] content)
src/main/java/org/mos/mcore/api/ICryptoHandler.java:48
↓ 1 callers
Method
delete
(ByteString key)
src/main/java/org/mos/mcore/service/StorageTrieCache.java:50
↓ 1 callers
Method
delete
(byte[] key)
src/main/java/org/mos/mcore/trie/StateTrieTree.java:27
↓ 1 callers
Method
delete
(byte[] key)
src/main/java/org/mos/mcore/trie/StorageTrieTree.java:24
↓ 1 callers
Method
deleteAll
()
src/main/java/org/mos/mcore/api/ODBSupport.java:48
↓ 1 callers
Method
doInit
This function is called at object creation time; the implementation should use it to perform initialization tasks. After this method is called, the im
src/main/java/org/mos/mcore/crypto/hash/DigestEngine.java:80
↓ 1 callers
Method
encodeLELong
Encode the 64-bit word {@code val} into the array {@code buf} at offset {@code off}, in little-endian convention (least significant byte first). @par
src/main/java/org/mos/mcore/crypto/hash/KeccakCore.java:71
↓ 1 callers
Method
encodeValFor32Bits
@param arg - not more that 32 bits @return - bytes of the value pad with complete to 32 zeroes
src/main/java/org/mos/mcore/tools/bytes/BytesHelper.java:263
↓ 1 callers
Method
engineReset
Reset the org.mos.mcore.crypto.hash algorithm state.
src/main/java/org/mos/mcore/crypto/hash/DigestEngine.java:53
↓ 1 callers
Method
esGet
(byte[] key)
src/main/java/org/mos/mcore/service/StateTrie.java:283
↓ 1 callers
Method
esGet
(byte[] key)
src/main/java/org/mos/mcore/trie/StorageTrie.java:96
↓ 1 callers
Method
flush
Flush internal buffers, so that less than a block of data may at most be upheld. @return the number of bytes still unprocessed after the flush
src/main/java/org/mos/mcore/crypto/hash/DigestEngine.java:208
↓ 1 callers
Method
foundNode
(StateTrieNode node)
src/main/java/org/mos/mcore/trie/StateTrieScanner.java:4
↓ 1 callers
Method
fromBytes
(ByteBuffer buff)
src/main/java/org/mos/mcore/tools/queue/IStorable.java:11
↓ 1 callers
Method
fromText
(String str)
src/main/java/org/mos/mcore/tools/queue/FilePendingQueueCounter.java:57
↓ 1 callers
Method
get
(byte[] address)
src/main/java/org/mos/mcore/trie/StorageTrie.java:41
↓ 1 callers
Method
getBestComparer
()
src/main/java/org/mos/mcore/tools/bytes/BytesComparisons.java:27
↓ 1 callers
Method
getBlockBuffer
Get a reference to an internal buffer with the same size than a block. The contents of that buffer are defined only immediately after a call to {@link
src/main/java/org/mos/mcore/crypto/hash/DigestEngine.java:225
↓ 1 callers
Method
getBlockByHeight
(long height)
src/main/java/org/mos/mcore/datasource/BlockChainDataAccess.java:121
↓ 1 callers
Method
getBlockLength
<p>Return the "block length" for the org.brewchain.mcore.crypto.hash function. This value is naturally defined for iterated org.brewchain.mcore.crypto
src/main/java/org/mos/mcore/crypto/hash/Digest.java:152
↓ 1 callers
Method
getBlockReward
()
src/main/java/org/mos/mcore/service/ChainConfig.java:103
↓ 1 callers
Method
getBlockVersion
()
src/main/java/org/mos/mcore/service/ChainConfig.java:107
↓ 1 callers
Method
getByKey
获取子节点 @param key 子节点的Key @param storage 存储 @return 子节点
src/main/java/org/mos/mcore/trie/StorageTrieNode.java:108
↓ 1 callers
Method
getETNode
(byte[] address)
src/main/java/org/mos/mcore/service/StateTrie.java:206
↓ 1 callers
Method
getETNode
(byte[] address)
src/main/java/org/mos/mcore/trie/StorageTrie.java:55
↓ 1 callers
Method
getHashCount
()
src/main/java/org/mos/mcore/service/BlockMessageBuffer.java:34
↓ 1 callers
Method
getHeightCount
()
src/main/java/org/mos/mcore/service/BlockMessageBuffer.java:38
↓ 1 callers
Method
getInternalBlockLength
Get the internal block length. This is the length (in bytes) of the array which will be passed as parameter to {@link #processBlock}. The default impl
src/main/java/org/mos/mcore/crypto/hash/DigestEngine.java:197
↓ 1 callers
Method
getLastConnectedBlockHeight
()
src/main/java/org/mos/mcore/handler/ChainHandler.java:350
↓ 1 callers
Method
getLastStableBlock
()
src/main/java/org/mos/mcore/handler/ChainHandler.java:354
↓ 1 callers
Method
getNonce
()
src/main/java/org/mos/mcore/concurrent/AccountInfoWrapper.java:77
↓ 1 callers
Method
getRootHash
(long blocknumber)
src/main/java/org/mos/mcore/trie/StorageTrie.java:63
↓ 1 callers
Method
getStorage
(byte[] hash)
src/main/java/org/mos/mcore/concurrent/AccountInfoWrapper.java:111
↓ 1 callers
Method
getStorageTrie
(byte[] keyHash, IStateTrieStorage storageRoot)
src/main/java/org/mos/mcore/trie/StorageTrie.java:27
↓ 1 callers
Method
getStorageTrie
(AccountInfo.Builder oAccount)
src/main/java/org/mos/mcore/handler/AccountHandler.java:318
↓ 1 callers
Method
hashCode
()
src/main/java/org/mos/mcore/tools/bytes/BytesKey.java:27
↓ 1 callers
Method
hexget
(byte[] key)
src/main/java/org/mos/mcore/service/StateTrie.java:288
← previous
next →
101–200 of 654, ranked by callers