| ApiUtils |
class ApiUtilsUtility functions to reduce boilerplate when developing HTTP APIs |
| Emoji |
object EmojiA simple wrapper class that contains icons and support for printing them only when were connected to a terminal. |
| LogHelper |
object LogHelperA configuration helper that allows modifying the log level for specific loggers |
| NonEmptySet |
class NonEmptySet<T> : MutableSet<T>A set which is constrained to ensure it can never be empty. An initial value must be provided at construction, and attempting to remove the last element will cause an IllegalStateException. The underlying set is exposed for Kryo to access, but should not be accessed directly. |
| NonEmptySetSerializer |
object NonEmptySetSerializerCustom serializer which understands it has to read in an item before trying to construct the set. |
| ProgressTracker |
class ProgressTrackerA progress tracker helps surface information about the progress of an operation to a user interface or API of some
kind. It lets you define a set of |
| TimeWindow |
data class TimeWindowA class representing a window in time from a particular instant, lasting a specified duration. |
| UntrustworthyData |
class UntrustworthyData<out T>A small utility to approximate taint tracking: if a method gives you back one of these, it means the data came from a remote source that may be incentivised to pass us junk that violates basic assumptions and thus must be checked first. The wrapper helps you to avoid forgetting this vital step. Things you might want to check are: |
| DUMMY_KEY_1 |
val DUMMY_KEY_1: KeyPair |
| DUMMY_KEY_2 |
val DUMMY_KEY_2: KeyPair |
| DUMMY_NOTARY |
val DUMMY_NOTARY: Party |
| DUMMY_NOTARY_KEY |
val DUMMY_NOTARY_KEY: KeyPair |
| DUMMY_PUBKEY_1 |
val DUMMY_PUBKEY_1: PublicKeyTree |
| DUMMY_PUBKEY_2 |
val DUMMY_PUBKEY_2: PublicKeyTree |
| TEST_TX_TIME |
val TEST_TX_TIME: Instant |
| debug |
fun <ERROR CLASS>.debug(msg: () -> String): Unit |
| loggerFor |
fun <T : Any> loggerFor(): <ERROR CLASS> |
| nonEmptySetOf |
fun <T> nonEmptySetOf(initial: T, vararg elements: T): NonEmptySet<T> |
| trace |
fun <ERROR CLASS>.trace(msg: () -> String): Unit |