Module: OpenReceive::Server

Defined in:
lib/openreceive/server.rb,
lib/openreceive/server/swap.rb,
lib/openreceive/server/config.rb,
lib/openreceive/server/errors.rb,
lib/openreceive/server/lsc_uri.rb,
lib/openreceive/server/service.rb,
lib/openreceive/server/version.rb,
lib/openreceive/server/rack_app.rb,
lib/openreceive/server/client_ip.rb,
lib/openreceive/server/swap/assets.rb,
lib/openreceive/server/wallet_info.rb,
lib/openreceive/server/reconciliation.rb,
lib/openreceive/server/request_handler.rb,
lib/openreceive/server/swap/fixedfloat.rb,
lib/openreceive/server/swap/rates_feed.rb,
lib/openreceive/server/swap/weight_budget.rb,
lib/openreceive/server/swap/transient_cache.rb

Defined Under Namespace

Modules: ClientIp, LscUri, Reconciliation, Swap, WalletInfo Classes: Config, ConflictError, ForbiddenError, HostPersistenceError, InternalHostError, MethodNotAllowedError, NotFoundError, NotImplementedHttpError, PayloadTooLargeError, RackApp, RateLimitedError, RequestHandler, Service, ServiceError, SpendCapableWalletError, UnsupportedMediaTypeError, ValidationError, WalletContractError, WalletFailureError, WalletPreflightError

Constant Summary collapse

PAYMENTS_SCHEMA_VERSION =

Generation of the openreceive_payments / openreceive_meta schema this gem writes and reads. Mirrors the JS OPENRECEIVE_PAYMENTS_SCHEMA_VERSION; both engines share one host database, so they must agree.

1
RECONCILE_BATCH_SIZE =

Oldest-first page size for one reconciliation pass. Mirrors the JS OPENRECEIVE_RECONCILE_BATCH_SIZE: a backlog of pending attempts is drained over several passes instead of loading every row (and scanning every invoice's window) in one unbounded query.

200
VERSION =
"0.3.0"