MCPcopy Index your code

hub / github.com/UniversaBlockchain/universa / functions

Functions5,135 in github.com/UniversaBlockchain/universa

↓ 2,652 callersMethodget
Read access to the instance server-size key-value store. Note that if the store is not created, it always return default value, this is not an error.
universa_core/src/main/java/com/icodici/universa/contract/services/ImmutableEnvironment.java:44
↓ 1,738 callersMethodadd
(Decimal augend)
universa_core/src/main/java/com/icodici/universa/Decimal.java:82
↓ 1,268 callersMethodseal
Seal contract to binary. This call adds signatures from {@link #getKeysToSignWith()} @return contract's sealed unicapsule
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2071
↓ 1,101 callersMethodgetId
()
universa_core/src/main/java/com/icodici/universa/HashIdentifiable.java:7
↓ 1,068 callersMethodgetId
Get the id sealing self if need @param sealAsNeed true to seal the contract if there is no {@link #getLastSealedBinary()}. @return contract id.
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1667
↓ 963 callersMethodgetStateData
Get data section of contract state @return data section of contract state
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2686
↓ 710 callersMethodtraceErrors
()
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:3980
↓ 708 callersMethodsize
Niber of cached locks. Not all of them are acquired. Locks are cached as long as corresponding {@link HashId} is alive, so do not clone() and copy the
universa_node/src/main/java/com/icodici/universa/node2/ItemLock.java:62
↓ 698 callersMethodcheck
Check contract for errors. This includes checking contract state modification, checking new items, revoke permissions and references acceptance. Error
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:818
↓ 658 callersMethodput
(NImmutableEnvironment env)
universa_node/src/main/java/com/icodici/universa/node2/EnvCache.java:58
↓ 639 callersMethodprivateKey
(int index)
universa_node/src/test/java/com/icodici/universa/TestKeys.java:20
↓ 617 callersMethodwaitItem
If the item is being electing, block until the item been processed with the consensus. Otherwise returns state immediately. @param itemId item to che
universa_node/src/main/java/com/icodici/universa/node2/Node.java:784
↓ 585 callersMethodgetLedger
()
universa_node/src/main/java/com/icodici/universa/node2/Node.java:1617
↓ 535 callersMethodforEach
(BiConsumer<String, RouteModel> lambda)
universa_core/src/main/java/com/icodici/universa/contract/jsapi/JSApiHttpServerRoutes.java:91
↓ 501 callersMethodgetPackedTransaction
Pack the contract to the most modern .unicon format, same as {@link TransactionPack#pack()}. Uses bounded {@link TransactionPack} instance to save tog
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:3215
↓ 489 callersMethodread
(String fileName)
common_tools/src/main/java/net/sergeych/tools/Do.java:33
↓ 487 callersMethodset
Writes a key to the KV store. See the logic description above. @param key @param value @param <T> @return
universa_core/src/main/java/com/icodici/universa/contract/services/MutableEnvironment.java:30
↓ 476 callersMethodisOk
Important. This method should be invoked after {@link #check()}. @return true if there are no errors detected by now
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2033
↓ 445 callersMethodof
Get the sub-hash with the given name. Works even if there is no such sub-params: <p> <code>params.of("some").of("non-existing").of("path").getStringOr
common_tools/src/main/java/net/sergeych/tools/Binder.java:207
↓ 422 callersMethodsleep
(long millis)
common_tools/src/test/java/net/sergeych/informer/InformerTest.java:102
↓ 411 callersMethodgetContract
@return the unpacked stored contract. Note that this instance could be cached/shared among subscribers.
universa_core/src/main/java/com/icodici/universa/contract/services/ContractStorage.java:31
↓ 409 callersMethodlistOf
(U... objects)
common_tools/src/main/java/net/sergeych/tools/Do.java:233
↓ 383 callersMethodgetTransactionPack
Get transaction pack of the contract @return transaction pack of the contract
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:3268
↓ 382 callersMethodgetDefinition
Get definition of a contract @return object containing contract definition
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1760
↓ 361 callersMethodgetString
(String key, String defaultValue)
common_tools/src/main/java/net/sergeych/tools/Binder.java:97
↓ 358 callersMethodgetPublicKey
()
crypto/src/main/java/com/icodici/crypto/PrivateKey.java:124
↓ 357 callersMethodcreateRevision
Create new revision to be changed, signed sealed and then ready to approve. Created "revision" contract is a copy of this contract, with all fields an
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2326
↓ 334 callersMethodcontains
(AbstractKey k)
crypto/src/main/java/com/icodici/crypto/KeyRing.java:101
↓ 322 callersMethodgetIntOrThrow
@param key parameter name @return parameter value or throws {@link IllegalArgumentException}.
common_tools/src/main/java/net/sergeych/tools/Binder.java:293
↓ 320 callersMethodregister
Register contract on the network (no payment). This operation requires either special client key or special network configuration that allows free reg
universa_core/src/main/java/com/icodici/universa/node2/network/Client.java:539
↓ 315 callersMethodgetPublicKey
()
universa_node/src/main/java/com/icodici/universa/node2/network/BasicHttpServer.java:296
↓ 309 callersMethodgetData
()
universa_core/src/main/java/com/icodici/universa/contract/services/NameRecordEntry.java:17
↓ 298 callersMethodgetNew
Get contracts current contract creates upon registration @return contracts to be created
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:3306
↓ 295 callersMethodtoBase64String
()
universa_core/src/main/java/com/icodici/universa/HashId.java:147
↓ 274 callersMethodaddSignerKey
Add private key to keys contract binary to be signed with when sealed next time. It is called before seal() @param privateKey key to sign with
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1970
↓ 269 callersMethodexpiresAt
()
universa_core/src/main/java/com/icodici/universa/contract/services/NameRecord.java:11
↓ 269 callersMethodgetPayloadContract
()
universa_core/src/main/java/com/icodici/universa/contract/Parcel.java:449
↓ 258 callersMethodgetBytes
()
universa_core/src/main/java/com/icodici/universa/node/network/BasicHTTPService.java:80
↓ 258 callersMethodgetOrigin
Get the id of origin contract. In case the contract is origin itself return its id. @return id of the origin contract
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2412
↓ 256 callersMethodassertAlmostSame
(ZonedDateTime t1, ZonedDateTime t2, long expectedDelta)
universa_node/src/test/java/com/icodici/universa/node2/MainTest.java:6014
↓ 254 callersMethodfromDslFile
Create contract importing its parameters with passed .yaml file. No signatures are added automatically. It is required to add signatures before check.
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:460
↓ 254 callersMethodregisterAndCheckApproved
(Contract c)
universa_node/src/test/java/com/icodici/universa/node2/BaseNetworkTest.java:6424
↓ 241 callersMethodaddSignatureToSeal
Add signature to sealed (before) contract. Do not deserializing or changing contract bytes, but will change sealed and hashId. Useful if you got cont
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2123
↓ 233 callersMethodremove
(HashId id)
universa_node/src/main/java/com/icodici/universa/node2/EnvCache.java:78
↓ 228 callersMethodtoString
()
universa_node/src/main/java/com/icodici/universa/node2/Node.java:1524
↓ 223 callersMethodpublicKey
(int index)
universa_node/src/test/java/com/icodici/universa/TestKeys.java:117
↓ 222 callersMethodgetPaymentContract
()
universa_core/src/main/java/com/icodici/universa/contract/Parcel.java:458
↓ 221 callersMethodgetState
()
universa_core/src/main/java/com/icodici/universa/node/IStateRecord.java:6
↓ 210 callersMethodgetBinder
Return Binder for the key, or empty binder if it does not exist. @param key @return
common_tools/src/main/java/net/sergeych/tools/Binder.java:254
↓ 205 callersMethodset
Add Binder as a field with the specified index and return it in a typed manner. Sort of the syntax sugar. @param key @param object @return
common_tools/src/main/java/net/sergeych/tools/Binder.java:356
↓ 203 callersMethodgetEnvironment
(long environmentId)
universa_node/src/main/java/com/icodici/universa/node/Ledger.java:250
↓ 194 callersMethodsize
()
uniclient/src/main/java/com/icodici/universa/client/ClientNetwork.java:145
↓ 190 callersMethodaddReferencedItem
Direct add the referenced items. Use it to add references not mentioned in the added contracts. @param referencedItem is {@link Contract} for adding
universa_core/src/main/java/com/icodici/universa/contract/TransactionPack.java:190
↓ 180 callersMethodfromPackedTransaction
Main .unicon read routine. Load any .unicon version and construct a linked Contract with counterparts (new and revoking items if present) and correspo
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:3250
↓ 176 callersMethodsize
Niber of cached locks. Not all of them are acquired. Locks are cached as long as corresponding {@link HashId} is alive, so do not clone() and copy the
universa_core/src/main/java/com/icodici/universa/node2/ParcelLock.java:61
↓ 175 callersMethodaddRole
Resolve object describing role and create either: - new role object - symlink to named role instance, ensure it is added as persistent named role to a
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1601
↓ 174 callersMethoddoubleValue
()
universa_core/src/main/java/com/icodici/universa/Decimal.java:61
↓ 173 callersMethodcallMain
(String... args)
uniclient/src/test/java/com/icodici/universa/client/CLIMainTest.java:3692
↓ 173 callersMethodvalues
Return all elements associated with all keys. Note, that if the same element is associated more than once, for example, in different keys, it will app
common_tools/src/main/java/net/sergeych/collections/Multimap.java:151
↓ 172 callersMethodcontainsKey
(@NonNull K key)
common_tools/src/main/java/net/sergeych/collections/Multimap.java:133
↓ 171 callersMethodgetId
()
universa_core/src/main/java/com/icodici/universa/contract/Parcel.java:466
↓ 168 callersMethodshutdown
()
universa_node/src/test/java/com/icodici/universa/node2/MainTest.java:1076
↓ 166 callersMethodaddNewItems
Add one or more siblings to the contract. Note that those must be sealed before calling {@link #seal()} or {@link #getPackedTransaction()}. Do not res
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2855
↓ 166 callersMethodcheck
Check the the document is valid assuming all mentioned items are OK, e.g. items, approved by it (if any), items revoking by it and referenced by it.
universa_core/src/main/java/com/icodici/universa/Approvable.java:81
↓ 164 callersMethodgetPayload
()
universa_core/src/main/java/com/icodici/universa/contract/Parcel.java:387
↓ 163 callersMethodgetPayment
()
universa_core/src/main/java/com/icodici/universa/contract/Parcel.java:394
↓ 162 callersMethodprivateKey
(int index)
universa_core/src/test/java/com/icodici/universa/TestKeys.java:20
↓ 162 callersMethodput
put object, block until there is space available. @param value object to put
common_tools/src/main/java/net/sergeych/tools/RingBuffer.java:62
↓ 160 callersMethodaddPermission
(Permission perm)
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1835
↓ 160 callersMethodsetOwnerKeys
Set "owner" role to given keys @param keys keys to set "owner" role to @return owner role
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2619
↓ 158 callersMethodaddSignerKeyFromFile
Add private key from file to keys contract binary to be signed with when sealed next time. It is called before seal() @param fileName path to file con
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1962
↓ 158 callersMethodisEmpty
@return true if the difference is not found. This is internal function to be implemented by subclasses.
common_tools/src/main/java/net/sergeych/diff/Delta.java:130
↓ 157 callersMethodsetConditions
Set the conditions from the reference @return this reference
universa_core/src/main/java/com/icodici/universa/contract/Reference.java:2496
↓ 155 callersMethodfail
(Node node)
universa_node/src/main/java/com/icodici/universa/node2/CallbackRecord.java:103
↓ 154 callersMethodgetStringOrThrow
Get the parameter as string. Throws exception if it is missing. @param key @return string paramter @throws IllegalArgumentException if the parameter
common_tools/src/main/java/net/sergeych/tools/Binder.java:90
↓ 150 callersMethodgetDigest
()
universa_core/src/main/java/com/icodici/universa/HashId.java:92
↓ 147 callersMethodcreateRandom
Create random new hashId. Mainly for testing purposes. To create random bytes, use {@link Do#randomBytes(int)} instead. @return instance with random
universa_core/src/main/java/com/icodici/universa/HashId.java:130
↓ 143 callersMethodequals
()
universa_node/src/test/java/com/icodici/universa/node/HashIdTest.java:40
↓ 143 callersMethodgetSubscriptionEnviromentIds
(HashId id)
universa_node/src/main/java/com/icodici/universa/node/Ledger.java:260
↓ 140 callersMethodclear
()
universa_core/src/main/java/com/icodici/universa/node/network/microhttpd/InMemoryTempFileManager.java:42
↓ 139 callersMethodwaitParcel
If the parcel is being processing, block until the parcel been processed (been processed payment and payload contracts). @param parcelId parcel to wa
universa_node/src/main/java/com/icodici/universa/node2/Node.java:809
↓ 138 callersMethodgetLongAddress
()
universa_core/src/main/java/com/icodici/universa/contract/services/NameRecordEntry.java:14
↓ 137 callersMethodregisterParcel
()
universa_node/src/test/java/com/icodici/universa/node2/BaseNetworkTest.java:3237
↓ 135 callersMethodisAllowedForKeys
Check role is allowed to keys @param keys is set of keys @return true if role is allowed to keys
universa_core/src/main/java/com/icodici/universa/contract/roles/Role.java:165
↓ 128 callersMethodgetMessage
()
universa_core/src/main/java/com/icodici/universa/ErrorRecord.java:31
↓ 127 callersMethodequals
Role equality is different: it only checks that it points to the same role. @param obj is object to be checked with @return true if equals
universa_core/src/main/java/com/icodici/universa/contract/roles/Role.java:288
↓ 127 callersMethodgetBinderOrThrow
(String key)
common_tools/src/main/java/net/sergeych/tools/Binder.java:258
↓ 127 callersMethodgetServiceRate
(String extendedType)
universa_core/src/main/java/com/icodici/universa/contract/services/NSmartContract.java:60
↓ 126 callersMethodaddRequiredReference
Adds required reference to role. The reference is added to the set corresponding to the specified mode of combining references ({@link RequiredMode}).
universa_core/src/main/java/com/icodici/universa/contract/roles/Role.java:104
↓ 126 callersMethodreport
(String label, String message, int level)
universa_node/src/main/java/com/icodici/universa/node2/Node.java:1683
↓ 125 callersMethodaddReference
Add reference to the references list of the contract. Note: section of contract reference to be added to depends on {@link Reference#type} @param r
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1990
↓ 125 callersMethodgetReferences
Get map contract's references @return contract's references
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:524
↓ 124 callersMethodgetNumber
()
universa_node/src/main/java/com/icodici/universa/node2/Node.java:1779
↓ 123 callersMethodgetOwner
Get owner role @return owner role
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:2599
↓ 121 callersMethodreport
(String message)
uniclient/src/main/java/com/icodici/universa/client/CLIMain.java:3990
↓ 120 callersMethodgetRole
Get registered role from the contract @param roleName name of the role to get @return role or null if not exist
universa_core/src/main/java/com/icodici/universa/contract/Contract.java:1644
↓ 119 callersMethodsealCheckTrace
(Contract c, boolean isOk)
universa_core/src/test/java/com/icodici/universa/contract/ContractTestBase.java:191
↓ 117 callersMethodmutedAt
Getting the time to which it is possible to send callbacks (as long as there is enough money to send at least 1 callback). @return mutedAt is muted t
universa_core/src/main/java/com/icodici/universa/contract/services/FollowerService.java:28
↓ 116 callersMethodgetCallbacksSpent
Get origin-days spent for callbacks in follower service @return spent origin-days
universa_core/src/main/java/com/icodici/universa/contract/services/FollowerService.java:59
↓ 116 callersMethodgetStartedCallbacks
Get number of started callbacks in follower service @return number of started callbacks
universa_core/src/main/java/com/icodici/universa/contract/services/FollowerService.java:66
next →1–100 of 5,135, ranked by callers