privacycash 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/getUtxos.js CHANGED
@@ -73,7 +73,7 @@ export async function getUtxos({ publicKey, connection, encryptionService, stora
73
73
  if (!fetched.hasMore) {
74
74
  break;
75
75
  }
76
- await sleep(100);
76
+ await sleep(20);
77
77
  }
78
78
  }
79
79
  catch (e) {
@@ -4,7 +4,7 @@ export declare const FIELD_SIZE: BN;
4
4
  export declare const PROGRAM_ID: PublicKey;
5
5
  export declare const DEPLOYER_ID: PublicKey;
6
6
  export declare const FEE_RECIPIENT: PublicKey;
7
- export declare const FETCH_UTXOS_GROUP_SIZE = 4000;
7
+ export declare const FETCH_UTXOS_GROUP_SIZE = 10000;
8
8
  export declare const TRANSACT_IX_DISCRIMINATOR: Buffer<ArrayBuffer>;
9
9
  export declare const MERKLE_TREE_DEPTH = 26;
10
10
  export declare const ALT_ADDRESS: PublicKey;
@@ -4,7 +4,7 @@ export const FIELD_SIZE = new BN('2188824287183927522224640574525727508854836440
4
4
  export const PROGRAM_ID = new PublicKey('9fhQBbumKEFuXtMBDw8AaQyAjCorLGJQiS3skWZdQyQD');
5
5
  export const DEPLOYER_ID = new PublicKey('AWexibGxNFKTa1b5R5MN4PJr9HWnWRwf8EW9g8cLx3dM');
6
6
  export const FEE_RECIPIENT = new PublicKey('AWexibGxNFKTa1b5R5MN4PJr9HWnWRwf8EW9g8cLx3dM');
7
- export const FETCH_UTXOS_GROUP_SIZE = 4000;
7
+ export const FETCH_UTXOS_GROUP_SIZE = 10_000;
8
8
  export const TRANSACT_IX_DISCRIMINATOR = Buffer.from([217, 149, 130, 143, 221, 52, 252, 119]);
9
9
  export const MERKLE_TREE_DEPTH = 26;
10
10
  export const ALT_ADDRESS = new PublicKey('72bpRay17JKp4k8H87p7ieU9C6aRDy5yCqwvtpTN2wuU');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "privacycash",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://github.com/Privacy-Cash/privacy-cash-sdk",
package/src/getUtxos.ts CHANGED
@@ -103,7 +103,7 @@ export async function getUtxos({ publicKey, connection, encryptionService, stora
103
103
  if (!fetched.hasMore) {
104
104
  break
105
105
  }
106
- await sleep(100)
106
+ await sleep(20)
107
107
  }
108
108
  } catch (e: any) {
109
109
  throw e
@@ -9,7 +9,7 @@ export const DEPLOYER_ID = new PublicKey('AWexibGxNFKTa1b5R5MN4PJr9HWnWRwf8EW9g8
9
9
 
10
10
  export const FEE_RECIPIENT = new PublicKey('AWexibGxNFKTa1b5R5MN4PJr9HWnWRwf8EW9g8cLx3dM')
11
11
 
12
- export const FETCH_UTXOS_GROUP_SIZE = 4000
12
+ export const FETCH_UTXOS_GROUP_SIZE = 10_000
13
13
 
14
14
  export const TRANSACT_IX_DISCRIMINATOR = Buffer.from([217, 149, 130, 143, 221, 52, 252, 119]);
15
15