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

Wallet modules #353

Closed
wants to merge 15 commits into from
Closed

Wallet modules #353

wants to merge 15 commits into from

Conversation

jamesvan2019
Copy link
Collaborator

No description provided.

@@ -258,17 +258,15 @@ func (this *QitmeerRobot) SubmitWork() {
}
}
this.SubmitLock.Unlock()
if err != ErrLimitWork { // limit wait block connect
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there no need to add a frequency limit here?

return nil, err
}
return mtxHex, nil
return api.txManager.CreateRawTransactionV2(inputs, aa, lockTime)
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't get the idea why we has to move the api logic into the txManager ?

node/full.go Outdated
@@ -146,6 +149,16 @@ func (qm *QitmeerFull) RegisterAccountService(cfg *config.Config) error {
return nil
}

func (qm *QitmeerFull) RegisterWalletService(cfg *config.Config, conf node.Config, _am *acct.AccountManager, _tm *tx.TxManager) error {
Copy link
Contributor

@dindinw dindinw Mar 22, 2023

Choose a reason for hiding this comment

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

should not introduce the depend on github.com/ethereum/go-ethereum/node here by using the node.Config
you might have to refactor the wallet.New API and it may be better to use the go-ethereum internally.

@dindinw dindinw mentioned this pull request May 30, 2023
37 tasks
@dindinw dindinw added this to the 1.0.22 milestone May 30, 2023
@frankcrypto2023
Copy link
Collaborator

move #522 #522

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.

None yet

5 participants