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

Commit 28e1ce2

Browse files
committed
Add Duo push node
1 parent a365333 commit 28e1ce2

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

openbazaard.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,13 +391,13 @@ func (x *Init) Execute(args []string) error {
391391
}
392392

393393
func (x *Start) Execute(args []string) error {
394+
printSplashScreen()
395+
394396
err := core.CheckAndSetUlimit()
395397
if err != nil {
396398
return err
397399
}
398400

399-
printSplashScreen()
400-
401401
if x.Testnet && x.Regtest {
402402
return errors.New("Invalid combination of testnet and regtest modes")
403403
}

qa/smtp_notification.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ def run_test(self):
2020
alice = self.nodes[0]
2121
bob = self.nodes[1]
2222

23+
# post profile for alice
24+
with open('testdata/profile.json') as profile_file:
25+
profile_json = json.load(profile_file, object_pairs_hook=OrderedDict)
26+
api_url = alice["gateway_url"] + "ob/profile"
27+
requests.post(api_url, data=json.dumps(profile_json, indent=4))
28+
2329
# configure SMTP notifications
2430
time.sleep(4)
2531
api_url = alice["gateway_url"] + "ob/settings"

repo/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ var TestnetBootstrapAddresses = []string{
2222
var DataPushNodes = []string{
2323
"QmY8puEnVx66uEet64gAf4VZRo7oUyMCwG6KdB9KM92EGQ",
2424
"QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o",
25+
"QmPPegaeM4rXfQDF3uu784d93pLEzV8A4zXU7akEgYnTFd",
2526
}
2627

2728
type APIConfig struct {

repo/migrations/Migration002.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func (migration002) Up(repoPath string) error {
2727
pushNodes := []string{
2828
"QmY8puEnVx66uEet64gAf4VZRo7oUyMCwG6KdB9KM92EGQ",
2929
"QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o",
30+
"QmPPegaeM4rXfQDF3uu784d93pLEzV8A4zXU7akEgYnTFd",
3031
}
3132
cfg["DataSharing"] = map[string]interface{}{
3233
"AcceptStoreRequests": false,

0 commit comments

Comments
 (0)