Check-in [c754eba9a7]
Overview
Comment:Test generating a seed
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c754eba9a79831283e17a8ffe0598619aa03a0cc00cf0803a1c3f3e504efc431
User & Date: rkeene on 2018-09-15 16:09:36
Other Links: manifest | tags
Context
2018-09-19
21:44
Updated to support "pendingHashAmountAndAddress" in bulk_pull_account check-in: 6e80a1ada9 user: rkeene tags: trunk
2018-09-15
16:09
Test generating a seed check-in: c754eba9a7 user: rkeene tags: trunk
16:09
Enable support for code coverage reporting check-in: a504db632f user: rkeene tags: trunk
Changes

Modified test/test.tcl from [8e9b84f027] to [d944e8b307].

115
116
117
118
119
120
121



122
123
124
125
126
127
128
	if {$pubKey ne $pubKey_expected} {
		puts "\[3.FAIL\] Got: $pubKey"
		puts "\[3.FAIL\] Exp: $pubKey_expected"

		return false
	}




	return true
}

proc test_addressformat {} {
	set addr nano_35ynhw4qd1pam88azf86nk8ka5sthnzaubcw5fawingep1sjydwaiw8xy7t6
	set pub  8FD47F057582C8998C8FB4C4A48D240F3A7D3E8DA55C1B51C851CCB0331F2F88








>
>
>







115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
	if {$pubKey ne $pubKey_expected} {
		puts "\[3.FAIL\] Got: $pubKey"
		puts "\[3.FAIL\] Exp: $pubKey_expected"

		return false
	}

	# Generate a new seed
	set seed [::nano::key::newSeed]

	return true
}

proc test_addressformat {} {
	set addr nano_35ynhw4qd1pam88azf86nk8ka5sthnzaubcw5fawingep1sjydwaiw8xy7t6
	set pub  8FD47F057582C8998C8FB4C4A48D240F3A7D3E8DA55C1B51C851CCB0331F2F88