Skip to content

Conversation

@dolgopolovwork
Copy link
Contributor

Description of the Change

Now BTC addresses can be generated automatically. There are two cases that may trigger this process:

  1. Address generation process was started for the first time
  2. New client was registered

private val registrationCredential =
IrohaCredential(btcAddressGenerationTriggerConfig.registrationAccount.accountId, registrationKeyPair)


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just why 🥇

btcAddressGenerationTriggerConfig.pubKeyTriggerAccount
)


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary empty line

}
Thread.sleep(WAIT_PREGEN_INIT_MILLIS)
// Wait for initial address generation
Thread.sleep(WAIT_PREGEN_PROCESS_MILLIS * environment.btcGenerationConfig.threshold)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this part to the environment object in order to reduce duplications and test code size

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Good idea.

@dolgopolovwork dolgopolovwork force-pushed the feature/bitcoinDynamicMultisigAddressGeneration branch from bee4858 to 49fe23d Compare January 24, 2019 15:21
@dolgopolovwork dolgopolovwork merged commit 324d822 into develop Jan 25, 2019
@dolgopolovwork dolgopolovwork deleted the feature/bitcoinDynamicMultisigAddressGeneration branch January 25, 2019 10:59
Alexey-N-Chernyshov added a commit that referenced this pull request Feb 6, 2019
Release v0.2.1-alpha

* Bitcoin deploy notes (#319)

* Boot repackage was disabled (#315)

* add more logs to eth registration

* add more logs to eth registration

* Bitcoin rollback (#321)

* Bitcoin rollback in case of network failures (#323)

* Bitcoin multisig address safe time source (#325)

* Ignoring failed Iroha account creation command (#324)

* Kill deposit if Iroha is not functioning (#326)

* add automatic relay deployment logic

* Separate shadow jar (#327)

* optimized import

* fix config helper

* add Sora iroha account to genesis and tests for Sora integration

* fix dogecoin precision (actual 9)

* rename getAccountAsset -> getAccountAssetBalance

* change getAccountAssets -> getIrohaAccountBalance

* Bitcoin dynamic fee rate (#329)

* Feature/healthcheck (#333)

* Add readme

* Add healthcheck endpoints

* Fix test compiler error

* Port increment

* Remove registration endpoint

* Transition to IPJ, Iroha rc2 version update (#335)

* Feature/iroha pure java (#307)

* move crypto to Iroha Pure Java library

* Transition to IPJ, Iroha rc2 version update (#330)

* Transition to IPJ

* Iroha rc1 update

* Test fixes

* Iroha rc2 update

* Updated permissions, roles, testing account

* Test fixes

* Update batches

* Fixed status streaming and batch testing

* Switched to ordered batches and to Query API of IPJ

* More queries refactoring, changed wrapper

* Unit tests fixes

* Ignored one more unit test

* Integration tests fixes

* fixup! Integration tests fixes

* fixup! Integration tests fixes

* fixup! fixup! Integration tests fixes

* Config test repaired

* Environment variables configs (#336)

* Added prioritized environment variables config loading

* Fixed working directory of eth services (#338)

* Fixed notary pub key (#340)

* Fixed notary pub key

* Deleted unused notary keys

* fix 'mkdir -p' in Jenkins build-logs (#341)

* Bitcoin services stabilization after migration to IPJ (#342)

* Automatic BTC addresses generation (#337)

* Bitcoin-cli in gradle (#344)

* Feature/tester permissions (#343)

* add permissions for tester account

* fix duplication of can_read_assets

* Fixed PeerGroup.stop()

* Fixing IPJ listener bug (#346)

* Relevant docker files (#345)

* Updated docker files, added bitcoin services

* Deleted variables

* Fixed jenkinsfile variables names

* Fixed main classes

* Fix wait for iroha bug (#348)

* Fix wait for iroha bug

* Add network to dev

* Fix typo

* Fix btc docker. Move dw and address geneartion from single to full (#349)

* Email notifications

* Added build commands to Jenkinsfile (#351)

* Feature/registration (#334)

* Fixed message

* Fixing build (#352)

* Fixed peer group close() (#354)

* SMTP dumbster integration test (#355)

Signed-off-by: Alexey Chernyshov <[email protected]>
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.

4 participants