Packages

c

org.bitcoins.node

NeutrinoNode

case class NeutrinoNode(walletCreationTimeOpt: Option[Instant], paramPeers: Vector[Peer])(implicit nodeAppConfig: NodeAppConfig, chainAppConfig: ChainAppConfig, system: ActorSystem) extends Node with SourceQueue[NodeStreamMessage] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NeutrinoNode
  2. Serializable
  3. Product
  4. Equals
  5. SourceQueue
  6. Node
  7. P2PLogger
  8. BitcoinSLogger
  9. StartStopAsync
  10. StartStop
  11. ChainQueryApi
  12. NodeApi
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NeutrinoNode(walletCreationTimeOpt: Option[Instant], paramPeers: Vector[Peer])(implicit nodeAppConfig: NodeAppConfig, chainAppConfig: ChainAppConfig, system: ActorSystem)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def broadcastTransaction(transaction: Transaction): Future[Unit]

    Broadcasts the given transaction over the P2P network

    Broadcasts the given transaction over the P2P network

    Definition Classes
    NodeApi
  6. def broadcastTransactions(transactions: Vector[Transaction]): Future[Unit]

    Broadcasts the given transaction over the P2P network

    Broadcasts the given transaction over the P2P network

    Definition Classes
    NodeNodeApi
  7. def chainApiFromDb()(implicit executionContext: ExecutionContext): Future[ChainApi]

    This is constructing a chain api from disk every time we call this method This involves database calls which can be slow and expensive to construct our Blockchain

    This is constructing a chain api from disk every time we call this method This involves database calls which can be slow and expensive to construct our Blockchain

    Definition Classes
    Node
  8. implicit val chainAppConfig: ChainAppConfig
    Definition Classes
    NeutrinoNodeNode
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def downloadBlocks(blockHashes: Vector[DoubleSha256DigestBE]): Future[Unit]

    Fetches the given blocks from the peers and calls the appropriate Backpressures if the queue is full

    Fetches the given blocks from the peers and calls the appropriate Backpressures if the queue is full

    Definition Classes
    NeutrinoNodeNodeApi
  11. def epochSecondToBlockHeight(time: Long): Future[Int]

    Gets the block height of the closest block to the given time

    Gets the block height of the closest block to the given time

    Definition Classes
    NodeChainQueryApi
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. implicit def executionContext: ExecutionContext
    Definition Classes
    Node
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def getBestBlockHash(): Future[DoubleSha256DigestBE]

    Gets the hash of the block that is what we consider "best"

    Gets the hash of the block that is what we consider "best"

    Definition Classes
    NodeChainQueryApi
  16. def getBestHashBlockHeight()(implicit ec: ExecutionContext): Future[Int]
    Definition Classes
    ChainQueryApi
  17. def getBlockHeight(blockHash: DoubleSha256DigestBE): Future[Option[Int]]

    Gets the height of the given block

    Gets the height of the given block

    Definition Classes
    NodeChainQueryApi
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getConnectionCount: Future[Int]
    Definition Classes
    NodeNodeApi
  20. def getFilterCount(): Future[Int]

    Gets the number of compact filters in the database

    Gets the number of compact filters in the database

    Definition Classes
    NeutrinoNodeChainQueryApi
  21. def getFiltersBetweenHeights(startHeight: Int, endHeight: Int): Future[Vector[FilterResponse]]
    Definition Classes
    NeutrinoNodeChainQueryApi
  22. def getHeightByBlockStamp(blockStamp: BlockStamp): Future[Int]

    Returns the block height of the given block stamp

    Returns the block height of the given block stamp

    Definition Classes
    NeutrinoNodeChainQueryApi
  23. def getMedianTimePast(): Future[Long]

    calculates the median time passed

    calculates the median time passed

    Definition Classes
    NodeChainQueryApi
  24. def getNumberOfConfirmations(blockHashOpt: DoubleSha256DigestBE): Future[Option[Int]]

    Gets number of confirmations for the given block hash

    Gets number of confirmations for the given block hash

    Definition Classes
    NodeChainQueryApi
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def logger: Logger
    Definition Classes
    BitcoinSLogger
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. implicit val nodeAppConfig: NodeAppConfig
    Definition Classes
    NeutrinoNodeNode
  29. def nodeCallbacks: NodeCallbacks
    Definition Classes
    Node
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def offer(elem: NodeStreamMessage): Future[QueueOfferResult]
    Definition Classes
    NeutrinoNode → SourceQueue
  33. val paramPeers: Vector[Peer]
  34. lazy val peerManager: PeerManager
    Definition Classes
    NeutrinoNodeNode
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. def start(): Future[NeutrinoNode]

    Starts our node

    Starts our node

    Definition Classes
    NeutrinoNodeNodeStartStop
  37. def stop(): Future[NeutrinoNode]
    Definition Classes
    NeutrinoNodeStartStop
  38. def sync(): Future[Unit]

    Starts to sync our node with our peer If our local best block hash is the same as our peers we will not sync, otherwise we will keep syncing until our best block hashes match up

    Starts to sync our node with our peer If our local best block hash is the same as our peers we will not sync, otherwise we will keep syncing until our best block hashes match up

    Definition Classes
    NeutrinoNodeNode
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. implicit val system: ActorSystem
    Definition Classes
    NeutrinoNodeNode
  41. lazy val txDAO: BroadcastAbleTransactionDAO
    Definition Classes
    Node
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. val walletCreationTimeOpt: Option[Instant]
  46. def watchCompletion(): Future[Done]
    Definition Classes
    NeutrinoNode → SourceQueue

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Node

Inherited from P2PLogger

Inherited from BitcoinSLogger

Inherited from StartStopAsync[Node]

Inherited from StartStop[Future[Node]]

Inherited from ChainQueryApi

Inherited from NodeApi

Inherited from AnyRef

Inherited from Any

Ungrouped