Skip to content

Export and use core-transaction-pool typedefs#1906

Merged
faustbrian merged 8 commits intoArkEcosystem:developfrom
paroxysm:feat/export-core-transaction-pool-typedefs
Dec 26, 2018
Merged

Export and use core-transaction-pool typedefs#1906
faustbrian merged 8 commits intoArkEcosystem:developfrom
paroxysm:feat/export-core-transaction-pool-typedefs

Conversation

@paroxysm
Copy link
Copy Markdown
Contributor

Proposed changes

resolves #1793

I excluded core-test-utils because adding a dependency a core-transaction-pool creates a circular dependency because core-test-utils is a devDependency on a couple of other modules(including core-transaction-pool itself)

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build (changes that affect the build system)
  • Docs (documentation only changes)
  • Test (adding missing tests or fixing existing tests)
  • Other... Please describe:

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

refactor: Remove un-used SPV.connection property
refactor: Remove ConnectionInterface.connection property. This available in the 'options' object that's passed via constructor.
refactor: Use inline-initialization instead of constructor initialization for concise code, unless we're accessing constructor parameters.
refactor: more inline-initialization vs constructor
refactor: Removed some redundant vars in core-api Repositories, use inherited references instead.
…core-database-postgres-typedefs

# Conflicts:
#	packages/core-database-postgres/src/connection.ts
#	packages/core-database-postgres/src/index.ts
#	packages/core-database-postgres/src/spv.ts
#	packages/core-database/src/interface.ts
#	packages/core-database/src/manager.ts
@faustbrian
Copy link
Copy Markdown
Contributor

@paroxysm conflicts

Comment thread packages/core-api/__tests__/__support__/setup.ts
@paroxysm
Copy link
Copy Markdown
Contributor Author

I'll address the conflicts when I get home later on today...

…core-transaction-pool-typedefs

# Conflicts:
#	packages/core-api/src/repositories/repository.ts
#	packages/core-blockchain/src/blockchain.ts
#	packages/core-graphql/src/repositories/repository.ts
#	packages/core-p2p/src/server/versions/1/handlers.ts
#	packages/core-transaction-pool/__tests__/connection.test.ts
#	packages/core-transaction-pool/__tests__/guard.test.ts
@faustbrian faustbrian merged commit f8c4796 into ArkEcosystem:develop Dec 26, 2018
@paroxysm paroxysm deleted the feat/export-core-transaction-pool-typedefs branch December 26, 2018 23:26
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

Successfully merging this pull request may close these issues.

2 participants