Add rateLimits to blockchain
This commit is contained in:
@@ -42,7 +42,12 @@ export class App {
|
||||
debug('Creating blockchain...');
|
||||
const blockchain = await BlockchainElectrum.from({
|
||||
store: blockchainCache,
|
||||
servers: [ 'cashnode.bch.ninja' ]
|
||||
servers: [ 'cashnode.bch.ninja' ],
|
||||
rateLimit: {
|
||||
concurrency: 100,
|
||||
maxPerInterval: 100,
|
||||
intervalMs: 100,
|
||||
}
|
||||
});
|
||||
|
||||
// Create the wallet for the app.
|
||||
|
||||
Reference in New Issue
Block a user