Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Conversation

@huazhouwang
Copy link

@huazhouwang huazhouwang commented Aug 23, 2021

What does this implement/fix? Explain your changes.

  1. 整理 BTCProvider 结构
  2. 补全 BTCProvider 以及 Blockbook
  3. BTCProvider 支持 MessageSupportingMixin
  4. BTCProvider 支持硬件签名
  5. 新增 utxo_manager
  6. 更新 wallet_manager
  7. 更新 console
  8. 测试

Does this close any currently open issues?

If it fixes a bug or resolves a feature request, be sure to link to that issue.

Pull request type

Put an x in the boxes that apply

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Where has this been tested?

Any other comments?

@huazhouwang
Copy link
Author

@shuaiLiWang 还未做完,可以提前看下

@huazhouwang huazhouwang changed the title [WIP] UTXO supporting UTXO supporting Aug 31, 2021
@huazhouwang huazhouwang changed the title UTXO supporting OK-3199: UTXO supporting Aug 31, 2021
@huazhouwang
Copy link
Author

基本完成,还差测试用例,可以 review 了

@huazhouwang huazhouwang changed the title OK-3199: UTXO supporting OK-3199: UTXO model supporting Sep 2, 2021
Copy link

@taimanhui taimanhui left a comment

Choose a reason for hiding this comment

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

一个大工程...

Copy link

@dydysy dydysy left a comment

Choose a reason for hiding this comment

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

👀

@huazhouwang huazhouwang force-pushed the btc branch 2 times, most recently from 6fbc84b to c97dc5f Compare September 3, 2021 10:12
dydysy
dydysy previously approved these changes Sep 6, 2021
Copy link

@dydysy dydysy left a comment

Choose a reason for hiding this comment

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

没啥想法了。
utxo 的选择,也有交给用户去选择处理的。 不过这些都是高阶用户才能理解的功能。

taimanhui
taimanhui previously approved these changes Sep 7, 2021
Copy link

@taimanhui taimanhui left a comment

Choose a reason for hiding this comment

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

一些小疑问,其它的都没啥问题,先合并之后看看效果吧

taimanhui
taimanhui previously approved these changes Sep 8, 2021
@dydysy
Copy link

dydysy commented Sep 10, 2021

pycoin使用的时候,没有牵扯到里面加密的部分吧,我看这个库使用了c扩展

具体指哪个文件?我之前看它确实有些地方会优先请求 c 扩展,但如果没有就用备份的 python 实现

那和 msgpack 一样。 也是先c, 后python。

taimanhui
taimanhui previously approved these changes Sep 10, 2021
taimanhui
taimanhui previously approved these changes Sep 17, 2021
class MessageSupportingMixin(abc.ABC):
@abc.abstractmethod
def sign_message(self, message: str, signer: secret_interfaces.SignerInterface) -> str:
def sign_message(self, message: str, signer: secret_interfaces.SignerInterface, **kwargs) -> str:

Choose a reason for hiding this comment

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

后面这个的**kwargs加入来是给什么用的?

Copy link
Author

Choose a reason for hiding this comment

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

btc 需要提供地址

Choose a reason for hiding this comment

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

没注意到 😂 又回去看了一遍btc那个mixin...

@huazhouwang huazhouwang marked this pull request as ready for review September 17, 2021 03:57
@mergify mergify bot merged commit 24e1eed into OneKeyHQ:bixin_dev Sep 17, 2021
@huazhouwang huazhouwang deleted the btc branch September 17, 2021 03:57
taimanhui added a commit to taimanhui/electrum that referenced this pull request Oct 15, 2021
Fixes: 084af6b "Update console" (in PR OneKeyHQ#894)

Signed-off-by: taimanhui <taimanhui@protonmail.com>
taimanhui added a commit to taimanhui/electrum that referenced this pull request Oct 15, 2021
Fixes: 084af6b "Update console" (in PR OneKeyHQ#894)

Signed-off-by: taimanhui <taimanhui@protonmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants