Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For transactions with many inputs, data is lost in the database #17

Open
baryon opened this issue May 17, 2021 · 0 comments
Open

For transactions with many inputs, data is lost in the database #17

baryon opened this issue May 17, 2021 · 0 comments

Comments

@baryon
Copy link

baryon commented May 17, 2021

the following transactions


      {
        txId: 'e00118d7a414034c6e74a37d79621c6c3df62f70efa5164ef6bbdb44b2ee6f55',
        height: 683929
      },

      {
        txId: '7db9642fe57bf735ac8a93236b90b538fb81ae0f58fc4920a8a075452a8824d9',
        height: 685004
      },
      {
        txId: 'b6f60f9258a942c72b2ec6f3e3177e24830cbe92fc9dda2d0d3eb406d1582d13',
        height: 685004
      },

      {
        txId: '90cd5e990a8d4d13481a67470e416d9daecd688729ea5fde7f78d151af827bc2',
        height: 685007
      },

 

Query Code

    const addressList=['1Pwmd4RCoTbYP6tLWVoDcys1GW5chsve8C']
    
    const queryBitbus: any = {
      q: {
        find: {
          $or: [{ 'out.e.a': { $in: addressList } }, { 'in.e.a': { $in: addressList } }],
          'blk.i': { $gt: 683000 },
        },
        sort: { 'blk.i': 1 },
        project: { tx: 1, blk: 1, i: 1 },
      },
    };

the results of query don't include lost txs.

test timestamp: 2021/05/17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant