[18:11:06] does statehash appear in the debug file? [18:12:00] if debug=dao it should be shown on the updatetip lines [18:12:12] okie dokie [18:13:12] working on some final tuning for the stop/start node part. should be done soon and then will move to network split [18:13:50] i tried the script but it was not advancing in blocks, Current block: x was showing always the same [18:14:02] but the logs showed there were new blocks created [18:14:10] i switched back to the old one as i still need to fix some issues [18:14:18] yeah, did you try it in master? [18:14:32] the new current block display will need to run with the DAO branch [18:14:44] where it gets the block cycle length and the calculate it [18:14:46] nope on dao_extension [18:14:55] oh, hmmmm [18:15:04] i'll take a look later. it worked before [18:15:08] oh oh [18:15:15] i think it's commented out [18:15:23] cuz i was testing with other stuff [18:15:46] i'll update it as soon as i'm done with tuning some final stuff [18:15:53] 👍 [18:27:35] im trying to find a way for bash to copy arrays properly where it copies the elements and their index locations. do you know of a way of doing so? [18:28:25] best to be 1 or 2 lines or can be put into an function [18:28:27] wait [18:28:34] i might have an idea [18:28:42] good to be thinking out loud [18:36:44] still not ideal, i have to use a function to do it instead of just a line or two function copy_array { declare -n array=$1 unset array_copied for i in ${!array[@]}; do array_copied[$i]=array[$i] done } [18:36:58] please let me know if anyone knows a better solution [18:38:47] arrayCopy=("${oldArray[@]}") [18:38:56] i've tried that and worked [18:39:03] that would eliminate the index though [18:39:36] say i have an array that have elements on index 0 1 3 4, after doing that, the copied array will flatten them and have 0 1 2 3 [18:40:51] ok then you might need to iterate [18:41:33] yeah...was hoping there is something out there that can just copy an array [19:33:20] i might have to use eval to make it work, is that command supported in osx? [19:33:41] yep [19:33:46] cool cool [20:21:55] https://gist.github.com/chasingkirkjufell/69c06d19c5afe7969692e83afd3322db [20:21:58] should be good [20:22:35] i commented out the proposal and conulstaion testings but they are in the stress function so you can do whatever [20:23:36] great, ill test soon. want to fix the last issues first. im on it now [20:39:50] Ah I forgot to un comment some stuff. Not that important. I'll do it now. It's just that stopping nodes doesn't always happen. [20:40:26] And I'll be afking for a couple of hours. Christmas shopping 😉 [20:42:50] Nvm it should be good as it is. Didn't have enough time to fully test it tho. [20:45:59] And probably best to adjust the stress time from 30 sec to something higher. It's just easier for me to test it.